spotify / XCRemoteCache

Other
825 stars 50 forks source link

consumer mode no artifact available always #233

Open anuragstar opened 6 months ago

anuragstar commented 6 months ago

**@polac24 I am using XCRemote cocapods setup, in which producer mode works perfectly fine, when I am running the same pipeline in consumer mode it fails with no artifact available

Can we connect on a call to debug this issue, this is increasing our integration time a lot, let me know suitable time to connect**

[-] CocoaPods cocoapods-xcremotecache plugin [ ] Automatic integration using xcprepare integrate ... [ ] Manual integration [ ] Carthage

In producer mode, I can see on AWS S3 the artifact is pushed for EnterpriseDev and ReleasePH variants, but when I am running the pipeline for consumer mode with fetch-depth:10 while git clone it always shows - [XCRC] XCRemoteCache disabled - no artifacts available

Minimal reproduction of the problem with instructions

Producer Logs In consumer mode pipeline is making calls for Debug iphonesimulator-13F100-5 while we are running for EnterpriseDev & ReleasePh variants of the app.

Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-Debug-iphonesimulator-13F100-5

xcprepare[41788:469e3] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-Debug-iphonesimulator-13F100-5 INFO 2024-01-04 04:00:48 2024-01-04 03:56:23.630 I xcprepare[41788:469ea] Network request failed with unsuccessful code 404

INFO 2024-01-04 04:00:46 [XCRC] XCRemoteCache disabled - no artifacts available

producer mode cache generation for EnterpriseDev & ReleasePH

43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-14B47b-5

7f107fc629b7dbc2003b840a6d3507c6fbb6121e-ReleasePH-iphoneos-14B47b-5

 [REPLACE THIS WITH YOUR INFORMATION] 

Consumer Logs

 [REPLACE THIS WITH YOUR INFORMATION] 

Pods/Carthage file

 [REPLACE THIS WITH YOUR INFORMATION] 

Environment

Post build stats

 [REPLACE THIS WITH YOUR INFORMATION] 

Others

polac24 commented 6 months ago

That is expected, because check_build_configuration is set to Debug as a default and you want either EnterpriseDev, ReleasePH or ReleasePH,EnterpriseDev. See:

https://github.com/spotify/XCRemoteCache/blob/487a58aba0ab0a6073293bdd9e0c75a775d0dd43/cocoapods-plugin/README.md?plain=1#L50C7-L50C7

anuragstar commented 6 months ago

@polac24 There are different variants of the app, at run time based on the configuration of the build do we need to override .rcinfo file and Podfile ? check_build_configuration : ReleasePH or is there is any better way to do it.

polac24 commented 6 months ago

Changing that in the Podfile is the only supported way.

anuragstar commented 6 months ago

@polac24 'check_build_configuration' => 'EnterpriseDev', 'check_platform' => 'iphoneos'

I passed this configuration for EnterpriseDev but still cache miss.

[XCRC] XCRemoteCache disabled - no artifacts available INFO 2024-01-04 05:17:32 Pod installation complete! There are 97 dependencies from the Podfile and 102 total pods installed. INFO 2024-01-04 05:17:32
INFO 2024-01-04 05:17:32 [!] Charts has been deprecated in favor of DGCharts INFO 2024-01-04 05:17:34 Filtering the log data using "sender BEGINSWITH "xc"" INFO 2024-01-04 05:17:36 Timestamp Ty Process[PID:TID] INFO 2024-01-04 05:17:36 2024-01-04 05:13:19.683 I xcprepare[53188:2cc939] Extra config override failed with missingConfigurationFile(user.rcinfo -- file:///Users/abcxxx/Documents/harness/IOS_dev/featureBT12225XC_ARM_CACHE_nonprod_dev/mono-ios/abcx-ios-mobile/). Skipping extra configuration INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.038 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.038 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.288 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.288 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.288 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.320 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.320 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.320 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.351 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.620 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.620 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.656 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.790 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.790 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.825 I xcprepare[53188:2cc971] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.825 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.825 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.859 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.859 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.859 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.893 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.893 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.893 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.926 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.926 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.926 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.960 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.960 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.960 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.994 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.994 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:20.994 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.027 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.027 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.027 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.061 I xcprepare[53188:2cc955] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.061 I xcprepare[53188:2cc939] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.061 I xcprepare[53188:2cc939] Making request https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.095 I xcprepare[53188:2cc952] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:13:21.095 I xcprepare[53188:2cc939] No artifacts available INFO 2024-01-04 05:17:36 2024-01-04 05:17:26.720 I xcprepare[55403:2cf918] Extra config override failed with missingConfigurationFile(user.rcinfo -- file:///Users/abcxxx/Documents/harness/IOS_dev/featureBT12225XC_ARM_CACHE_nonprod_dev/mono-ios/abcx-ios-mobile/). Skipping extra configuration INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.008 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.008 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.231 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.231 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.231 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.260 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.260 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.260 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.285 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.577 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.577 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.605 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.751 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.751 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.779 I xcprepare[55403:2cf91b] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.779 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.779 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.808 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.808 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.808 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.834 I xcprepare[55403:2cf921] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.834 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.834 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.860 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.860 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.860 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.887 I xcprepare[55403:2cf921] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.887 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.887 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.913 I xcprepare[55403:2cf91b] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.913 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.913 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.939 I xcprepare[55403:2cf919] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.940 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.940 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.967 I xcprepare[55403:2cf921] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.967 I xcprepare[55403:2cf918] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.967 I xcprepare[55403:2cf918] Making request https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.995 I xcprepare[55403:2cf91b] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:17:36 2024-01-04 05:17:27.995 I xcprepare[55403:2cf918] No artifacts available

polac24 commented 6 months ago

the logs confirms that this parameter works as expected, but the file doesn't exist on a remote server.

What do you expect in that case? It looks that the prepare steps tried 10 previous commits but none have generated cache.

anuragstar commented 6 months ago

@polac24 I checked my commit history for this branch, I found that this is coming in my github commit history as 5th commit - https://github.com/abc/abc-ios/commit/43f71429bfc7f5371ad6566652f7048ca5f5eb04 I see from this commit producer mode pipeline is successful, but consumer mode is not able to pick this commit

Screenshot 2024-01-04 at 5 48 20 AM
anuragstar commented 6 months ago

@polac24 Even though I tried with the last 20 commits as a git clone but still getting the same issue, I can see a particular commit is already present in the XCRemote cache server, but consumer mode fail withno artifacts available.

producer mode artifact present on S3 43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-14B47b-5

[XCRC] XCRemoteCache disabled - no artifacts available. INFO 2024-01-04 05:49:13 Pod installation complete! There are 97 dependencies from the Podfile and 102 total pods installed. INFO 2024-01-04 05:49:13
INFO 2024-01-04 05:49:13 [!] Charts has been deprecated in favor of DGCharts INFO 2024-01-04 05:49:15 Filtering the log data using "sender BEGINSWITH "xc"" INFO 2024-01-04 05:49:17 Timestamp Ty Process[PID:TID] INFO 2024-01-04 05:49:17 2024-01-04 05:43:07.742 I xcprepare[72182:2df222] Extra config override failed with missingConfigurationFile(user.rcinfo -- file:///Users/abcxxx/Documents/ci/IOS_dev/featureBT12225XC_ARM_CACHE_nonprod_dev/ios-project/abcx-ios-mobile/). Skipping extra configuration INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.715 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.715 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.967 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.967 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.967 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.995 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.995 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:08.995 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.022 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.285 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.285 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.313 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.442 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.442 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.470 I xcprepare[72182:2df237] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.470 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.470 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.497 I xcprepare[72182:2df237] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.497 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.497 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.524 I xcprepare[72182:2df237] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.524 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.524 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.551 I xcprepare[72182:2df239] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.551 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.551 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.579 I xcprepare[72182:2df237] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.579 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.579 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.605 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.605 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.605 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.632 I xcprepare[72182:2df239] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.632 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.632 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.658 I xcprepare[72182:2df239] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.658 I xcprepare[72182:2df222] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.658 I xcprepare[72182:2df222] Making request https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.692 I xcprepare[72182:2df2b0] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:43:09.693 I xcprepare[72182:2df222] No artifacts available INFO 2024-01-04 05:49:17 2024-01-04 05:49:06.990 I xcprepare[74084:2e3ae9] Extra config override failed with missingConfigurationFile(user.rcinfo -- file:///Users/abcxxx/Documents/ci/IOS_dev/featureBT12225XC_ARM_CACHE_nonprod_dev/ios-project/abcx-ios-mobile/). Skipping extra configuration INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.331 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.331 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.529 I xcprepare[74084:2e3afa] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.529 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.529 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.557 I xcprepare[74084:2e3aec] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.557 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.557 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/nginx-health INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.584 I xcprepare[74084:2e3aea] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.853 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.853 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:07.879 I xcprepare[74084:2e3aec] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.009 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.009 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/fe6d360ae79875ce44575bc59dbfc350cc716a55-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.036 I xcprepare[74084:2e3aec] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.036 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.036 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/567d4d4ddbf51e41bb25004f901c8ddbf51d1f90-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.063 I xcprepare[74084:2e3aea] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.063 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.063 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/48587c5c6d204bb5a680fefd9b500a924f0fb9a1-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.090 I xcprepare[74084:2e3aec] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.090 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.090 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/54f5df4364d5d90f7b214aea70dd61ea8ba5ff0d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.117 I xcprepare[74084:2e3aec] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.117 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.117 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/bd2e4c853cc9521f7f89ab44ca6271e249e59233-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.146 I xcprepare[74084:2e3afa] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.146 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.146 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/43f71429bfc7f5371ad6566652f7048ca5f5eb04-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.172 I xcprepare[74084:2e3afa] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.172 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.172 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/63b96d16f9a365f945b1ccdd1bdf6c959171ad4f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.202 I xcprepare[74084:2e3aea] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.202 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.202 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/7ac16327c8cb7291ca49e1aa9a57ca4dd343286d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.229 I xcprepare[74084:2e3aea] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.229 I xcprepare[74084:2e3ae9] Checking HTTP file HEAD for https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.229 I xcprepare[74084:2e3ae9] Making request https://abc.amazonaws.com/cache/marker/7f107fc629b7dbc2003b840a6d3507c6fbb6121e-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.256 I xcprepare[74084:2e3b10] Network request failed with unsuccessful code 404 INFO 2024-01-04 05:49:17 2024-01-04 05:49:08.256 I xcprepare[74084:2e3ae9] No artifacts available

polac24 commented 6 months ago

If that file exists in S3, but remote cache cannot fetch it with 404 (that is also a case for invalid token), there has to be something with authentication. There are many users that use S3 with aws_access_key, aws_security_token, aws_region, aws_service. If you are sure that there is a problem with authentication on XCremote cache (I doubt TBH) - you have to reproduce it on your own and provide steps to reproduce.

anuragstar commented 6 months ago

@polac24 I tried to run producer mode again, new artifact is pushed for EntepriseDev variant, but when running on consumer mode it starts failing, even the commit shown in xcremote cache history and it makes a call but return 404 in the response

INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.949 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/marker/c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.977 I xcprepare[90044:2f52bb] Network request failed with unsuccessful code 404

c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-14B47b-5

Screenshot 2024-01-04 at 6 42 25 AM

c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-14B47b-5

[XCRC] XCRemoteCache disabled - no artifacts available INFO 2024-01-04 06:36:22 Pod installation complete! There are 97 dependencies from the Podfile and 102 total pods installed. INFO 2024-01-04 06:36:22
INFO 2024-01-04 06:36:22 [!] Charts has been deprecated in favor of DGCharts INFO 2024-01-04 06:36:24 Filtering the log data using "sender BEGINSWITH "xc"" INFO 2024-01-04 06:36:26 Timestamp Ty Process[PID:TID] INFO 2024-01-04 06:36:26 2024-01-04 06:31:50.871 I xcprepare[90044:2f52ad] Extra config override failed with missingConfigurationFile(user.rcinfo -- file:///Users/abctest3/Documents/ci-test/IOS_dev/featureBT12225XC_ARM_CACHE_nonprod_dev/mono-ios/abcx-ios-mobile/). Skipping extra configuration INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.261 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.261 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.465 I xcprepare[90044:2f52b5] Network request failed with unsuccessful code 404 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.465 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.465 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.495 I xcprepare[90044:2f52b3] Network request failed with unsuccessful code 404 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.495 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.495 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/nginx-health INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.523 I xcprepare[90044:2f52bb] Network request failed with unsuccessful code 404 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.790 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/marker/8c1de4e36b8a720d439c0bb89cc9086100eb241f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.790 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/marker/8c1de4e36b8a720d439c0bb89cc9086100eb241f-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.820 I xcprepare[90044:2f52b5] Network request failed with unsuccessful code 404 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.949 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/marker/c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.949 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/marker/c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.977 I xcprepare[90044:2f52bb] Network request failed with unsuccessful code 404 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.977 I xcprepare[90044:2f52ad] Checking HTTP file HEAD for https://abc1.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:51.977 I xcprepare[90044:2f52ad] Making request https://abc1.amazonaws.com/cache/marker/057e8320e18b35248b9a43b7224158a4fc50c87d-EnterpriseDev-iphoneos-13F100-5 INFO 2024-01-04 06:36:26 2024-01-04 06:31:52.008 I xcprepare[90044:2f52b3] Network request failed with unsuccessful code 404

anuragstar commented 6 months ago

@polac24 The same pipeline works perfectly fine when running in producer mode, push the artifact to S3 remote server, same credentials are used, If credentials issues is there it should not upload the artifact as well ? Is there is any possibility due to which it happens

anuragstar commented 6 months ago

@polac24 Possible to get on a call and debug this issue, we are trying to integrate with our CI jobs from last 1 months, but facing random issues every time, can we get on a call and close it ? I am happy to connect within your time zone, please share your email, so that we can send invite for debug call

anuragstar commented 6 months ago

@polac24 can we get on a call and close this issue ? I am happy to connect within your time zone, please share your email, so that we can send invite for debug call

polac24 commented 6 months ago

So far, there is no need for a call. The file XCRemoteCache requests, doesn't exist on S3.

c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-13F100-5 vs c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-14B47b-5

13F100 vs 14B47b. That means you produced on Xcode 14.1, but consuming on 13.4.1. Artifacts are always version-exclusive because artifacts from different versions are not compatible with each other.

Setting correct Xcode version via xcode-select is a requirement.