Plugin upload failed again

plugins

(seal.wu) #1

@felipefzdz


(seal.wu) #2

Can anyone help me ?Please help me remove released version 0.6.1~0.6.5 and version 1.0,Thank u !


(Tim Yates) #3

Hi @seal I can delete v0.6.1 to v0.6.5 and v1.0 for you if you want them removing?

You have the following versions between 0.6.1 and 1.0:

1.0
0.9.2
0.9.1
0.9
0.8.1
0.8
0.7
0.6.2
0.6.1

Is it all of them you want removing? Or just 0.6.1 and 0.6.2?

As for the 400 error you saw, this might be caused by a slow or firewalled connection. Do you know if this is the case?

And if you keep getting 400 errors, can you try running the task with --info and --stacktrace to see if we can see some more information that could help?


(seal.wu) #4

Hi @tim_yates Thank you for your reply ,you may catch another plugin ,What I was saw the versions is looks like this :slight_smile:


And I want to delete version 0.6 and upon of all like version 0.6.1,0.6.3,0.6.2,and 1.0


(seal.wu) #5

Look! There is no version 0.6.5 in the list And it tips that I have released version 0.6.5,Can u Tell me what’s happen behind ?Thank U!
@tim_yates


(Tim Yates) #6

Hiya! 0.6.5 was marked as disabled as something must have gone wrong with the upload.

I have deleted it, so can you try again (with the -i command line flag set), so we can diagnose any issues you get with this attempt?

Thanks

Tim


(seal.wu) #7

Hi ,I attempt and receive this error


(seal.wu) #8

And I upload again then it report that I was released at 2017-05-04, But I was released it just then .Is that a problem ?
Thanks


(Tim Yates) #9

Please can you run it with -i, and copy the text of the output, rather than a screenshot?

This is odd, I can see it in out database as being created 10 minutes ago, but disabled

You seem to have a version 0.6.6 which has worked though?


(seal.wu) #10

I changed the version number to 0.6.6 And it seems to be OK now
But I am not sure whether it may happen some problem later as I was make a topic before .

Thank you for your patient answer ,Thanks


(Tim Yates) #11

I think we’ll need to keep an eye on it. I suspect it’s your connection dropping out half way through the process of uploading which is causing it to fail.

I will remove the failed 0.6.5 and 0.6.4 from the database, and keep my fingers crossed that it works in the future…

Running gradle with --info or -i whenever you try to publish will help us diagnose the problem easier

Thanks!

Tim


(seal.wu) #12

Thanks, Hopes the text below could make some works ,It was the info that run gradle with --info :blush:

Executing tasks: [publishPlugins]

The client will now receive all logging from the daemon (pid: 12432). The daemon log file: C:\Users\LENOVO.gradle\daemon\3.3\daemon-12432.out.log
Starting 7th build in daemon [uptime: 11 mins 32.962 secs, performance: 98%, GC rate: 0.07/s, tenured heap usage: 5% of 1.1 GB]
Closing daemon’s stdin at end of input.
Executing build with daemon context: DefaultDaemonContext[uid=1d1dac5b-a794-4cff-bd2e-8ab4badc6b3c,javaHome=C:\Program Files\Java\jdk1.8.0_92,daemonRegistryDir=C:\Users\LENOVO.gradle\daemon,pid=12432,idleTimeout=10800000,daemonOpts=-Xmx1536m,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]
The daemon will no longer process any standard input.
Creating new cache for plugin-use-metadata, path C:\Users\LENOVO.gradle\caches\3.3\plugin-resolution\plugin-use-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@654bed1b
Creating new cache for client-status, path C:\Users\LENOVO.gradle\caches\3.3\plugin-resolution\client-status.bin, access org.gradle.cache.internal.DefaultCacheAccess@654bed1b
Starting Build
Settings evaluated using settings file ‘D:\Android-Projects\GradlePluginTest\settings.gradle’.
Projects loaded. Root project using build file ‘D:\Android-Projects\GradlePluginTest\build.gradle’.
Included projects: [root project ‘GradlePluginTest’, project ‘:app’, project ‘:sdkplugin’]
Configuration on demand is an incubating feature.
Evaluating root project ‘GradlePluginTest’ using build file ‘D:\Android-Projects\GradlePluginTest\build.gradle’.
Creating new cache for metadata-2.23/module-metadata, path C:\Users\LENOVO.gradle\caches\modules-2\metadata-2.23\module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@57dbce6e
Creating new cache for metadata-2.23/artifact-at-repository, path C:\Users\LENOVO.gradle\caches\modules-2\metadata-2.23\artifact-at-repository.bin, access org.gradle.cache.internal.DefaultCacheAccess@57dbce6e
Using 8 worker leases.
Evaluating project ‘:app’ using build file ‘D:\Android-Projects\GradlePluginTest\app\build.gradle’.
Creating configuration compile
Creating configuration apk
Creating configuration provided
Creating configuration wearApp
Creating configuration annotationProcessor
Creating configuration jackPlugin
Creating configuration androidTestCompile
Creating configuration androidTestApk
Creating configuration androidTestProvided
Creating configuration androidTestWearApp
Creating configuration androidTestAnnotationProcessor
Creating configuration androidTestJackPlugin
Creating configuration testCompile
Creating configuration testApk
Creating configuration testProvided
Creating configuration testWearApp
Creating configuration testAnnotationProcessor
Creating configuration testJackPlugin
Creating configuration debugCompile
Creating configuration debugApk
Creating configuration debugProvided
Creating configuration debugWearApp
Creating configuration debugAnnotationProcessor
Creating configuration debugJackPlugin
Creating configuration testDebugCompile
Creating configuration testDebugApk
Creating configuration testDebugProvided
Creating configuration testDebugWearApp
Creating configuration testDebugAnnotationProcessor
Creating configuration testDebugJackPlugin
Creating configuration releaseCompile
Creating configuration releaseApk
Creating configuration releaseProvided
Creating configuration releaseWearApp
Creating configuration releaseAnnotationProcessor
Creating configuration releaseJackPlugin
Creating configuration testReleaseCompile
Creating configuration testReleaseApk
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Creating configuration testReleaseJackPlugin
Parsing the SDK, no caching allowed
SDK initialized in 336 ms
Using incremental javac compilation for :app debug.
Incremental java compilation is an incubating feature.
Not using incremental javac compilation for :app debugUnitTest.
Using incremental javac compilation for :app release.
Not using incremental javac compilation for :app releaseUnitTest.
Not using incremental javac compilation for :app debugAndroidTest.
Evaluating project ‘:sdkplugin’ using build file ‘D:\Android-Projects\GradlePluginTest\sdkplugin\build.gradle’.
Selected primary task ‘publishPlugins’ from project :
All projects evaluated.
Tasks to be executed: [task ‘:sdkplugin:compileJava’, task ‘:sdkplugin:compileGroovy’, task ‘:sdkplugin:processResources’, task ‘:sdkplugin:classes’, task ‘:sdkplugin:jar’, task ‘:sdkplugin:groovydoc’, task ‘:sdkplugin:publishPluginGroovyDocsJar’, task ‘:sdkplugin:publishPluginJar’, task ‘:sdkplugin:javadoc’, task ‘:sdkplugin:publishPluginJavaDocsJar’, task ‘:sdkplugin:publishPlugins’]
Creating new cache for fileHashes, path D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@6b9bd787
In-memory cache of D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\fileHashes.bin: Size{1341}, CacheStats{hitCount=2504, missCount=1341, loadSuccessCount=1341, loadExceptionCount=0, totalLoadTime=75331326, evictionCount=0}
Creating new cache for fileSnapshots, path D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\fileSnapshots.bin, access org.gradle.cache.internal.DefaultCacheAccess@6b9bd787
In-memory cache of D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\fileSnapshots.bin: Size{192}, CacheStats{hitCount=99, missCount=118, loadSuccessCount=118, loadExceptionCount=0, totalLoadTime=17799160, evictionCount=0}
Creating new cache for taskArtifacts, path D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\taskArtifacts.bin, access org.gradle.cache.internal.DefaultCacheAccess@6b9bd787
In-memory cache of D:\Android-Projects\GradlePluginTest.gradle\3.3\taskArtifacts\taskArtifacts.bin: Size{24}, CacheStats{hitCount=24, missCount=24, loadSuccessCount=24, loadExceptionCount=0, totalLoadTime=46755322, evictionCount=0}
:sdkplugin:compileJava (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:compileJava
Putting task artifact state for task ‘:sdkplugin:compileJava’ into context took 0.0 secs.
file or directory ‘D:\Android-Projects\GradlePluginTest\sdkplugin\src\main\java’, not found
Skipping task ‘:sdkplugin:compileJava’ as it has no source files and no previous output files.
:sdkplugin:compileJava UP-TO-DATE
:sdkplugin:compileJava (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.002 secs.
:sdkplugin:compileGroovy (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:compileGroovy
Putting task artifact state for task ‘:sdkplugin:compileGroovy’ into context took 0.001 secs.
Task :sdkplugin:compileGroovy class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:compileGroovy actions class loader hash: 18198991b357e4282b88db10fdb1e992
Skipping task ‘:sdkplugin:compileGroovy’ as it is up-to-date (took 0.027 secs).
:sdkplugin:compileGroovy UP-TO-DATE
:sdkplugin:compileGroovy (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.035 secs.
:sdkplugin:processResources (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:processResources
Putting task artifact state for task ‘:sdkplugin:processResources’ into context took 0.001 secs.
Task :sdkplugin:processResources class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:processResources actions class loader hash: e73b7abdd73d9346265974d08e88519c
Skipping task ‘:sdkplugin:processResources’ as it is up-to-date (took 0.003 secs).
:sdkplugin:processResources UP-TO-DATE
:sdkplugin:processResources (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.009 secs.
:sdkplugin:classes (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:classes
Skipping task ‘:sdkplugin:classes’ as it has no actions.
:sdkplugin:classes UP-TO-DATE
:sdkplugin:classes (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.001 secs.
:sdkplugin:jar (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:jar
Putting task artifact state for task ‘:sdkplugin:jar’ into context took 0.001 secs.
Task :sdkplugin:jar class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:jar actions class loader hash: e73b7abdd73d9346265974d08e88519c
Skipping task ‘:sdkplugin:jar’ as it is up-to-date (took 0.007 secs).
:sdkplugin:jar UP-TO-DATE
:sdkplugin:jar (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.01 secs.
:sdkplugin:groovydoc (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:groovydoc
Putting task artifact state for task ‘:sdkplugin:groovydoc’ into context took 0.001 secs.
Task :sdkplugin:groovydoc class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:groovydoc actions class loader hash: 18198991b357e4282b88db10fdb1e992
Skipping task ‘:sdkplugin:groovydoc’ as it is up-to-date (took 0.013 secs).
:sdkplugin:groovydoc UP-TO-DATE
:sdkplugin:groovydoc (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.018 secs.
:sdkplugin:publishPluginGroovyDocsJar (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:publishPluginGroovyDocsJar
Putting task artifact state for task ‘:sdkplugin:publishPluginGroovyDocsJar’ into context took 0.0 secs.
Task :sdkplugin:publishPluginGroovyDocsJar class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:publishPluginGroovyDocsJar actions class loader hash: e73b7abdd73d9346265974d08e88519c
Skipping task ‘:sdkplugin:publishPluginGroovyDocsJar’ as it is up-to-date (took 0.004 secs).
:sdkplugin:publishPluginGroovyDocsJar UP-TO-DATE
:sdkplugin:publishPluginGroovyDocsJar (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.007 secs.
:sdkplugin:publishPluginJar (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:publishPluginJar
Putting task artifact state for task ‘:sdkplugin:publishPluginJar’ into context took 0.0 secs.
Task :sdkplugin:publishPluginJar class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:publishPluginJar actions class loader hash: e73b7abdd73d9346265974d08e88519c
file or directory ‘D:\Android-Projects\GradlePluginTest\sdkplugin\src\main\java’, not found
Skipping task ‘:sdkplugin:publishPluginJar’ as it is up-to-date (took 0.006 secs).
:sdkplugin:publishPluginJar UP-TO-DATE
:sdkplugin:publishPluginJar (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.009 secs.
:sdkplugin:javadoc (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:javadoc
Putting task artifact state for task ‘:sdkplugin:javadoc’ into context took 0.0 secs.
file or directory ‘D:\Android-Projects\GradlePluginTest\sdkplugin\src\main\java’, not found
Skipping task ‘:sdkplugin:javadoc’ as it has no source files and no previous output files.
:sdkplugin:javadoc UP-TO-DATE
:sdkplugin:javadoc (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.003 secs.
:sdkplugin:publishPluginJavaDocsJar (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:publishPluginJavaDocsJar
Putting task artifact state for task ‘:sdkplugin:publishPluginJavaDocsJar’ into context took 0.0 secs.
Task :sdkplugin:publishPluginJavaDocsJar class loader hash: 01d9458a7e5b59caccdb01424c57a842
Task :sdkplugin:publishPluginJavaDocsJar actions class loader hash: e73b7abdd73d9346265974d08e88519c
Skipping task ‘:sdkplugin:publishPluginJavaDocsJar’ as it is up-to-date (took 0.001 secs).
:sdkplugin:publishPluginJavaDocsJar UP-TO-DATE
:sdkplugin:publishPluginJavaDocsJar (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.003 secs.
:sdkplugin:publishPlugins (Thread[Daemon worker Thread 3,5,main]) started.
:sdkplugin:publishPlugins
Putting task artifact state for task ‘:sdkplugin:publishPlugins’ into context took 0.0 secs.
Executing task ‘:sdkplugin:publishPlugins’ (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Publishing plugin i.sdk version 0.6.5
:sdkplugin:publishPlugins FAILED
:sdkplugin:publishPlugins (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.93 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:sdkplugin:publishPlugins’.

Failed to post to server.
Server responded with:
Plugin: ‘i.sdk’, version: ‘0.6.5’ exists already. It was created: 2017-05-04 09:54:21.231

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 2.107 secs
Stopped 0 worker daemon(s).


(Tim Yates) #13

I have removed the failed uploads for 0.6.5 and 0.6.4

If you have any more issues, please post another request (with the --info as you just did), and someone will take a look

Hopefully moving on from 0.6.6 we won’t see any more issues

Cheers,

Tim


(seal.wu) #14

Cheers !
Thank you for your help very much !