dart-lang / pub

The pub command line tool
https://dart.dev/tools/pub/cmd
BSD 3-Clause "New" or "Revised" License
1.04k stars 224 forks source link

flutter pub upgrade randomly results in: Rename failed, path = '~/.pub-cache/_temp/dirBVDEOH' (OS Error: File exists, errno = 17) #4285

Open mrcsh opened 3 months ago

mrcsh commented 3 months ago

Flutter devs kicked this to y'all. (For reference... https://github.com/flutter/flutter/issues/148650)

Environment

Problem

But I have script that goes through all my flutter projects and does a flutter pub upgrade. After installing flutter 3.22 it randomly fails every so often with

Rename failed, path = '/home/csh/.pub-cache/_temp/dirBVDEOH' (OS Error: File exists, errno = 17)

The random filename is different each time of course. It may happen more frequently if there are actually a lot of packages updated. If I can notice any clear patterns I will update. I have only seen this on Linux, but I do most of my development on Linux.

Expected behavior

no update failures

Actual behavior

one random project randomly terminates the upgrade sequence.

--trace output

I don't think there is much relevant output besides the error but the next time it happens I can hopefully remember capture the output.

sigurdm commented 3 months ago

I don't think there is much relevant output besides the error but the next time it happens I can hopefully remember capture the output.

I wonder what goes on here. Is pub stepping on its own feet?

It would be wonderful to see the stack trace.

@jonasfj FYI.

jonasfj commented 3 months ago

Are you updating all projects concurrently?

@sigurdm are we ever deleting the PUB_CACHE/_temp/ directory by chance? :rofl:

jonasfj commented 3 months ago

Reading the error:

Rename failed, path = '/home/csh/.pub-cache/_temp/dirBVDEOH' (OS Error: File exists, errno = 17)

Maybe, moving the temp folder into the right location caused an error, because a different process already created the target. Maybe we don't handle that gracefully.

mrcsh commented 3 months ago

Are you updating all projects concurrently?

No, I wish I could but they are all done sequentially.

sigurdm commented 3 months ago

No, I wish I could but they are all done sequentially.

Oh - that is curious. Then the proposed fix in https://github.com/dart-lang/pub/pull/4286 might not be helping much.

A single pub process is doing all operations on a single thread, and should not be able to end up in a situation where it tries to rename the directory on top of an existing.

How reliably are you able to reproduce this?

Would you mind trying to reproduce where you first do dart pub global activate -sgit --git-ref=handle_eexist https://github.com/sigurdm/pub

And then replace flutter upgrade with dart pub global run pub upgrade to see if things are any different

mrcsh commented 3 months ago

Unfortunately, it's been pretty sporadic, but I can certainly change the script. Does the ... global activate ... command need to be done just once?

sigurdm commented 3 months ago

Does the ... global activate ... command need to be done just once?

yes.

mrcsh commented 3 months ago

One additional bit of info, that I don't think should matter is my ~/.pub-cache is a symlink . (to an nvme drive for performance)

sigurdm commented 3 months ago

Yeah - not sure. But that might have to do with the different error message we see (17 instead of 39) perhaps it is file-system dependent.

Still if there's only one pub process running at the time, there should never be a collision.

sigurdm commented 3 months ago

Reopening

I think handling EEXIST error 17 is correct

But there might still be something else wrong here...

lukas-tide commented 3 months ago

https://github.com/invertase/melos/issues/614 We are experiencing the same issue and it is very consistently failing with OS Error: File exists, errno = 17

Interestingly it only fails on self hosted github runner, but the same image runs well locally. Is there any additional details I could provide to make the investigation easier?

sigurdm commented 3 months ago

Is there any additional details I could provide to make the investigation easier?

If you could run with --verbose and attach the output that might show something.

Also if you could try out the patch doing: dart pub global activate -sgit https://github.com/dart-lang/pub and dart pub global run pub upgrade instead of upgrade, and see if it reproduces.

sigurdm commented 3 months ago

@lukas-tide also, are you running multiple pub get in parallel?

lukas-tide commented 3 months ago

Yes if we are setting -c 1 on melos which limits to one thread - we are not seeing this issue.

--verbose output is massive >500mb. Is there anything specific I should look into or share?

jonasfj commented 3 months ago

--verbose output is massive >500mb. Is there anything specific I should look into or share?

