Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2251

Error in the release script

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Rejected
    • 5.2.0.Alpha3
    • None
    • None
    • None

    Description

      When running the release script I get a warning and a error when uploading the javadocs:

      [mircea:~/github/u_ispn ]$ bin/release.py 5.2.0.Alpha3 master
      [INFO] Releasing Infinispan version 5.2.0.Alpha3 from branch 'master'
      Are you sure you want to continue? [N]: y
      [INFO] OK, releasing! Please stand by ...
      [INFO] Step 1: Tagging master in git as 5.2.0.Alpha3
      Already on 'master'
      Switched to a new branch '__temp_D068'
      [INFO] Step 1: Complete
      [INFO] Step 2: Updating version number in source files
      [INFO] Step 2: Complete
      [INFO] Step 3: Build and test in Maven2
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
      [ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.54 seconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
      [ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 128 milliseconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
      [ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 95 milliseconds.

      ANTLR Parser Generator Version 3.4
      org/infinispan/cli/interpreter/IspnQL.g
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
      [ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 103 milliseconds.

      xsddoc starting.
      xsddoc finished.
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
      [ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.21 seconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
      [ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 159 milliseconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
      [ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 93 milliseconds.

      ANTLR Parser Generator Version 3.4
      Grammar /Users/mircea/github/u_ispn/cli/cli-server/src/main/antlr3/org/infinispan/cli/interpreter/IspnQL.g is up to date - build skipped
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
      [ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 134 milliseconds.

      > isMarkerOlder:
      artifact1 = /Users/mircea/.m2/repository/javax/cache/cache-tests/0.4/cache-tests-0.4-tests.jar
      marker = /Users/mircea/github/u_ispn/cdi/tck-runner/target/dependency-maven-plugin-markers/javax.cache-cache-tests-jar-tests-0.4.marker
      artifact1 lastModified: 1342020308000
      marker lastModified: 1342020308000
      < false = marker older than artifact?
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/core/src/main/resources/infinispan-core-component-metadata.dat
      [ComponentMetadataPersister] 209 components and 49 factories analyzed and persisted in 1.23 seconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/server/core/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/server/core/src/main/resources/infinispan-server-core-component-metadata.dat
      [ComponentMetadataPersister] 2 components and 0 factories analyzed and persisted in 154 milliseconds.

      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/query/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/query/src/main/resources/infinispan-query-component-metadata.dat
      [ComponentMetadataPersister] 3 components and 0 factories analyzed and persisted in 84 milliseconds.

      ANTLR Parser Generator Version 3.4
      Grammar /Users/mircea/github/u_ispn/cli/cli-server/src/main/antlr3/org/infinispan/cli/interpreter/IspnQL.g is up to date - build skipped
      [ComponentMetadataPersister] Starting component metadata generation. Scanning classes in /Users/mircea/github/u_ispn/cli/cli-server/target/classes
      [ComponentMetadataPersister] Persisted metadata in /Users/mircea/github/u_ispn/cli/cli-server/src/main/resources/infinispan-cli-server-component-metadata.dat
      [ComponentMetadataPersister] 1 components and 0 factories analyzed and persisted in 109 milliseconds.

      > isMarkerOlder:
      artifact1 = /Users/mircea/.m2/repository/javax/cache/cache-tests/0.4/cache-tests-0.4-tests.jar
      marker = /Users/mircea/github/u_ispn/cdi/tck-runner/target/dependency-maven-plugin-markers/javax.cache-cache-tests-jar-tests-0.4.marker
      artifact1 lastModified: 1342020308000
      marker lastModified: 1342020308000
      < false = marker older than artifact?
      [INFO] Step 3: Complete
      [INFO] Step 4: Update Google Analytics tracker
      Executing in current directory
      Done
      [INFO] Step 4: Complete
      [INFO] Step 5: Uploading Javadocs
      [INFO] Step 5: Complete
      [INFO] Step 6: Uploading Artifacts
      [INFO] Step 6: Complete
      [INFO] Step 7: Uploading to configuration XML schema
      [INFO] Step 7: Complete
      [INFO] Step 8: Uploading to configuration documentation
      [INFO] Step 8: Complete
      [INFO] Copying from /Users/mircea/github/u_ispn/target/distribution to 5.2.0.Alpha3
      Executing in current directory
      file has vanished: "/Users/mircea/github/u_ispn/target/distribution/infinispan-5.2.0.Alpha3-all/doc/5.2/apidocs/org/infinispan/client/hotrod/class-use/ServerStatistics.html.tmp"
      Done
      rsync warning: some files vanished before they could be transferred (code 24) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
      Process Process-1:
      Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 232, in _bootstrap
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 88, in run
      File "bin/release.py", line 227, in upload_javadocs
      File "/Users/mircea/github/u_ispn/bin/utils.py", line 350, in upload_rsync
      self.upload(fr, to, flags, list(self.rsync_cmd))
      File "/Users/mircea/github/u_ispn/bin/utils.py", line 357, in upload
      subprocess.check_call(cmd)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 504, in check_call
      CalledProcessError: Command '['rsync', '-r', '--protocol=28', '5.2', 'infinispan@filemgmt.jboss.org:/docs_htdocs/infinispan']' returned non-zero exit status 24
      ^[[B

      [INFO] Step 9: Updating version number for next release
      [INFO] Step 9: Complete
      Counting objects: 177, done.
      Delta compression using up to 4 threads.
      Compressing objects: 100% (86/86), done.
      Writing objects: 100% (91/91), 11.67 KiB, done.
      Total 91 (delta 41), reused 0 (delta 0)
      To git@github.com:infinispan/infinispan.git

      • [new tag] 5.2.0.ALPHA3 -> 5.2.0.ALPHA3
        Switched to branch 'master'
        [INFO]

      Done! Now all you need to do is the remaining post-release tasks as outlined in ...

      Attachments

        Activity

          People

            gzamarre Galder ZamarreƱo
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: