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

publish fail #213

Closed
oshai opened this issue Dec 15, 2021 · 7 comments
Closed

publish fail #213

oshai opened this issue Dec 15, 2021 · 7 comments

Comments

@oshai
Copy link
Owner

oshai commented Dec 15, 2021

https://github.com/MicroUtils/kotlin-logging/runs/4537658897?check_suite_focus=true
error is:

> Task :closeSonatypeStagingRepository FAILED
FAILURE: Build failed with an exception.


Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
* What went wrong:

Execution failed for task ':closeSonatypeStagingRepository'.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
> Staging repository is still transitioning after defined time. Consider its increment. StagingRepository(id=iogithubmicroutils-1132, state=open, transitioning=true)


See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
* Try:

Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Execution optimizations have been disabled for 10 invalid unit(s) of work during this build to ensure correctness.

Please consult deprecation warnings for more details.
* Exception is:
62 actionable tasks: 62 executed
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':closeSonatypeStagingRepository'.
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:188)
	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:186)
	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:174)
	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
	at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
	at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
	at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
	at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:79)
	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:79)
	at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
	at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:74)
	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecu
@oshai
Copy link
Owner Author

oshai commented Dec 15, 2021

trying to revert #209

oshai added a commit that referenced this issue Dec 15, 2021
@severn-everett
Copy link
Contributor

What does the normal output of the Publish task look like?

@oshai
Copy link
Owner Author

oshai commented Dec 15, 2021

Normal publish looks like this: https://github.com/MicroUtils/kotlin-logging/runs/4491939685?check_suite_focus=true

I am trying to revert commits to triage it.

@oshai
Copy link
Owner Author

oshai commented Dec 15, 2021

I see that sonatype are doing maintanance now:

Caused by: java.lang.RuntimeException: Failed to load staging profiles, server at https://oss.sonatype.org/service/local/ responded with status code 405, body: Method not allowed during maintenance

@severn-everett
Copy link
Contributor

severn-everett commented Dec 15, 2021 via email

@oshai
Copy link
Owner Author

oshai commented Dec 15, 2021

I release now 2.1.17 from earlier today (the first one):
image

@oshai
Copy link
Owner Author

oshai commented Dec 15, 2021

2.1.17 contains all fixes from today.
I will later try to release 2.1.20 (no changes).

@oshai oshai closed this as completed Dec 16, 2021
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

No branches or pull requests

2 participants