Wait, what is going one? Are we accidentally logging the contents of all the files we're writing :see_no_evil:

500mb seems pretty wild :rofl:

If there is nothing secret in there, feel free to share a highly compressed tarball. I'd guess that .tar.xz (or just gzip) will eat 80-90%, though a 50-70mb log is still HUGE.

I'd be curious to how it managed to get that large. Though it's probably not the end of the world, I mean 500mb is easy to grep :D

sigurdm commented 2 months ago

Wait, what is going one? Are we accidentally logging the contents of all the files we're writing 🙈

We are logging pubspec.lock and .dart_tool/paackage_config.json

We are not logging the extracted files from package .tar.gz archives: https://github.com/dart-lang/pub/blob/d165b5faad5551097b02f7de1fdfc46c159bfb8c/lib/src/io.dart#L289

500mb sounds crazy, but yes - please let us see them if possible. There might be some logging bugs to discover here.

lukas-tide commented 2 months ago

I am afraid I will not be able to share full logs as they might contain some private data and reviewing 500mb is not an option.

I have tried extracting subset which might be helpful

2024-06-06T09:06:08.2847639Z ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirXHMAJE/LICENSE from stream.
2024-06-06T09:06:08.2847657Z 
2024-06-06T09:06:08.2849172Z ERROR: [account_fnd]: FINE: Created /tmp/pub_HMVKZO/leak_tracker_testing-2.0.1.tar.gz from stream.
2024-06-06T09:06:08.2849197Z 
2024-06-06T09:06:08.2849203Z 
2024-06-06T09:06:08.2849901Z ERROR: ERROR: [account_fnd]: IO  : Created temp directory /home/runner/.pub-cache/_temp/dirGFFYUE
2024-06-06T09:06:08.2862293Z [account_fnd]: IO  : Reading binary file /tmp/pub_HMVKZO/leak_tracker_testing-2.0.1.tar.gz.
2024-06-06T09:06:08.2862314Z 
2024-06-06T09:06:08.2862320Z 
2024-06-06T09:06:08.2864181Z ERROR: ERROR: [account_closure]: FINE: Created /home/runner/.pub-cache/_temp/dirQXWACD/lib/src/types/platform_webview_controller_creation_params.dart from stream.
2024-06-06T09:06:08.2865615Z [account_closure]: IO  : Creating /home/runner/.pub-cache/_temp/dirQXWACD/lib/src/types/url_change.dart from stream.
--
2024-06-06T09:06:08.2865846Z ERROR: ERROR: [account_fnd]: 
2024-06-06T09:06:08.2865853Z 
2024-06-06T09:06:08.2865859Z 
2024-06-06T09:06:08.2866109Z ERROR: ERROR: [accession_marketing_shared]: FINE: 
2024-06-06T09:06:08.2869893Z 
2024-06-06T09:06:08.2870871Z ERROR: [account_fnd]: FINE: Extracting .tar.gz stream to /home/runner/.pub-cache/_temp/dirGFFYUE.
2024-06-06T09:06:08.2870883Z 
2024-06-06T09:06:08.2870889Z 
2024-06-06T09:06:08.2871067Z ERROR: ERROR: [account_fnd]: IO  : 
2024-06-06T09:06:08.2871090Z 
2024-06-06T09:06:08.2872493Z ERROR: [accession_marketing_shared]: Created /home/runner/.pub-cache/_temp/dirQXJTGE/test/tests/leak_tracking/platform_test.dart from stream.
--
2024-06-06T09:06:08.3135686Z 
2024-06-06T09:06:08.3135692Z 
2024-06-06T09:06:08.3136576Z ERROR: ERROR: [account_closure]: FINE: Created /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/rpc_client.dart from stream.
2024-06-06T09:06:08.3136583Z 
2024-06-06T09:06:08.3136594Z 
2024-06-06T09:06:08.3137390Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/analysis_options.yaml from stream.
2024-06-06T09:06:08.3137413Z 
2024-06-06T09:06:08.3137420Z 
2024-06-06T09:06:08.3138477Z ERROR: ERROR: [account_closure]: IO  : Creating /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/unknown_field_set.dart from stream.
2024-06-06T09:06:08.3138489Z 
2024-06-06T09:06:08.3138495Z 
--
2024-06-06T09:06:08.3574864Z ERROR: ERROR: [account_details]: FINE: Extracting .tar.gz stream to /home/runner/.pub-cache/_temp/dirDOEQNL.
2024-06-06T09:06:08.3575656Z [account_details]: IO  : HTTP GET https://pub.dev/api/archives/shimmer-2.0.0.tar.gz
2024-06-06T09:06:08.3577977Z [account_details]:     | user-agent: Dart pub 3.3.1
2024-06-06T09:06:08.3577994Z 
2024-06-06T09:06:08.3578001Z 
2024-06-06T09:06:08.3581114Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/analysis_options.yaml from stream.
2024-06-06T09:06:08.3581132Z 
2024-06-06T09:06:08.3581138Z 
2024-06-06T09:06:08.3581749Z ERROR: ERROR: [account_fnd]: IO  : 
2024-06-06T09:06:08.3581763Z 
2024-06-06T09:06:08.3581893Z 
2024-06-06T09:06:08.3588240Z ERROR: ERROR: [account_fnd]: Creating /home/runner/.pub-cache/_temp/dirGFFYUE/lib/src/leak_testing.dart from stream.
2024-06-06T09:06:08.3588388Z 
2024-06-06T09:06:08.3588395Z 
2024-06-06T09:06:08.3588738Z ERROR: ERROR: [account_fnd]: IO  : 
2024-06-06T09:06:08.3588745Z 
2024-06-06T09:06:08.3588751Z 
--
2024-06-06T09:06:08.4111184Z ERROR: ERROR: [account_fnd]: FINE: 
2024-06-06T09:06:08.4111191Z 
2024-06-06T09:06:08.4111196Z 
2024-06-06T09:06:08.4111422Z ERROR: ERROR: [accession_marketing_shared]: FINE: 
2024-06-06T09:06:08.4111429Z 
2024-06-06T09:06:08.4112176Z ERROR: [account_fnd]: Created /home/runner/.pub-cache/_temp/dirGFFYUE/lib/src/leak_testing.dart from stream.
2024-06-06T09:06:08.4112199Z 
2024-06-06T09:06:08.4112205Z 
2024-06-06T09:06:08.4113138Z ERROR: ERROR: [account_details]: IO  : Creating /home/runner/.pub-cache/_temp/dirAIDFUQ/test/builder/builder_options_test.dart from stream.
2024-06-06T09:06:08.4113145Z 
2024-06-06T09:06:08.4113151Z 
--
2024-06-06T09:06:08.4114780Z 
2024-06-06T09:06:08.4114786Z 
2024-06-06T09:06:08.4115613Z ERROR: ERROR: [accession_marketing_shared]: Creating /home/runner/.pub-cache/_temp/dirFLRJXJ/test/mock_util.dart from stream.
2024-06-06T09:06:08.4115620Z 
2024-06-06T09:06:08.4115626Z 
2024-06-06T09:06:08.4116839Z ERROR: ERROR: [account_fnd]: Creating /home/runner/.pub-cache/_temp/dirGFFYUE/lib/src/matchers.dart from stream.
2024-06-06T09:06:08.4116853Z 
2024-06-06T09:06:08.4116859Z 
2024-06-06T09:06:08.4117068Z ERROR: ERROR: [accession_marketing_shared]: 
2024-06-06T09:06:08.4117167Z 
2024-06-06T09:06:08.4117173Z 
--
2024-06-06T09:06:08.4309637Z ERROR: [account_closure]: FINE: Created /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/field_type.dart from stream.
2024-06-06T09:06:08.4310514Z [account_closure]: IO  : Creating /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/field_error.dart from stream.
2024-06-06T09:06:08.4310521Z 
2024-06-06T09:06:08.4311348Z ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirMFVIUH/test/integration/export.dart from stream.
2024-06-06T09:06:08.4312248Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirMFVIUH/test/integration/optional_maybe.freezed.dart from stream.
2024-06-06T09:06:08.4312947Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/lib/src/matchers.dart from stream.
2024-06-06T09:06:08.4312955Z 
2024-06-06T09:06:08.4312975Z 
2024-06-06T09:06:08.4313805Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirESRHPA/lib/builder.dart from stream.
2024-06-06T09:06:08.4313812Z 
2024-06-06T09:06:08.4314537Z ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/lib/DEPENDENCIES.md from stream.
2024-06-06T09:06:08.4315396Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/shape_data.dart from stream.
2024-06-06T09:06:08.4315404Z 
2024-06-06T09:06:08.4315459Z 
2024-06-06T09:06:08.4315697Z ERROR: ERROR: [accession_marketing_shared]: IO  : 
2024-06-06T09:06:08.4315704Z 
--
2024-06-06T09:06:08.4717047Z [account_closure]: IO  : Creating /tmp/pub_QTFNUY/rxdart-0.27.7.tar.gz from stream.
2024-06-06T09:06:08.4717929Z [account_closure]: FINE: Created /home/runner/.pub-cache/_temp/dirQXWACD/lib/src/types/web_resource_response.dart from stream.
2024-06-06T09:06:08.4718807Z [account_closure]: IO  : Creating /home/runner/.pub-cache/_temp/dirQXWACD/lib/src/types/scroll_position_change.dart from stream.
2024-06-06T09:06:08.4718872Z 
2024-06-06T09:06:08.4718881Z 
2024-06-06T09:06:08.4720135Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/lib/DEPENDENCIES.md from stream.
2024-06-06T09:06:08.4720151Z 
2024-06-06T09:06:08.4720156Z 
2024-06-06T09:06:08.4721797Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/lib/leak_tracker_testing.dart from stream.
2024-06-06T09:06:08.4721812Z 
2024-06-06T09:06:08.4721818Z 
2024-06-06T09:06:08.4722829Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/layer_blend.dart from stream.
2024-06-06T09:06:08.4722837Z 
2024-06-06T09:06:08.4722843Z 
--
2024-06-06T09:06:08.4820983Z 
2024-06-06T09:06:08.4820988Z 
2024-06-06T09:06:08.4821933Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirKRUIEL/android/src/main/AndroidManifest.xml from stream.
2024-06-06T09:06:08.4821961Z 
2024-06-06T09:06:08.4821967Z 
2024-06-06T09:06:08.4823239Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/lib/leak_tracker_testing.dart from stream.
2024-06-06T09:06:08.4823256Z 
2024-06-06T09:06:08.4823261Z 
2024-06-06T09:06:08.4824055Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/pubspec.yaml from stream.
2024-06-06T09:06:08.4824063Z 
2024-06-06T09:06:08.4824085Z 
2024-06-06T09:06:08.4825043Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/shape_stroke.dart from stream.
2024-06-06T09:06:08.4825050Z 
2024-06-06T09:06:08.4825056Z 
--
2024-06-06T09:06:08.4973844Z 
2024-06-06T09:06:08.4973850Z 
2024-06-06T09:06:08.4974760Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirKRUIEL/android/settings.gradle from stream.
2024-06-06T09:06:08.4974768Z 
2024-06-06T09:06:08.4974774Z 
2024-06-06T09:06:08.4975533Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/pubspec.yaml from stream.
2024-06-06T09:06:08.4975541Z 
2024-06-06T09:06:08.4975547Z 
2024-06-06T09:06:08.4976319Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/README.md from stream.
2024-06-06T09:06:08.4976334Z 
2024-06-06T09:06:08.4976341Z 
2024-06-06T09:06:08.4977209Z ERROR: ERROR: [account_fnd]: FINE: Computed checksum 4252833209 for datadog_webview_tracking 2.0.2 with expected CRC32C of 4252833209.
2024-06-06T09:06:08.4977219Z 
2024-06-06T09:06:08.4977225Z 
--
2024-06-06T09:06:08.5183077Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirNNVCTX/example/ios/Runner/AppDelegate.m from stream.
2024-06-06T09:06:08.5183104Z 
2024-06-06T09:06:08.5183111Z 
2024-06-06T09:06:08.5184042Z ERROR: ERROR: [accession_marketing_shared]: IO  : Creating /home/runner/.pub-cache/_temp/dirNNVCTX/example/ios/Runner/main.m from stream.
2024-06-06T09:06:08.5184050Z 
2024-06-06T09:06:08.5184866Z ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/README.md from stream.
2024-06-06T09:06:08.5185551Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/CHANGELOG.md from stream.
2024-06-06T09:06:08.5186446Z [account_fnd]: FINE: Computed checksum 295145569 for launchdarkly_dart_common 1.2.0 with expected CRC32C of 295145569.
2024-06-06T09:06:08.5187909Z [account_fnd]: IO  : Writing 64 characters to text file /home/runner/.pub-cache/hosted-hashes/pub.dev/launchdarkly_dart_common-1.2.0.sha256.
2024-06-06T09:06:08.5188461Z [account_fnd]: FINE: Contents:
2024-06-06T09:06:08.5188933Z [account_fnd]:     | 3ea8bbc2daaa6ee6c4c93f4c82e5a9553b7d337038df60cd12d804b7476a9604
2024-06-06T09:06:08.5188942Z 
--
2024-06-06T09:06:08.5723465Z 
2024-06-06T09:06:08.5723472Z 
2024-06-06T09:06:08.5724943Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirEFFXQL/lib/src/step/i_dont_see_rich_text.dart from stream.
2024-06-06T09:06:08.5726457Z 
2024-06-06T09:06:08.5726463Z 
2024-06-06T09:06:08.5727231Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/CHANGELOG.md from stream.
2024-06-06T09:06:08.5728062Z 
2024-06-06T09:06:08.5728068Z 
2024-06-06T09:06:08.5728947Z ERROR: ERROR: [account_details]: Created /home/runner/.pub-cache/_temp/dirQAQWQF/lib/src/protobuf/exceptions.dart from stream.
2024-06-06T09:06:08.5729881Z 
2024-06-06T09:06:08.5730015Z ERROR: 
--
2024-06-06T09:06:08.5734626Z 
2024-06-06T09:06:08.5734632Z 
2024-06-06T09:06:08.5735742Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirFLRJXJ/test/permissive_compare_test.dart from stream.
2024-06-06T09:06:08.5736797Z 
2024-06-06T09:06:08.5736803Z 
2024-06-06T09:06:08.5737648Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/test/leak_testing_test.dart from stream.
2024-06-06T09:06:08.5738576Z 
2024-06-06T09:06:08.5738581Z 
2024-06-06T09:06:08.5740615Z ERROR: ERROR: [account_details]: IO  : HTTP response 200 OK for GET https://pub.dev/api/archives/lottie-3.1.0.tar.gz
2024-06-06T09:06:08.5745971Z [account_details]:     | 
2024-06-06T09:06:08.5747306Z 
--
2024-06-06T09:06:08.6538029Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirHGJFYQ/example/windows/runner/win32_window.h from stream.
2024-06-06T09:06:08.6539117Z 
2024-06-06T09:06:08.6539291Z ERROR: [accession_marketing_shared]: 
2024-06-06T09:06:08.6539642Z 
2024-06-06T09:06:08.6539665Z 
2024-06-06T09:06:08.6540514Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/test/leak_testing_test.dart from stream.
2024-06-06T09:06:08.6541428Z 
2024-06-06T09:06:08.6541434Z 
2024-06-06T09:06:08.6542890Z ERROR: ERROR: [accession_marketing_shared]: IO  : Creating /home/runner/.pub-cache/_temp/dirHGJFYQ/example/windows/runner/CMakeLists.txt from stream.
2024-06-06T09:06:08.6544859Z 
2024-06-06T09:06:08.6544866Z 
2024-06-06T09:06:08.6545944Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/test/end_to_end_test.dart from stream.
2024-06-06T09:06:08.6547594Z 
2024-06-06T09:06:08.6547602Z 
2024-06-06T09:06:08.6548668Z ERROR: ERROR: [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/rectangle_shape.dart from stream.
2024-06-06T09:06:08.6550245Z 
2024-06-06T09:06:08.6550253Z 
--
2024-06-06T09:06:08.6970149Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirHEBMEA/lib/src/build_target.dart from stream.
2024-06-06T09:06:08.6972261Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirHEBMEA/lib/src/expandos.dart from stream.
2024-06-06T09:06:08.6975282Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirKRUIEL/android/build.gradle from stream.
2024-06-06T09:06:08.6977822Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirKRUIEL/android
2024-06-06T09:06:08.6978999Z ERROR: /gradle/wrapper/gradle-wrapper.properties from stream.
2024-06-06T09:06:08.6981246Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/test/end_to_end_test.dart from stream.
2024-06-06T09:06:08.6983318Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/test/matchers_test.dart from stream.
2024-06-06T09:06:08.6986998Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirLCIMNE/test/data_sources/polling_data_source_test.dart from stream.
2024-06-06T09:06:08.6989817Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirLCIMNE/test/persistence/validating_persistence_test.dart from stream.
2024-06-06T09:06:08.6992294Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/gradient_color.dart from stream.
2024-06-06T09:06:08.7021147Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirBVKUPR/lib/src/model/content/merge_paths.dart from stream.
2024-06-06T09:06:08.7022965Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirTENNNW/analysis_options.yaml from stream.
--
2024-06-06T09:06:08.7593403Z ERROR: ERROR: [account_fnd]: FINE: 
2024-06-06T09:06:08.7593417Z 
2024-06-06T09:06:08.7594374Z ERROR: [account_closure]: Creating /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/extension_field_set.dart from stream.
2024-06-06T09:06:08.7594398Z 
2024-06-06T09:06:08.7595159Z ERROR: 
2024-06-06T09:06:08.7596345Z ERROR: [account_fnd]: Created /home/runner/.pub-cache/_temp/dirGFFYUE/test/matchers_test.dart from stream.
2024-06-06T09:06:08.7596371Z 
2024-06-06T09:06:08.7596377Z 
2024-06-06T09:06:08.7596946Z ERROR: ERROR: [account_fnd]: IO  : 
2024-06-06T09:06:08.7597054Z 
2024-06-06T09:06:08.7599258Z ERROR: [account_details]: FINE: Created /home/runner/.pub-cache/_temp/dirDOEQNL/lib/src/leak_tracking/primitives/_retaining_path/_retaining_path_web.dart from stream.
--
2024-06-06T09:06:08.7599475Z 
2024-06-06T09:06:08.7599480Z 
2024-06-06T09:06:08.7601418Z ERROR: ERROR: [account_details]: IO  : Creating /home/runner/.pub-cache/_temp/dirDOEQNL/lib/src/leak_tracking/primitives/_retaining_path/_connection.dart from stream.
2024-06-06T09:06:08.7601435Z 
2024-06-06T09:06:08.7601440Z 
2024-06-06T09:06:08.7602150Z ERROR: ERROR: [account_fnd]: Creating /home/runner/.pub-cache/_temp/dirGFFYUE/LICENSE from stream.
2024-06-06T09:06:08.7602158Z 
2024-06-06T09:06:08.7602164Z 
2024-06-06T09:06:08.7602397Z ERROR: ERROR: [accession_marketing_shared]: FINE: 
2024-06-06T09:06:08.7602496Z 
2024-06-06T09:06:08.7602502Z 
--
2024-06-06T09:06:08.7936616Z 
2024-06-06T09:06:08.7936623Z 
2024-06-06T09:06:08.7937565Z ERROR: ERROR: [account_closure]: IO  : Creating /home/runner/.pub-cache/_temp/dirRKVXNP/lib/src/protobuf/mixins/map_mixin.dart from stream.
2024-06-06T09:06:08.7937573Z 
2024-06-06T09:06:08.7937579Z 
2024-06-06T09:06:08.7938236Z ERROR: ERROR: [account_fnd]: Created /home/runner/.pub-cache/_temp/dirGFFYUE/LICENSE from stream.
2024-06-06T09:06:08.7938243Z 
2024-06-06T09:06:08.7938249Z 
2024-06-06T09:06:08.7939040Z ERROR: ERROR: [accession_marketing_shared]: Computed checksum 4252833209 for datadog_webview_tracking 2.0.2 with expected CRC32C of 4252833209.
2024-06-06T09:06:08.7939123Z 
2024-06-06T09:06:08.7939129Z 
2024-06-06T09:06:08.7940323Z ERROR: ERROR: [accession_marketing_shared]: IO  : Writing 64 characters to text file /home/runner/.pub-cache/hosted-hashes/pub.dev/datadog_webview_tracking-2.0.2.sha256.
2024-06-06T09:06:08.7940531Z [accession_marketing_shared]: FINE: Contents:
2024-06-06T09:06:08.7941054Z [accession_marketing_shared]:     | 27e21a7b395c674f6b7ae2837dd01080724f6328e54d9c758e9655c76ab7d50c
2024-06-06T09:06:08.7941062Z 
2024-06-06T09:06:08.7941068Z 
2024-06-06T09:06:08.7941705Z ERROR: ERROR: [account_fnd]: FINE: Extracted .tar.gz to /home/runner/.pub-cache/_temp/dirGFFYUE.
2024-06-06T09:06:08.7942752Z [account_fnd]: IO  : Renaming directory /home/runner/.pub-cache/_temp/dirGFFYUE to /home/runner/.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.1.
2024-06-06T09:06:08.7942760Z 
2024-06-06T09:06:08.7942780Z 
2024-06-06T09:06:08.7943587Z ERROR: ERROR: [account_closure]: FINE: Created /home/runner/.pub-cache/_temp/dirRAUQZP/tool/test_builder.dart from stream.
2024-06-06T09:06:08.7943985Z 
2024-06-06T09:06:08.7943994Z 
--
2024-06-06T09:06:08.7944234Z 
2024-06-06T09:06:08.7944239Z 
2024-06-06T09:06:08.7945010Z ERROR: ERROR: [account_closure]: Creating /home/runner/.pub-cache/_temp/dirRAUQZP/tool/shared.dart from stream.
2024-06-06T09:06:08.7945018Z 
2024-06-06T09:06:08.7945023Z 
2024-06-06T09:06:08.7945633Z ERROR: ERROR: [account_fnd]: IO  : Deleting directory /home/runner/.pub-cache/_temp/dirGFFYUE.
2024-06-06T09:06:08.7945641Z 
2024-06-06T09:06:08.7945646Z 
2024-06-06T09:06:08.7946596Z ERROR: ERROR: [accession_marketing_shared]: FINE: Created /home/runner/.pub-cache/_temp/dirTOOTDL/lib/web_delegate.dart from stream.
2024-06-06T09:06:08.7946605Z 
2024-06-06T09:06:08.7946611Z 
--
2024-06-06T09:06:27.1710124Z 
2024-06-06T09:06:27.1710130Z 
2024-06-06T09:06:27.1711132Z ERROR: ERROR: [account_details]: Creating /home/runner/.pub-cache/_temp/dirQMQNHL/example/macos/Runner/Configs/AppInfo.xcconfig from stream.
2024-06-06T09:06:27.1711142Z 
2024-06-06T09:06:27.1711150Z 
2024-06-06T09:06:27.1712058Z ERROR: ERROR: [account_fnd]: ERR : Rename failed, path = '/home/runner/.pub-cache/_temp/dirGFFYUE' (OS Error: File exists, errno = 17)
2024-06-06T09:06:27.1712065Z 
2024-06-06T09:06:27.1712071Z 
2024-06-06T09:06:27.1712460Z ERROR: ERROR: [account_fnd]: FINE: Exception type: PathExistsException
2024-06-06T09:06:27.1712467Z 
2024-06-06T09:06:27.1712473Z 
--
2024-06-06T09:06:44.4069459Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirXHMAJE/test/method_channel_package_info_test.dart from stream.
2024-06-06T09:06:44.4069469Z 
2024-06-06T09:06:44.4069475Z 
2024-06-06T09:06:44.4070159Z ERROR: ERROR: [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirXHMAJE/LICENSE from stream.
2024-06-06T09:06:44.4070833Z [account_fnd]: FINE: Created /tmp/pub_HMVKZO/leak_tracker_testing-2.0.1.tar.gz from stream.
2024-06-06T09:06:44.4071361Z [account_fnd]: IO  : Created temp directory /home/runner/.pub-cache/_temp/dirGFFYUE
2024-06-06T09:06:44.4072028Z [account_fnd]: IO  : Reading binary file /tmp/pub_HMVKZO/leak_tracker_testing-2.0.1.tar.gz.
2024-06-06T09:06:44.4072638Z [account_fnd]: FINE: Extracting .tar.gz stream to /home/runner/.pub-cache/_temp/dirGFFYUE.
2024-06-06T09:06:44.4073324Z [account_fnd]: IO  : HTTP GET https://pub.dev/api/archives/leak_tracker_flutter_testing-2.0.1.tar.gz
2024-06-06T09:06:44.4073675Z [account_fnd]:     | user-agent: Dart pub 3.3.1
2024-06-06T09:06:44.4074692Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirJCQAPV/example/windows/flutter/generated_plugin_registrant.cc from stream.
2024-06-06T09:06:44.4075883Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirJCQAPV/example/windows/runner/flutter_window.h from stream.
2024-06-06T09:06:44.4076527Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirSUEQUL/LICENSE from stream.
--
2024-06-06T09:06:44.4096382Z 
2024-06-06T09:06:44.4097256Z ERROR: ERROR: [account_fnd]: Created /home/runner/.pub-cache/_temp/dirEGFLKD/lib/src/dart/xchacha20.dart from stream.
2024-06-06T09:06:44.4098050Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirEGFLKD/lib/src/dart/cryptography.dart from stream.
2024-06-06T09:06:44.4098832Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirMFVIUH/test/typedef_parameter_test.dart from stream.
2024-06-06T09:06:44.4099615Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirMFVIUH/test/integration/recursive.dart from stream.
2024-06-06T09:06:44.4100329Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/analysis_options.yaml from stream.
2024-06-06T09:06:44.4100981Z [account_fnd]: FINE: Created /tmp/pub_FTRPBR/launchdarkly_common_client-1.2.0.tar.gz from stream.
2024-06-06T09:06:44.4101510Z [account_fnd]: IO  : Created temp directory /home/runner/.pub-cache/_temp/dirLCIMNE
2024-06-06T09:06:44.4102156Z [account_fnd]: IO  : Reading binary file /tmp/pub_FTRPBR/launchdarkly_common_client-1.2.0.tar.gz.
2024-06-06T09:06:44.4102164Z 
2024-06-06T09:06:44.4102170Z 
--
2024-06-06T09:06:44.4208986Z ERROR: r/.pub-cache/_temp/dirRMBEKN/example/windows/runner/flutter_window.h from stream.
2024-06-06T09:06:44.4210527Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirKRUIEL/android/src/main/java/io/flutter/plugins/firebase/core/FlutterFirebasePluginRegistry.java from stream.
2024-06-06T09:06:44.4240510Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirKRUIEL/android/src/main/java/io/flutter/plugins/firebase/core/FlutterFirebaseCoreRegistrar.java from stream.
2024-06-06T09:06:44.4241410Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirMFVIUH/test/integration/recursive.dart from stream.
2024-06-06T09:06:44.4242233Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirMFVIUH/test/integration/common_types.dart from stream.
2024-06-06T09:06:44.4242931Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirGFFYUE/analysis_options.yaml from stream.
2024-06-06T09:06:44.4243650Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirGFFYUE/lib/src/leak_testing.dart from stream.
2024-06-06T09:06:44.4245027Z [account_fnd]: IO  : HTTP response 200 OK for GET https://pub.dev/api/archives/leak_tracker_flutter_testing-2.0.1.tar.gz
2024-06-06T09:06:44.4245597Z [acc
2024-06-06T09:06:44.4245825Z ERROR: ount_funding]:     | took 0:00:00.167798
2024-06-06T09:06:44.4245977Z [account_fnd]:     | 
2024-06-06T09:06:44.4245993Z 
--
2024-06-06T09:06:45.5160125Z [account_fnd]: IO  : Creating /home/runner/.pub-cache/_temp/dirODYJQV/LICENSE from stream.
2024-06-06T09:06:45.5161568Z [account_fnd]: FINE: Created /home/runner/.pub-cache/_temp/dirODYJQV/LICENSE from stream.
2024-06-06T09:06:45.5162483Z [account_fnd]: FINE: Extracted .tar.gz to /home/runner/.pub-cache/_temp/dirODYJQV.
2024-06-06T09:06:45.5163472Z [account_fnd]: IO  : Renaming directory /home/runner/.pub-cache/_temp/dirODYJQV to /home/runner/.pub-cache/hosted/pub.dev/analyzer-6.4.1.
2024-06-06T09:06:45.5163769Z [account_fnd]: IO  : Deleting directory /tmp/pub_IRPZAF.
2024-06-06T09:06:45.5164686Z [account_fnd]: ERR : Rename failed, path = '/home/runner/.pub-cache/_temp/dirGFFYUE' (OS Error: File exists, errno = 17)
2024-06-06T09:06:45.5164999Z [account_fnd]: FINE: Exception type: PathExistsException
2024-06-06T09:06:45.5165710Z [account_fnd]: FINE: dart:io                                              _Directory.renameSync
2024-06-06T09:06:45.5165946Z [account_fnd]:     | package:pub/src/io.dart
2024-06-06T09:06:45.5165956Z 
2024-06-06T09:06:45.5166245Z ERROR: ERROR:  505:23                       renameDir.<fn>
YashrajDigheTide commented 1 week ago

@sigurdm @jonasfj Did you guys got a chance to look into the above logs ?