Skip to content

Dotty 0.16.0 was not released completely because of the CI resources problem #6922

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

Closed
anatoliykmetyuk opened this issue Jul 24, 2019 · 5 comments
Labels
itype:meta Issues about process/similar

Comments

@anatoliykmetyuk
Copy link
Contributor

The release CI task encountered the same problem as #6832 multiple times. Namely the CI task was terminating abruptly at a random point, without an error message or apparent reason to do so. One time it happened on test_java11 task. Another time it happened on publish_release task which wrote some artefacts (but not all) to Sonatype. When I tried to re-run the task, it now terminated with a proper error once it tried to publish artefacts that were already published.

This diff shows which artefacts were not published (to the left, an example of a correct publish of 0.17.0-RC1, to the right, the broken publish of 0.16.0; versions replaced with a placeholder for clear diff). Precisely, the following artefacts were not published:

dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number-javadoc.jar 
dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number-sources.jar 
dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number.jar   
dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number.jar.asc   
dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number.pom   
dotty-sbt-bridge to https://oss.sonatype.org/service/local/staging/deploy/maven2/ch/epfl/lamp/dotty-sbt-bridge/version-number/dotty-sbt-bridge-version-number.pom.asc 

Hence, here, the 0.16.0 folder is absent at all.

So we need to manually publish the missing artefacts, and to investigate these CI failures. Unfortunately, I can't do it since I don't have access to the CI machine.

@anatoliykmetyuk anatoliykmetyuk added the itype:meta Issues about process/similar label Jul 24, 2019
@anatoliykmetyuk
Copy link
Contributor Author

anatoliykmetyuk commented Jul 24, 2019

By the way, the CI failure in question happened more for that release, but for a different commit: one, two. The first time failed on test_scala212, the second time – on test_sbt. After talking to @nicolasstucki, I cherry-picked his commit that dropped test_scala212 since it is now not crucial to have (even though 0.16.0 should in principle compile against 2.12). The failures in the post above are what happened after the test was removed.

Another observation: the CI managed to reach the publish task at the time the load was small (I remember one-two tasks running together with mine). It failed earlier when there were many tasks running in parallel (4-5), which leads me to believe the reason is that the CI machine suffers from bad resource management.

@anatoliykmetyuk anatoliykmetyuk changed the title Dotty 0.16.0 was not released completely Dotty 0.16.0 was not released completely because of the CI resources problem Jul 24, 2019
@smarter
Copy link
Member

smarter commented Jul 24, 2019

Related: #6641

@OlivierBlanvillain
Copy link
Contributor

Did this happen again? Does it make sense to keep the issue open?

@anatoliykmetyuk
Copy link
Contributor Author

No, 0.18.1-RC1 and 0.17.0 were released properly. We should keep this open however since 0.16.0 is corrupted and we must fix it at some point.

smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
smarter added a commit to dotty-staging/dotty that referenced this issue Sep 10, 2019
The new sbt-sonatype adds a command to publish all modules in one
step (`sonatypeBundleRelease`) which should avoid getting into
inconsistent states (scala#7190, scala#6922).
@liufengyun
Copy link
Contributor

Close now, I think no users will care about 0.16.0 anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
itype:meta Issues about process/similar
Projects
None yet
Development

No branches or pull requests

4 participants