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

[service] Error in conan create: PREV for <reference> is None #4599

Closed
danimtb opened this issue Feb 17, 2021 · 6 comments
Closed

[service] Error in conan create: PREV for <reference> is None #4599

danimtb opened this issue Feb 17, 2021 · 6 comments
Assignees
Labels
bug Something isn't working infrastructure Waiting on tools or services belonging to the infra

Comments

@danimtb
Copy link
Member

danimtb commented Feb 17, 2021

In some jobs, the conan create command fails at some point when installing dependencies with the following message:

PREV for <reference> is None

For example, this is the full message:

AssertionError: PREV for nasm/2.15.05:0a420ff5c47119e668867cdb51baff0eca1fdb68 is None: {"recipe": {"revision": "3b0fc0a593bbfd22ed8e922fd0a9e303", "remote": "conan-center", "properties": {}, "checksums": {"conan_export.tgz": {"md5": "d74e7aee83295b4efa262a86357996de", "sha1": "2ad66c8a8bebe58c81a2e40a162e508db109c527"}, "conanmanifest.txt": {"md5": "888beba3abf6092477903c358a359ed6", "sha1": "55a224eeaf5e5e5ff916ce2c6c060df9f9791b1c"}, "conanfile.py": {"md5": "e21c0ebc27f5837a9c651fb9809fab83", "sha1": "650ce5ae4d43f1ee219cae209fafbe279895c36f"}}}, "packages": {"0a420ff5c47119e668867cdb51baff0eca1fdb68": {"revision": null, "recipe_revision": null, "remote": null, "properties": {}, "checksums": {}}}}

ERROR: PREV for nasm/2.15.05:0a420ff5c47119e668867cdb51baff0eca1fdb68 is None: {"recipe": {"revision": "3b0fc0a593bbfd22ed8e922fd0a9e303", "remote": "conan-center", "properties": {}, "checksums": {"conan_export.tgz": {"md5": "d74e7aee83295b4efa262a86357996de", "sha1": "2ad66c8a8bebe58c81a2e40a162e508db109c527"}, "conanmanifest.txt": {"md5": "888beba3abf6092477903c358a359ed6", "sha1": "55a224eeaf5e5e5ff916ce2c6c060df9f9791b1c"}, "conanfile.py": {"md5": "e21c0ebc27f5837a9c651fb9809fab83", "sha1": "650ce5ae4d43f1ee219cae209fafbe279895c36f"}}}, "packages": {"0a420ff5c47119e668867cdb51baff0eca1fdb68": {"revision": null, "recipe_revision": null, "remote": null, "properties": {}, "checksums": {}}}}

Pull request affected at some point:

We thought it was due to a corrupted Conan client installation at first and we fixed this issue in the affected machine. However, the issue came back and raised in different machines. We think now that it could be some case of concurrency and probably a bug in the CI pipeline, but we need to investigate this thoroughly.

@danimtb danimtb added bug Something isn't working infrastructure Waiting on tools or services belonging to the infra labels Feb 17, 2021
@ericLemanissier
Copy link
Contributor

could it be linked to conan-io/conan#6379 or conan-io/conan#8172 ?

Originally posted by @ericLemanissier in #4577 (comment)

@SSE4
Copy link
Contributor

SSE4 commented Feb 17, 2021

might be related to conan-io/conan#8517

@danimtb
Copy link
Member Author

danimtb commented Feb 17, 2021

might be related to conan-io/conan#8517

Yes, Javier is investigating this on the Conan side.

could it be linked to conan-io/conan#6379 or conan-io/conan#8172 ?

Originally posted by @ericLemanissier in #4577 (comment)

Not sure if related, but thanks for pointing it out.

@jgsogo
Copy link
Contributor

jgsogo commented Feb 17, 2021

I'm proposing this change (conan-io/conan#8519). I think we are writing that metadata.json without package-revision at some point, but I can't figure out when... if we merge the into 1.32.x we can try it in ConanCenter soon.

@jgsogo
Copy link
Contributor

jgsogo commented Feb 19, 2021

We keep trying to figure out what is originating these errors. conan-io/conan#8519 is a good place to follow it. They are not deterministic, so the best we can do is to trigger again those PRs and eventually they (or other PRs) will fail with the same error.

We are adding more logs to the CI that hopefully will help us to figure out what is happening there.

@danimtb
Copy link
Member Author

danimtb commented Sep 4, 2023

closing this issue as this has not happened again and is an old issue report. Thanks!

@danimtb danimtb closed this as completed Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure Waiting on tools or services belonging to the infra
Projects
None yet
Development

No branches or pull requests

4 participants