Skip to content
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

[WIP] cpanm: disable test with version operator #8290

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented Apr 28, 2024

SUMMARY

While working on CmdRunner, cpanm integration tests start to fail in CentOS 7, apparently preventing cpanm from installing Perl packages in any version but the most recent one. It is not clear why this is happening - the problem was reproduced locally in CentOS 7 and it did not occur in Ubuntu Jammy (as an example).

ISSUE TYPE
  • Test Pull Request
COMPONENT NAME

cpanm

@ansibullbot ansibullbot added integration tests/integration needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR tests tests labels Apr 28, 2024
@russoz russoz changed the title cpanm: disable test with version operator [WIP] cpanm: disable test with version operator Apr 28, 2024
@ansibullbot ansibullbot added the WIP Work in progress label Apr 28, 2024
@felixfontein felixfontein added the check-before-release PR will be looked at again shortly before release and merged if possible. label Apr 28, 2024
@felixfontein
Copy link
Collaborator

This test "recently" (not sure whether its weeks or months ago) failed as well, and after some days worked again.

I have no clue what's going wrong and how to fix it, I just remember that the last time when I wanted to take a closer look it just resolved itself ;)

@russoz
Copy link
Collaborator Author

russoz commented Apr 29, 2024

The CentOS test fails because cpanm, when trying to install JSON@4.01, apparently cannot find any version of JSON to install other than the latest (4.10) at the time of writing. I suspect it might be related to which metacpan mirror it is trying to connect, but no hard evidence either way.

The RH test fails when simply installing JSON, no shenanigans. That makes no sense to me either.

@felixfontein
Copy link
Collaborator

I created a PR which temporarily disables all cpanm tests on these platforms: #8312

@russoz
Copy link
Collaborator Author

russoz commented May 7, 2024

Gonna close this one for the time being.

@russoz russoz closed this May 7, 2024
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration tests/integration needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR tests tests WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants