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

[DO-NOT-MERGE] Investigating GHA failure #271

Closed
wants to merge 4 commits into from

Conversation

tkobayas
Copy link
Contributor

DO-NOT-MERGE

@tkobayas
Copy link
Contributor Author

Test 1 : Raising this PR without any fix failed with

2023-10-26T08:34:49.6510635Z [ERROR] Failed to execute goal on project drools-benchmarks-reliability: Could not resolve dependencies for project org.drools:drools-benchmarks-reliability:jar:1.0-SNAPSHOT: Could not find artifact org.drools:drools-reliability-h2mvstore:jar:8.45.0-SNAPSHOT in apache-public-repository-group (https://repository.apache.org/content/groups/public/) -> [Help 1]

Test 2: Commenting out h2mvstore (in pom.xml and java code), passed the CI

Test 3: Explicitly added jboss repo to drools-benchmarks-reliability/pom.xml . Reenabled h2mvstore. Passed the CI.

  <repositories>
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
    </repository>
  </repositories>

@tkobayas
Copy link
Contributor Author

tkobayas commented Oct 26, 2023

Test 4: Removed jboss repo in drools-benchmarks-reliability/pom.xml . CI successful

Okay... after I added the jboss repo, drools-reliability-h2mvstore is cached (actions/cache@v2 is configured in pull_request.yml !!), so the Test 4 was successful even if I removed the jboss repo.

The issue is temporarily fixed now, but it will happen again when a new module SNAPSHOT is added. I think a right fix is to add the jboss repo to kie-benchmarks/pom.xml.

@tkobayas
Copy link
Contributor Author

Investigation done.

@tkobayas tkobayas closed this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant