-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consumer mode no artifact available always #233
Comments
That is expected, because |
@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 ? |
Changing that in the |
@polac24 I passed this configuration for [XCRC] XCRemoteCache disabled - no artifacts available |
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 |
@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 |
@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 with producer mode artifact present on S3 [XCRC] XCRemoteCache disabled - no artifacts available. |
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. |
@polac24 I tried to run producer mode again, new artifact is pushed for 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
c5d9ef089c147bf76c0094f75a04550773617526-EnterpriseDev-iphoneos-14B47b-5 [XCRC] XCRemoteCache disabled - no artifacts available |
@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 ? |
@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 ? |
@polac24 can we get on a call and close this issue ? |
So far, there is no need for a call. The file XCRemoteCache requests, doesn't exist on S3.
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 |
**@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
andReleasePH
variants, but when I am running the pipeline for consumer mode withfetch-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 forEnterpriseDev
&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
Consumer Logs
Pods/Carthage file
Environment
gem list cocoapods-xcremotecache
>Post build stats
Others
The text was updated successfully, but these errors were encountered: