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

Possible reproducible build issue in integration-tests-springboot-processes-filesystem #3646

Open
tkobayas opened this issue Aug 28, 2024 · 0 comments

Comments

@tkobayas
Copy link
Contributor

Describe the bug

I experienced this error in a GHA PR check:
https://github.com/apache/incubator-kie-kogito-runtimes/actions/runs/10589162049/job/29342826385?pr=3644

2024-08-28T03:26:37.4274547Z [INFO] --- artifact:3.4.1:compare (compare) @ integration-tests-springboot-processes-filesystem ---
2024-08-28T03:26:37.4279391Z [WARNING] SCM source tag in buildinfo source.scm.tag=HEAD does not permit rebuilders reproducible source checkout
2024-08-28T03:26:39.5306183Z [INFO] Saved aggregate info on build to /home/runner/work/incubator-kie-kogito-runtimes/incubator-kie-kogito-runtimes/apache_incubator-kie-kogito-runtimes/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/integration-tests-springboot-processes-filesystem/target/integration-tests-springboot-processes-filesystem-999-SNAPSHOT.buildinfo
2024-08-28T03:26:39.5311910Z [INFO] Aggregate buildinfo copied to /home/runner/work/incubator-kie-kogito-runtimes/incubator-kie-kogito-runtimes/apache_incubator-kie-kogito-runtimes/target/kogito-runtimes-999-SNAPSHOT.buildinfo
2024-08-28T03:26:39.5313081Z [INFO] Checking against reference build from central...
2024-08-28T03:26:39.5314828Z [INFO] Reference buildinfo file not found: it will be generated from downloaded reference artifacts
2024-08-28T03:26:39.8716179Z [WARNING] Reference artifact not found org.apache.kie.sonataflow:sonataflow-quarkus-integration-test:pom:999-SNAPSHOT
2024-08-28T03:26:39.8717557Z [WARNING] Reference artifact not found org.apache.kie.sonataflow:sonataflow-quarkus-integration-test:jar:999-SNAPSHOT
2024-08-28T03:26:39.8719841Z [WARNING] Reference artifact not found org.apache.kie.sonataflow:sonataflow-quarkus-integration-test:test-jar:tests:999-SNAPSHOT
2024-08-28T03:26:39.8721629Z [WARNING] Reference artifact not found org.apache.kie.sonataflow:sonataflow-quarkus-integration-test:java-source:sources:999-SNAPSHOT
2024-08-28T03:26:39.8723284Z [WARNING] Reference artifact not found org.apache.kie.sonataflow:sonataflow-quarkus-integration-test:java-source:test-sources:999-SNAPSHOT
2024-08-28T03:26:40.9091096Z [INFO] Reference build java.version: 17 (from MANIFEST.MF Build-Jdk-Spec)
2024-08-28T03:26:40.9091947Z [INFO] Reference build os.name: Unix (from pom.properties newline)
2024-08-28T03:26:42.6711464Z [INFO] Minimal buildinfo generated from downloaded artifacts: /home/runner/work/incubator-kie-kogito-runtimes/incubator-kie-kogito-runtimes/apache_incubator-kie-kogito-runtimes/target/reference/integration-tests-springboot-processes-filesystem-999-SNAPSHOT.buildinfo
2024-08-28T03:26:42.8543647Z [ERROR] size mismatch sonataflow-quarkus-integration-test-999-SNAPSHOT.pom: investigate with diffoscope target/reference/sonataflow-quarkus-integration-test-999-SNAPSHOT.pom quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/pom.xml
2024-08-28T03:26:42.8548967Z [ERROR] size mismatch sonataflow-quarkus-integration-test-999-SNAPSHOT.jar: investigate with diffoscope target/reference/sonataflow-quarkus-integration-test-999-SNAPSHOT.jar quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/target/sonataflow-quarkus-integration-test-999-SNAPSHOT.jar
2024-08-28T03:26:42.8554927Z [ERROR] size mismatch sonataflow-quarkus-integration-test-999-SNAPSHOT-tests.jar: investigate with diffoscope target/reference/sonataflow-quarkus-integration-test-999-SNAPSHOT-tests.jar quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/target/sonataflow-quarkus-integration-test-999-SNAPSHOT-tests.jar
2024-08-28T03:26:42.8560798Z [ERROR] size mismatch sonataflow-quarkus-integration-test-999-SNAPSHOT-sources.jar: investigate with diffoscope target/reference/sonataflow-quarkus-integration-test-999-SNAPSHOT-sources.jar quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/target/sonataflow-quarkus-integration-test-999-SNAPSHOT-sources.jar
2024-08-28T03:26:42.8566812Z [ERROR] size mismatch sonataflow-quarkus-integration-test-999-SNAPSHOT-test-sources.jar: investigate with diffoscope target/reference/sonataflow-quarkus-integration-test-999-SNAPSHOT-test-sources.jar quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/target/sonataflow-quarkus-integration-test-999-SNAPSHOT-test-sources.jar
2024-08-28T03:26:42.9800450Z [ERROR] Reproducible Build output summary: 1578 files ok, 5 different
2024-08-28T03:26:42.9803701Z [ERROR] see diff target/reference/integration-tests-springboot-processes-filesystem-999-SNAPSHOT.buildinfo springboot/integration-tests/integration-tests-springboot-processes-persistence-it/integration-tests-springboot-processes-filesystem/target/integration-tests-springboot-processes-filesystem-999-SNAPSHOT.buildinfo
2024-08-28T03:26:42.9806269Z [ERROR] see also https://maven.apache.org/guides/mini/guide-reproducible-builds.html
2024-08-28T03:26:42.9839384Z [INFO] Reproducible Build output comparison saved to /home/runner/work/incubator-kie-kogito-runtimes/incubator-kie-kogito-runtimes/apache_incubator-kie-kogito-runtimes/springboot/integration-tests/integration-tests-springboot-processes-persistence-it/integration-tests-springboot-processes-filesystem/target/integration-tests-springboot-processes-filesystem-999-SNAPSHOT.buildcompare
2024-08-28T03:26:42.9843349Z [INFO] Aggregate buildcompare copied to /home/runner/work/incubator-kie-kogito-runtimes/incubator-kie-kogito-runtimes/apache_incubator-kie-kogito-runtimes/target/kogito-runtimes-999-SNAPSHOT.buildcompare

Expected behavior

Pass artifact:3.4.1:compare check.

Actual behavior

artifact:3.4.1:compare failed with the error pasted above.

How to Reproduce?

In a GHA PR check in kogito-runtimes.

I couldn't reproduce it locally. This might be a one-off issue.

Output of uname -a or ver

in GHA PR check environment

Output of java -version

in GHA PR check environment

GraalVM version (if different from Java)

No response

Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)

main branch

Build tool (ie. output of mvnw --version or gradlew --version)

in GHA PR check environment

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant