{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/28734","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/28734/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/28734/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/28734/events","html_url":"https://github.com/dart-lang/sdk/issues/28734","id":206783128,"number":28734,"title":"`pub get` timeout on pkg builders","user":{"login":"mkustermann","id":5757092,"avatar_url":"https://avatars.githubusercontent.com/u/5757092?v=3","gravatar_id":"","url":"https://api.github.com/users/mkustermann","html_url":"https://github.com/mkustermann","followers_url":"https://api.github.com/users/mkustermann/followers","following_url":"https://api.github.com/users/mkustermann/following{/other_user}","gists_url":"https://api.github.com/users/mkustermann/gists{/gist_id}","starred_url":"https://api.github.com/users/mkustermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkustermann/subscriptions","organizations_url":"https://api.github.com/users/mkustermann/orgs","repos_url":"https://api.github.com/users/mkustermann/repos","events_url":"https://api.github.com/users/mkustermann/events{/privacy}","received_events_url":"https://api.github.com/users/mkustermann/received_events","type":"User","site_admin":false},"labels":[{"id":512342379,"url":"https://api.github.com/repos/dart-lang/sdk/labels/gardening","name":"gardening","color":"E91E63","default":false}],"state":"open","locked":false,"assignee":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"assignees":[{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-10T12:21:27Z","updated_at":"2017-02-10T20:30:56Z","closed_at":null,"body":"On the pkg builders it happened a few times that tests timed out when running `pub get` (see [here](build.chromium.org/p/client.dart/builders/pkg-mac10.11-release-be/builds/2709/steps/pub%20get%20dependencies/logs/stdio) and [here](https://build.chromium.org/p/client.dart/builders/pkg-mac10.11-release-be/builds/2697/steps/pub%20get%20dependencies/logs/stdio)):\r\n\r\n```\r\nFAILED: none-vm-checked release_x64 pkgbuild/third_party/pkg/shelf_web_socket\r\nExpected: Pass \r\nActual: Timeout\r\nCommandOutput[dir_copy]:\r\ndiagnostics: \r\nCommandOutput[pub_get]:\r\ndiagnostics: \r\n    Analysis of sampling dart (pid 95751) every 4000 milliseconds\r\n    Process:         dart [95751]\r\n    Path:            /b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/dart-sdk/bin/dart\r\n    Load Address:    0x108120000\r\n    Identifier:      dart\r\n    Version:         0\r\n    Code Type:       X86-64\r\n    Parent Process:  dart [93925]\r\n    \r\n    Date/Time:       2017-02-09 14:36:25.349 -0800\r\n    Launch Time:     2017-02-09 14:35:25.214 -0800\r\n    OS Version:      Mac OS X 10.11.4 (15E65)\r\n    Report Version:  7\r\n    Analysis Tool:   /usr/bin/sample\r\n    ----\r\n    \r\n    Call graph:\r\n        1 Thread_96905257   DispatchQueue_1: com.apple.main-thread  (serial)\r\n        + 1 start  (in libdyld.dylib) + 1  [0x7fff8cfd05ad]\r\n        +   1 main  (in dart) + 9  [0x108123679]\r\n        +     1 dart::bin::main(int, char**)  (in dart) + 1519  [0x108122c8f]\r\n        +       1 dart::bin::RunMainIsolate(char const*, dart::bin::CommandLineOptions*)  (in dart) + 1539  [0x1081216f3]\r\n        +         1 Dart_RunLoop  (in dart) + 490  [0x10815987a]\r\n        +           1 dart::Monitor::WaitMicros(long long)  (in dart) + 159  [0x108445b1f]\r\n        +             1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 767  [0x7fff97975728]\r\n        +               1 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fffa14fddb6]\r\n        1 Thread_96905260\r\n        + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff97972351]\r\n        +   1 _pthread_start  (in libsystem_pthread.dylib) + 168  [0x7fff9797491a]\r\n        +     1 _pthread_body  (in libsystem_pthread.dylib) + 131  [0x7fff9797499d]\r\n        +       1 ???  (in dart)  load address 0x108120000 + 0x22c3e  [0x108142c3e]\r\n        +         1 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)  (in dart) + 280  [0x108126478]\r\n        +           1 kevent  (in libsystem_kernel.dylib) + 10  [0x7fffa14feeca]\r\n        1 Thread_96905261\r\n        + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff97972351]\r\n        +   1 _pthread_start  (in libsystem_pthread.dylib) + 168  [0x7fff9797491a]\r\n        +     1 _pthread_body  (in libsystem_pthread.dylib) + 131  [0x7fff9797499d]\r\n        +       1 ???  (in dart)  load address 0x108120000 + 0x324e07  [0x108444e07]\r\n        +         1 dart::ThreadInterrupter::ThreadMain(unsigned long)  (in dart) + 399  [0x10857da5f]\r\n        +           1 dart::Monitor::WaitMicros(long long)  (in dart) + 159  [0x108445b1f]\r\n        +             1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 767  [0x7fff97975728]\r\n        +               1 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fffa14fddb6]\r\n        1 Thread_96905264\r\n        + 1 thread_start  (in libsystem_pthread.dylib) + 13  [0x7fff97972351]\r\n        +   1 _pthread_start  (in libsystem_pthread.dylib) + 168  [0x7fff9797491a]\r\n        +     1 _pthread_body  (in libsystem_pthread.dylib) + 131  [0x7fff9797499d]\r\n        +       1 ???  (in dart)  load address 0x108120000 + 0x324e07  [0x108444e07]\r\n        +         1 dart::ThreadPool::Worker::Main(unsigned long)  (in dart) + 108  [0x10857e8bc]\r\n        +           1 dart::ThreadPool::Worker::Loop()  (in dart) + 61  [0x10857e9ed]\r\n        +             1 dart::BackgroundCompiler::Run()  (in dart) + 1034  [0x10827c2ea]\r\n        +               1 dart::Monitor::WaitMicros(long long)  (in dart) + 159  [0x108445b1f]\r\n        +                 1 _pthread_cond_wait  (in libsystem_pthread.dylib) + 767  [0x7fff97975728]\r\n        +                   1 __psynch_cvwait  (in libsystem_kernel.dylib) + 10  [0x7fffa14fddb6]\r\n        1 Thread_96905285   DispatchQueue_2: com.apple.libdispatch-manager  (serial)\r\n          1 _dispatch_mgr_thread  (in libdispatch.dylib) + 52  [0x7fff97982dcd]\r\n            1 _dispatch_mgr_invoke  (in libdispatch.dylib) + 216  [0x7fff97983165]\r\n              1 kevent_qos  (in libsystem_kernel.dylib) + 10  [0x7fffa14feefa]\r\n    \r\n    Total number in stack (recursive counted multiple, when >=5):\r\n    \r\n    Sort by top of stack, same collapsed (when >= 5):\r\n    \r\n    Binary Images:\r\n           0x108120000 -        0x108865fff +dart (0) <38D5F446-E599-334A-BE4D-8EF74CCC6F29> /b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/dart-sdk/bin/dart\r\n            ...\r\n    \r\n    \r\n    Sampling process 95751 for 1 seconds with 4000 milliseconds of run time between samples\r\n    2017-02-09 14:36:26.157 sample[97102:96907632] Metadata.framework [Error]: couldn't get the client port\r\n    Sampling completed, processing symbols...\r\n    Sample analysis of process 95751 written to file /tmp/dart_2017-02-09_143625_yRg2.sample.txt\r\n    \r\n\r\nstdout:\r\nResolving dependencies...\r\n\r\n\r\nCommand[dir_copy]: Copying '/b/build/slave/pmr-be/build/sdk/third_party/pkg/shelf_web_socket' to '/b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/generated_pub_package_builds/public_packages/third_party_pkg_shelf_web_socket'.\r\nTook 0:00:00.023477\r\n\r\nCommand[pub_get]: PUB_CACHE=/b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/generated_pub_package_builds/public_packages/third_party_pkg_shelf_web_socket/pub-cache /b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/dart-sdk/bin/pub get (working directory: /b/build/slave/pmr-be/build/sdk/xcodebuild/ReleaseX64/generated_pub_package_builds/public_packages/third_party_pkg_shelf_web_socket)\r\nTook 0:01:06.418039\r\n\r\nShort reproduction command (experimental):\r\n    python tools/test.py -mrelease --checked -t60 --use-sdk pkgbuild/third_party/pkg/shelf_web_socket\r\n```\r\n\r\n\r\nFrom the fact that the only thing which was printed on `stdout` is\r\n```\r\nResolving dependencies...\r\n```\r\n\r\nI suspect that `pub get` hasn't finished yet. Normally these tests finish easily within 20 seconds, so it's unclear why this happens.\r\n\r\n@nex3 Maybe you have an idea?\r\n\r\nI'll see if I can change the buildbot to run pub in verbose mode."},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/279057880","html_url":"https://github.com/dart-lang/sdk/issues/28734#issuecomment-279057880","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/28734","id":279057880,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T20:30:56Z","updated_at":"2017-02-10T20:30:56Z","body":"My best guess here is that this is caused by networking slowdowns. `pub get` makes a lot of network requests and it's not too surprising that some of those are occasionally pretty slow. Assuming we want to continue running tests against the live `pub.dartlang.org`, the solution here may be to just increase the timeout."}}
{"actor":{"display_login":"nex3"}}