-
Notifications
You must be signed in to change notification settings - Fork 193
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
Adapt to removed support for loading pack.gz packaged artifacts in P2 #3168
Adapt to removed support for loading pack.gz packaged artifacts in P2 #3168
Conversation
d46451b
to
a99c076
Compare
The LocalArtifactRepositoryP2APITest still needs some adjustments since it explicitly relays on packed artifacts. |
Maybe we should keep the pack.gz items in the repository to tests they are really ignored and just adjust the number in the assertions? If a test relies on packgz to work and can't be adjusted it is maybe time to delete it. |
a99c076
to
bdfe7a5
Compare
@HannesWell Are you gonna be working on this one today? |
I will check which tests not make sense anymore and remove or adjust them based on the gone support of packgz.
I'm sorry but I won't have time for this this evening, but will continue tomorrow. |
Eclipse P2 got its support for loading pack.gz packed artifacts from repositories finally removed in eclipse-equinox/p2#310. In order to fix the tests, remove packed duplicates from and replace only packed ecf artifact with unpacked eclipse.core.runtime artifact in test repository at '\resources\repositories\packgz'.
bdfe7a5
to
45575c9
Compare
I now also adapted the test cases in LocalArtifactRepositoryP2APITest to reflect the fact that there a no two descriptors/real artifacts for the same artifact-key anymore (I'm not aware of a scenario where this can happen any more now that pack.gz is gone). |
It is not really gone... all already released updatesites still contain such artifacts thats why they should be ignored, that means even if a repository contains pack.gz it is simply not used. |
I'm puzzled why FeatureRootfileArtifactRepositoryTest failed in the GH Linux workflow?
Of course. I expressed myself unclear. Let me rephrase it: Now that pack.gz artifacts are not read/considered anymore. |
Yes Github Linux fails but unless Jenkins linux succeeds its not a problem I want to take a look once we have merged all the cleanup/upgrade stuff, it seems the test must somehow be a TychoPlexusTestcase now because "something" triggers access to Extension registry. |
OK, good to know. |
Jenkins almost fully succeeded, only the following integration tests failed
But they also fail on the master branch so its not related. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
Eclipse P2 got its support for loading pack.gz packed artifacts from repositories finally removed in
eclipse-equinox/p2#310.
In order to fix the tests, remove packed duplicates from and replace only packed ecf artifact with unpacked eclipse.core.runtime artifact in test repository at
\resources\repositories\packgz
.This is required for #3043 respectively #3125.