sbt-sonatype icon indicating copy to clipboard operation
sbt-sonatype copied to clipboard

Drop requests fail occasionally with 404

Open xerial opened this issue 3 years ago • 1 comments

Describe the bug sonatypeDrop may fail occasionally even if the operation has succeeded:

 {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1434"}]}

How to reproduce the issue

  • sbt version: 1.6
  • sbt-sonatype version: 3.9.13
  • Failed run: https://github.com/wvlet/airframe/runs/7198035275?check_suite_focus=true

xerial avatar Jul 05 '22 23:07 xerial

This issue is still happening: https://github.com/wvlet/airframe/actions/runs/3717617506/jobs/6305154734

2022-12-17 00:55:26.989Z  info [SonatypeClient] Activity name:drop, started:2022-12-17T00:55:16.520Z  - (SonatypeClient.scala:395)
2022-12-17 00:55:26.989Z  info [SonatypeClient] The promote stage is in progress. Waiting for 15.00 sec.  - (SonatypeClient.scala:164)
2022-12-17 00:55:45.230Z  info [SonatypeClient] The promote stage is in progress. Waiting for 15.00 sec.  - (SonatypeClient.scala:164)
2022-12-17 00:56:00.271Z  warn [SonatypeClient] [12/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:56:15.289Z  warn [SonatypeClient] [13/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:56:30.344Z  warn [SonatypeClient] [14/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:56:45.360Z  warn [SonatypeClient] [15/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:57:00.403Z  warn [SonatypeClient] [16/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:57:15.419Z  warn [SonatypeClient] [17/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - (SonatypeClient.scala:166)
2022-12-17 00:57:30.440Z  warn [SonatypeClient] [18/243] Execution failed: [404: Not Found] Request failed: {"errors":[{"id":"*","msg":"No activity for repository: orgwvlet-1523"}]}. Retrying in 15.00 sec.  - 

xerial avatar Dec 17 '22 01:12 xerial