Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docgen\test\only_lib_content_in_pkg_test - due to packageRoot issues? #17597

Closed
kevmoo opened this issue Mar 18, 2014 · 5 comments
Closed

docgen\test\only_lib_content_in_pkg_test - due to packageRoot issues? #17597

kevmoo opened this issue Mar 18, 2014 · 5 comments
Assignees
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@kevmoo
Copy link
Member

kevmoo commented Mar 18, 2014

See

http://build.chromium.org/p/client.dart/builders/pub-win-be/builds/4483/steps/annotated_steps/logs/stdio

Running "vm" command: build\ReleaseIA32\dart-sdk\bin\dart.exe --ignore-unrecognized-flags --enable_asserts --enable_type_checks --package-root=build/ReleaseIA32/packages/ E:\b\build\slave\pub-win-be\build\dart\pkg\scheduled_test\test\scheduled_test\current_schedule_current_task_test.dart

FAILED: none-vm-checked release_ia32 pkg/docgen/test/only_lib_content_in_pkg_test
Expected: Pass
Actual: Fail
CommandOutput[vm]:

stdout:
unittest-suite-wait-for-done
E:\b\build\slave\pub-win-be\build\dart\pkg\docgen
Package Root:
Added to libraries: E:\b\build\slave\pub-win-be\build\dart\pkg\docgen/lib\docgen.dart
SDK Root: E:\b\build\slave\pub-win-be\build\dart\sdk
pkg/docgen/lib/docgen.dart:20:8:
Error: Can't read 'package:logging/logging.dart' (Error reading 'logging/logging.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:logging/logging.dart';
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/docgen.dart:21:8:
Error: Can't read 'package:markdown/markdown.dart' (Error reading 'markdown/markdown.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:markdown/markdown.dart' as markdown;
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/docgen.dart:22:8:
Error: Can't read 'package:path/path.dart' (Error reading 'path/path.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:path/path.dart' as path;
       ^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/docgen.dart:23:8:
Error: Can't read 'package:yaml/yaml.dart' (Error reading 'yaml/yaml.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:yaml/yaml.dart';
       ^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/src/io.dart:13:8:
Error: Can't read 'package:path/path.dart' (Error reading 'path/path.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:path/path.dart' as path;
       ^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/src/mdn.dart:10:8:
Error: Can't read 'package:logging/logging.dart' (Error reading 'logging/logging.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:logging/logging.dart';
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pkg/docgen/lib/src/mdn.dart:11:8:
Error: Can't read 'package:path/path.dart' (Error reading 'path/path.dart' (OS Error: The system cannot find the path specified.

, errno = 3)).
import 'package:path/path.dart' as p;
       ^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to create mirror system.

Command[vm]: build\ReleaseIA32\dart-sdk\bin\dart.exe --ignore-unrecognized-flags --enable_asserts --enable_type_checks --package-root=build/ReleaseIA32/packages/ E:\b\build\slave\pub-win-be\build\dart\pkg\docgen\test\only_lib_content_in_pkg_test.dart
Took 0:00:15.039000

Short reproduction command (experimental):
    python tools/test.py -mrelease --use-sdk --checked --write-test-outcome-log -t60 pkg/docgen/test/only_lib_content_in_pkg_test

@alan-knight
Copy link
Contributor

This looks like the mirror system creation isn't given the package-root. You need two, one for the VM so it knows where the packages are, and one that is used in the code when creating the mirror system.

@kevmoo
Copy link
Member Author

kevmoo commented Mar 22, 2014

Changed the title to: "docgen\test\only_lib_content_in_pkg_test - due to packageRoot issues?".

@kevmoo
Copy link
Member Author

kevmoo commented Mar 22, 2014

Trying a weekend TBR - r34287


Added Started label.

@kevmoo
Copy link
Member Author

kevmoo commented Mar 23, 2014

Fixed r34287


Added Fixed label.

@kevmoo
Copy link
Member Author

kevmoo commented Apr 7, 2014

Removed Pkg-DartDoc label.
Added Pkg-DocGen label.

@kevmoo kevmoo added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. labels Apr 7, 2014
@kevmoo kevmoo self-assigned this Apr 7, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

2 participants