GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Linkage Monitor fails to run google-auth-library-java repository · Issue #1941 · GoogleCloudPlatform/cloud-opensource-java

Linkage Monitor fails to run google-auth-library-java repository #1941

New issue
Copy link
New issue
Copy link
Closed
Closed
Linkage Monitor fails to run google-auth-library-java repository#1941
Copy link

Description

@suztomo
suztomo
opened on Feb 12, 2021
Issue body actions

https://github.com/googleapis/google-auth-library-java/pull/554/checks?check_run_id=1818423838 fails:

Error:  Failed to execute goal on project google-auth-library-appengine: Could not resolve dependencies for project 
com.google.auth:google-auth-library-appengine:jar:0.23.1-SNAPSHOT: Could not find artifact com.google.auth:google-auth-
library-oauth2-http:jar:tests:0.23.1-SNAPSHOT -> [Help 1]

CC: @Neenu1995

Investigation

The job failed at "Install artifacts to local Maven repository" phase. It means the Linkage Monitor has not run yet. Does the repository require special command to install? Any difference in build.sh?

In my MacBook Pro

suztomo-macbookpro44% mvn install -B -V \
          -Dmaven.test.skip -DskipTests=true \
          -Dclirr.skip=true \
          -Denforcer.skip=true \
          -Dmaven.javadoc.skip=true \
          -Dgcloud.download.skip=true
...
[INFO] -----------< com.google.auth:google-auth-library-appengine >------------
[INFO] Building Google Auth Library for Java - Google App Engine 0.23.1-SNAPSHOT [4/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Google Auth Library for Java 0.23.1-SNAPSHOT:
[INFO] 
[INFO] Google Auth Library for Java ....................... SUCCESS [  3.459 s]
[INFO] Google Auth Library for Java - Credentials ......... SUCCESS [  3.656 s]
[INFO] Google Auth Library for Java - OAuth2 HTTP ......... SUCCESS [  3.608 s]
[INFO] Google Auth Library for Java - Google App Engine ... FAILURE [  0.020 s]
[INFO] Google Auth Library for Java BOM ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.053 s
[INFO] Finished at: 2021-02-12T15:55:14-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project google-auth-library-appengine: Could not resolve dependencies for project com.google.auth:google-auth-library-appengine:jar:0.23.1-SNAPSHOT: Could not find artifact com.google.auth:google-auth-library-oauth2-http:jar:tests:0.23.1-SNAPSHOT -> [Help 1]
[ERROR] 

This works:

mvn clean install -B -V \
    -DskipTests=true \
    -Dclirr.skip=true \
    -Denforcer.skip=true \
    -Dmaven.javadoc.skip=true \
    -Dgcloud.download.skip=true \
    -T 1C

The maven.test.skip interfering the test artifact generation. I thought the parameter would just speedup the build without compiling test Java sources.

But in java-spanner repository, passing -DskipTests=true still executes tests. The repository uses a special property "skipUTs" to control unit tests.

suztomo@suztomo:~/java-spanner$ mvn install -B -V  -DskipUTs=true -DskipTests=true \
     -Dclirr.skip=true     -Denforcer.skip=true     -Dmaven.javadoc.skip=true \
     -Dgcloud.download.skip=true     -T 1C

Activity

Next
  1. gcf-merge-on-green
    added a commit that references this issue on Feb 16, 2021

    ci: linkage monitor CI job to use build.sh (#947)

    f327d3b
  2. yoshi-automation
    added 14 commits that reference this issue on Feb 16, 2021

    ci: linkage monitor CI job to use build.sh

    05ffa3a

    ci: linkage monitor CI job to use build.sh

    67d4e8a

    ci: linkage monitor CI job to use build.sh

    1d48d00

    ci: linkage monitor CI job to use build.sh

    4c1772d

    ci: linkage monitor CI job to use build.sh

    469d454

    ci: linkage monitor CI job to use build.sh

    dfeed07

    ci: linkage monitor CI job to use build.sh

    fb3acc9

    ci: linkage monitor CI job to use build.sh

    3e52fa0

    ci: linkage monitor CI job to use build.sh

    af6cb4a

    ci: linkage monitor CI job to use build.sh

    a91209a

    ci: linkage monitor CI job to use build.sh

    1da5267

    ci: linkage monitor CI job to use build.sh

    4d5a892

    ci: linkage monitor CI job to use build.sh

    ed39de7

    ci: linkage monitor CI job to use build.sh

    4411005
  3. 96 remaining items

  4. eaball35
    added 2 commits that reference this issue on Feb 18, 2021

    chore: Re-generated to pick up changes from synthtool (#146)

    8d8ef02

    chore: Re-generated to pick up changes from synthtool (#163)

    8dcace2
  5. chingor13
    added a commit that references this issue on Feb 19, 2021

    ci: linkage monitor CI job to use build.sh (#276)

    55cf226
  6. yoshi-automation
    added a commit that references this issue on Feb 19, 2021

    ci: linkage monitor CI job to use build.sh

    11ce924
  7. chingor13
    added 2 commits that reference this issue on Feb 19, 2021

    chore: regenerate common templates (#123)

    24bade5

    chore: regenerate common templates (#229)

    3be9dcb
  8. yoshi-automation
    added 2 commits that reference this issue on Feb 22, 2021

    ci: linkage monitor CI job to use build.sh

    d947b50

    ci: linkage monitor CI job to use build.sh

    97acec8
  9. chingor13
    added a commit that references this issue on Feb 25, 2021

    ci: linkage monitor CI job to use build.sh (#107)

    99ce526
  10. yoshi-automation
    added 3 commits that reference this issue on Mar 4, 2021

    ci: linkage monitor CI job to use build.sh

    4f73b0c

    ci: linkage monitor CI job to use build.sh

    919743c

    ci: linkage monitor CI job to use build.sh

    1d52827
  11. elharo commented on Jul 22, 2021

    @elharo
    elharo
    on Jul 22, 2021
    Contributor
    More actions

    This seems to be fixed.

  12. elharo
    closed this as completedon Jul 22, 2021
  13. suztomo
    added a commit that references this issue on Mar 21, 2023

    ci: linkage monitor CI job to use build.sh (#276)

    bd353ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.