Skip to content

Conversation

@unidevel
Copy link

@unidevel unidevel commented Jul 15, 2025

Tested with https://github.com/unix280/drift/actions/runs/16300561615/job/46033761433

The 401 error is as expected since in test env, there is no credential to publish the artifacts.

[INFO] 
[INFO] --- central-publishing:0.8.0:publish (injected-central-publishing) @ drift-integration-tests ---
[INFO] Using Central baseUrl: https://central.sonatype.com/
[INFO] Using credentials from server id ossrh in settings.xml
[INFO] Using Usertoken auth, with namecode: ***
[INFO] Staging 9 files
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.jar
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.jar to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44.jar
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/pom.xml to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44.pom
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-tests.jar
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-tests.jar to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-tests.jar
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-sources.jar
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-sources.jar to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-sources.jar
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-test-sources.jar
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-test-sources.jar to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-test-sources.jar
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.jar.asc
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.jar.asc to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44.jar.asc
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.pom.asc
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44.pom.asc to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44.pom.asc
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-tests.jar.asc
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-tests.jar.asc to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-tests.jar.asc
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-sources.jar.asc
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-sources.jar.asc to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-sources.jar.asc
[INFO] Staging /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-test-sources.jar.asc
[INFO] Installing /home/runner/work/drift/drift/drift-integration-tests/target/drift-integration-tests-1.44-test-sources.jar.asc to /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/1.44/drift-integration-tests-1.44-test-sources.jar.asc
[INFO] Pre Bundling - deleted /home/runner/work/drift/drift/target/central-staging/com/facebook/drift/drift-integration-tests/maven-metadata-central-staging.xml
[INFO] Generate checksums for dir: com/facebook/drift/drift-integration-tests/1.44
[INFO] Going to create /home/runner/work/drift/drift/target/central-publishing/central-bundle.zip by bundling content at /home/runner/work/drift/drift/target/central-staging
[INFO] Created bundle successfully /home/runner/work/drift/drift/target/central-staging/central-bundle.zip
[INFO] Going to upload /home/runner/work/drift/drift/target/central-publishing/central-bundle.zip
Error:  Unable to upload bundle for deployment: Deployment
java.lang.RuntimeException: Invalid request. Status: 401 Response body:

@unidevel unidevel requested a review from a team as a code owner July 15, 2025 17:57
Copy link

@shangm2 shangm2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rschlussel rschlussel merged commit 26f4895 into prestodb:master Jul 15, 2025
2 checks passed
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.

3 participants