dart-archive / pub-dartlang

DEPRECATED - old pub.dartlang.org site in Python
https://github.com/dart-lang/pub-dartlang-dart
Other
43 stars 18 forks source link

strange 404 from Pub dev server #332

Closed DartBot closed 9 years ago

DartBot commented 9 years ago

Issue by jmesserly Originally opened as dart-lang/sdk#14846


it seems to fail somewhat randomly...

server side:

INFO 2013-11-05 23:40:10,408 module.py:608] default: "POST /api/packages/versions/upload HTTP/1.1" 404 513

client:

Looks great! Are you ready to upload your package (y/n)? y Uploading...Error in PubHttpClient.send (issue dart-lang/sdk#1) error: HTTP error 404: Not Found     stacktrace: #­0 PubHttpClient.send (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/sdk/lib/_internal/pub/lib/src/http.dart:60)

­1 Client.send.<anonymous closure> (package:oauth2/src/client.dart:90)

­2 _Future._propagateToListeners.<anonymous closure> (dart:async/future_impl.dart:453)

­3 _rootRun (dart:async/zone.dart:683)

­4 _RootZone.run (dart:async/zone.dart:823)

­5 _Future._propagateToListeners (dart:async/future_impl.dart:445)

­6 _Future._complete (dart:async/future_impl.dart:303)

­7 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:354)

­8 _asyncRunCallback (dart:async/schedule_microtask.dart:18)

­9 _createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:11)

­10 _Timer._createTimerHandler._handleTimeout (timer_impl.dart:151)

­11 _Timer._createTimerHandler.<anonymous closure> (timer_impl.dart:166)

­12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:93)

Failed to upload the package. ../../../mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart 86 _publish.<fn> dart:async _createTimer.<fn> timer_impl.dart 151 _Timer._createTimerHandler._handleTimeout timer_impl.dart 166 _Timer._createTimerHandler.<fn> dart:isolate _RawReceivePortImpl._handleMessage

---- Log transcript ---- FINE: Using DART_SDK to find SDK at /usr/local/google/home/jmesserly/Applications/dart/dart-sdk FINE: Pub 0.8.10+4.r29892 IO : Spawning git --version IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib:     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_process.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/src     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_server.dart     | /tmp/tmp47imz2/scheduled_test/lib/descriptor.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test. FINE: Listed directory /tmp/tmp47imz2/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/test     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/lib IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor:     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/nothing_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/pattern_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/async_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/directory_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/file_descriptor.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server:     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/handler.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/safe_http_server.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src:     | /tmp/tmp47imz2/scheduled_test/lib/src/value_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_future_matchers.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule_error.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/future_group.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/task.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor     | /tmp/tmp47imz2/scheduled_test/lib/src/substitute_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server     | /tmp/tmp47imz2/scheduled_test/lib/src/utils.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/mock_clock.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib:     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_process.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/src     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_server.dart     | /tmp/tmp47imz2/scheduled_test/lib/descriptor.dart FINE: Got server http://localhost:8080/ from PUB_HOSTED_URL. FINE: Got server http://localhost:8080/ from PUB_HOSTED_URL. FINE: Got server http://localhost:8080/ from PUB_HOSTED_URL. FINE: Got server http://localhost:8080/ from PUB_HOSTED_URL. IO : Listing directory /tmp/tmp47imz2/scheduled_test. FINE: Listed directory /tmp/tmp47imz2/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/test     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/lib IO : Listing directory /tmp/tmp47imz2/scheduled_test. IO : Listing directory /tmp/tmp47imz2/scheduled_test/test. IO : Listing directory /tmp/tmp47imz2/scheduled_test/test/scheduled_test. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_state_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/signal_error_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/out_of_band_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/timeout_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/nested_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_current_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/task_return_value_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_complete_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/abort_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/set_up_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/simple_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_exception_test.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/test/descriptor. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test/descriptor:     | /tmp/tmp47imz2/scheduled_test/test/descriptor/directory_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/file_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/nothing_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/pattern_test.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test:     | /tmp/tmp47imz2/scheduled_test/test/metatest.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_future_matchers_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_server_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test     | /tmp/tmp47imz2/scheduled_test/test/descriptor     | /tmp/tmp47imz2/scheduled_test/test/value_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/substitute_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_process_test.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor:     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/nothing_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/pattern_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/async_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/directory_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/file_descriptor.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server:     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/handler.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/safe_http_server.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src:     | /tmp/tmp47imz2/scheduled_test/lib/src/value_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_future_matchers.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule_error.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/future_group.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/task.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor     | /tmp/tmp47imz2/scheduled_test/lib/src/substitute_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server     | /tmp/tmp47imz2/scheduled_test/lib/src/utils.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/mock_clock.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib:     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_process.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/src     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_server.dart     | /tmp/tmp47imz2/scheduled_test/lib/descriptor.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/test     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/lib IO : Listing directory /tmp/tmp47imz2/scheduled_test. FINE: Listed directory /tmp/tmp47imz2/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/test     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/lib IO : Finished git. Exit code 0.stdout:git version 1.8.4.1Nothing output on stderr. FINE: Determined git command git. IO : Listing directory /tmp/tmp47imz2/scheduled_test. IO : Listing directory /tmp/tmp47imz2/scheduled_test/test. IO : Listing directory /tmp/tmp47imz2/scheduled_test/test/scheduled_test. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_state_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/signal_error_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/out_of_band_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/timeout_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/nested_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_current_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/task_return_value_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_complete_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/abort_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/set_up_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/simple_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_exception_test.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/test/descriptor. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test/descriptor:     | /tmp/tmp47imz2/scheduled_test/test/descriptor/directory_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/file_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/nothing_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/pattern_test.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/test:     | /tmp/tmp47imz2/scheduled_test/test/metatest.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_future_matchers_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_server_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test     | /tmp/tmp47imz2/scheduled_test/test/descriptor     | /tmp/tmp47imz2/scheduled_test/test/value_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/substitute_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_process_test.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src. IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/descriptor:     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/nothing_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/pattern_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/async_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/directory_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/file_descriptor.dart IO : Listing directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server. FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server:     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/handler.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/safe_http_server.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib/src:     | /tmp/tmp47imz2/scheduled_test/lib/src/value_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_future_matchers.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule_error.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/future_group.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/task.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor     | /tmp/tmp47imz2/scheduled_test/lib/src/substitute_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server     | /tmp/tmp47imz2/scheduled_test/lib/src/utils.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/mock_clock.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test/lib:     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_process.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/src     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_server.dart     | /tmp/tmp47imz2/scheduled_test/lib/descriptor.dart FINE: Listed directory /tmp/tmp47imz2/scheduled_test:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/test     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/lib FINE: Archiving and publishing scheduled_test 0.9.0 (/tmp/tmp47imz2/scheduled_test). MSG : Publishing "scheduled_test" 0.9.0 to http://localhost:8080/:     | |-- LICENSE     | |-- lib     | | |-- descriptor.dart     | | |-- scheduled_process.dart     | | |-- scheduled_server.dart     | | |-- scheduled_test.dart     | | '-- src     | | |-- descriptor     | | | |-- async_descriptor.dart     | | | |-- descriptor.dart     | | | |-- directory_descriptor.dart     | | | |-- file_descriptor.dart     | | | |-- nothing_descriptor.dart     | | | '-- pattern_descriptor.dart     | | |-- future_group.dart     | | |-- mock_clock.dart     | | | (5 more...)     | | |-- task.dart     | | |-- utils.dart     | | '-- value_future.dart     | |-- pubspec.yaml     | '-- test     | |-- descriptor     | | |-- async_test.dart     | | |-- directory_test.dart     | | |-- file_test.dart     | | |-- nothing_test.dart     | | |-- pattern_test.dart     | | '-- utils.dart     | |-- metatest.dart     | |-- scheduled_future_matchers_test.dart     | |-- scheduled_process_test.dart     | |-- scheduled_server_test.dart     | |-- scheduled_test     | | |-- abort_test.dart     | | |-- current_schedule_current_task_test.dart     | | |-- current_schedule_errors_test.dart     | | | (9 more...)     | | |-- timeout_test.dart     | | |-- wrap_async_test.dart     | | '-- wrap_future_test.dart     | |-- substitute_future_test.dart     | |-- utils.dart     | '-- value_future_test.dart     | FINE: Creating .tag.gz stream containing:     | /tmp/tmp47imz2/scheduled_test/pubspec.yaml     | /tmp/tmp47imz2/scheduled_test/LICENSE     | /tmp/tmp47imz2/scheduled_test/test/metatest.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_future_matchers_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_server_test.dart     | /tmp/tmp47imz2/scheduled_test/test/value_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/substitute_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_process_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_state_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/signal_error_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/out_of_band_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/timeout_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/nested_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_errors_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/current_schedule_current_task_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/task_return_value_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_complete_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/abort_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/set_up_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/wrap_future_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/simple_test.dart     | /tmp/tmp47imz2/scheduled_test/test/scheduled_test/on_exception_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/directory_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/async_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/file_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/utils.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/nothing_test.dart     | /tmp/tmp47imz2/scheduled_test/test/descriptor/pattern_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_process.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_test.dart     | /tmp/tmp47imz2/scheduled_test/lib/scheduled_server.dart     | /tmp/tmp47imz2/scheduled_test/lib/descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/value_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_future_matchers.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule_error.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/future_group.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/task.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/substitute_future.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/schedule.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/utils.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/mock_clock.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/nothing_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/pattern_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/async_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/directory_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/descriptor/file_descriptor.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/handler.dart     | /tmp/tmp47imz2/scheduled_test/lib/src/scheduled_server/safe_http_server.dart     | IO : Spawning tar --create --gzip --directory /tmp/tmp47imz2/scheduled_test pubspec.yaml LICENSE test/metatest.dart test/scheduled_future_matchers_test.dart test/scheduled_server_test.dart test/value_future_test.dart test/substitute_future_test.dart test/utils.dart test/scheduled_process_test.dart test/scheduled_test/current_schedule_state_test.dart test/scheduled_test/signal_error_test.dart test/scheduled_test/out_of_band_task_test.dart test/scheduled_test/timeout_test.dart test/scheduled_test/nested_task_test.dart test/scheduled_test/current_schedule_errors_test.dart test/scheduled_test/current_schedule_current_task_test.dart test/scheduled_test/wrap_async_test.dart test/scheduled_test/task_return_value_test.dart test/scheduled_test/on_complete_test.dart test/scheduled_test/abort_test.dart test/scheduled_test/set_up_test.dart test/scheduled_test/wrap_future_test.dart test/scheduled_test/simple_test.dart test/scheduled_test/on_exception_test.dart test/descriptor/directory_test.dart test/descriptor/async_test.dart test/descriptor/file_test.dart test/descriptor/utils.dart test/descriptor/nothing_test.dart test/descriptor/pattern_test.dart lib/scheduled_process.dart lib/scheduled_test.dart lib/scheduled_server.dart lib/descriptor.dart lib/src/value_future.dart lib/src/scheduled_future_matchers.dart lib/src/schedule_error.dart lib/src/future_group.dart lib/src/task.dart lib/src/substitute_future.dart lib/src/schedule.dart lib/src/utils.dart lib/src/mock_clock.dart lib/src/descriptor/nothing_descriptor.dart lib/src/descriptor/pattern_descriptor.dart lib/src/descriptor/async_descriptor.dart lib/src/descriptor/directory_descriptor.dart lib/src/descriptor/descriptor.dart lib/src/descriptor/file_descriptor.dart lib/src/scheduled_server/handler.dart lib/src/scheduled_server/safe_http_server.dart FINE: Showing confirm message: Looks great! Are you ready to upload your package FINE: Loading OAuth2 credentials. FINE: Using DART_SDK to find SDK at /usr/local/google/home/jmesserly/Applications/dart/dart-sdk FINE: Saving OAuth2 credentials. FINE: Ensuring directory /usr/local/google/home/jmesserly/.pub-cache exists. IO : Writing 284 characters to text file /usr/local/google/home/jmesserly/.pub-cache/credentials.json. FINE: HTTP GET http://localhost:8080/api/packages/versions/new     | Accept: application/vnd.pub.v2+json     | authorization: <censored> FINE: HTTP response 200 OK for GET http://localhost:8080/api/packages/versions/new     | took 0:00:00.074874     | content-type: application/json     | cache-control: no-cache     | expires: Fri, 01 Jan 1990 00:00:00 GMT     | content-length: 820     | server: Development/2.0     | date: Tue, 05 Nov 2013 23:43:36 GMT FINE: HTTP POST http://localhost:8080/api/packages/versions/upload     | authorization: <censored>     |     | Body fields:     | success_action_redirect: http://localhost:8080/api/packages/versions/0096ec1d-5465-4d13-a608-818c753be4e9/create     | key: pub.dartlang.org/tmp/0096ec1d-5465-4d13-a608-818c753be4e9     | GoogleAccessId: 818368855108@developer.gserviceaccount.com     | acl: project-private     | policy: eyJleHBpcmF0aW9uIjogIjIwMTMtMTEtMDVUMjM6NTM6MzZaIiwgImNvbmRpdGlvbnMiOiBbeyJrZXkiOiAicHViLmRhcnRsYW5nLm9yZy90bXAvMDA5NmVjMWQtNTQ2NS00ZDEzLWE2MDgtODE4Yzc1M2JlNGU5In0sIHsiYWNsIjogInByb2plY3QtcHJpdmF0ZSJ9LCB7InN1Y2Nlc3NfYWN0aW9uX3JlZGlyZWN0IjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC9hcGkvcGFja2FnZXMvdmVyc2lvbnMvMDA5NmVjMWQtNTQ2NS00ZDEzLWE2MDgtODE4Yzc1M2JlNGU5L2NyZWF0ZSJ9LCBbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwgMCwgMTA0ODU3NjBdXX0=     | signature: IKxsHdrHSMd706+WjLxOYA== FINE: HTTP response 404 Not Found for POST http://localhost:8080/api/packages/versions/upload     | took 0:00:00.030910     | content-type: application/json     | www-authenticate: Bearer     | cache-control: no-cache     | expires: Fri, 01 Jan 1990 00:00:00 GMT     | content-length: 513     | server: Development/2.0     | date: Tue, 05 Nov 2013 23:43:36 GMT MSG : Uploading... FINE: Saving OAuth2 credentials. FINE: Ensuring directory /usr/local/google/home/jmesserly/.pub-cache exists. IO : Writing 284 characters to text file /usr/local/google/home/jmesserly/.pub-cache/credentials.json. FINE: Clean up system cache temp directory /usr/local/google/home/jmesserly/.pub-cache/_temp. ERR : Failed to upload the package. ERR : ../../../mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart 86 _publish.<fn>     | dart:async _createTimer.<fn>     | timer_impl.dart 151 _Timer._createTimerHandler._handleTimeout     | timer_impl.dart 166 _Timer._createTimerHandler.<fn>     | dart:isolate _RawReceivePortImpl._handleMessage     |

---- End log transcript ----

DartBot commented 9 years ago

Comment by munificent


Is this intermittent or consistent?

DartBot commented 9 years ago

Comment by jmesserly


It's consistently intermittent! ;-)

in other words: very easy to reproduce with the dev server, but it doesn't fail 100% of the time. It starts out okay and seems to get worse. If you're using a script that repeatedly calls "pub lish" for different packages (such as publish_all_pkgs.py), the first few will succeed and at some point the uploads start failing. Then if you go to the command line and try to fix individual packages, it can sometimes take 5 or more tries. Overall it's quite strange.

DartBot commented 9 years ago

Comment by munificent


I'm bouncing this to Area-PubSite which is where I've bucketed the pub.dartlang.org bugs because I think this is an issue with the server and not pub itself.


Removed Area-Pub label. Added Area-PubSite label.

DartBot commented 9 years ago

Comment by nicolasgarnier


This issue has been moved to Github as part of a migration. Please use the Issue on Github going forward: https://github.com/dart-lang/pub-dartlang/issues


Added MovedToGithub label.