trajano / reverse-proxy-auth-sonar-plugin

This plugin allows delegation of SonarQube authentication to the reverse proxy via HTTP Header.
http://site.trajano.net/reverse-proxy-auth-sonar-plugin
Eclipse Public License 1.0
3 stars 8 forks source link

Rultor Release #10

Open trajano opened 7 years ago

trajano commented 7 years ago

@rultor release, tag=6.0.2.40

trajano commented 7 years ago

@rultor config

rultor commented 7 years ago

@rultor release, tag=6.0.2.40

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.40

@trajano Oops, I failed. You can see the full log here (spent 13s)

Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'tar xf ../deploy-keys.tar -C $HOME' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'tar xf ../deploy-keys.tar -C $HOME' ';' 'mvn --batch-mode release:prepare -DreleaseVersion=${tag}' ';'
+ gpgconf --reload gpg-agent
+ gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net
Version: SKS 1.1.6
gpg: armor header: 
Comment: Hostname: pgp.key-server.org
gpg: armor header: 
gpg: pub  2048R/9AF0FA4C 2014-08-17  Rultor.com <gpg@rultor.com>
gpg: key 9AF0FA4C: "Rultor.com <gpg@rultor.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
+ gpg --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-RHFe/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-RHFe/.gpg/secring.gpg --decrypt repo/deploy-keys.tar.asc
gpg: public key is 9A839C3A
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: encrypted with 2048-bit RSA key, ID 9A839C3A, created 2014-08-17
      "Rultor.com <gpg@rultor.com>"
gpg: AES256 encrypted data
gpg: original file name='rultor-G885'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:trajano/reverse-proxy-auth-sonar-plugin deploy-keys.tar.enc
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='deploy-keys.tar'
+ rm -rf deploy-keys.tar.enc
+ rm -rf .gpg
+ '[' -z '' ']'
+ echo 'tag name is not provided in the request, see http://doc.rultor.com/basics.html'
tag name is not provided in the request, see http://doc.rultor.com/basics.html
+ exit -1
'cid' file is absent, container wasn't started correctly
rultor commented 7 years ago

@rultor config

@trajano This is how I understand the .rultor.yml file in the root directory of your base branch:

<?xml version="1.0" encoding="UTF-8"?>
<p>
   <entry key="architect">
      <item>trajano</item>
   </entry>
   <entry key="decrypt">
      <entry key="deploy-keys.tar">repo/deploy-keys.tar.asc</entry>
   </entry>
   <entry key="install">
      <item>tar xf ../deploy-keys.tar -C $HOME</item>
   </entry>
   <entry key="release">
      <entry key="script">mvn --batch-mode release:prepare -DreleaseVersion=${tag}</entry>
   </entry>
</p>

This page explains how to configure it.

trajano commented 7 years ago

@rultor release, tag=6.0.2.40

rultor commented 7 years ago

@rultor release, tag=6.0.2.40

@trajano OK, I will release it now. Please check the progress here

trajano commented 7 years ago

@rultor release, tag=6.0.2.40

I just changed it to use a docker image as per https://github.com/libreio/libre/issues/46#issuecomment-77433829

trajano commented 7 years ago

Perhaps change to dockerfile/java:oracle-java8

trajano commented 7 years ago

@rultor release, tag=6.0.2.41

rultor commented 7 years ago

@rultor release, tag=6.0.2.41

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.41

@trajano Oops, I failed. You can see the full log here (spent 11s)

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-5sUp/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-5sUp/.gpg/secring.gpg --decrypt repo/deploy-keys.tar.asc
gpg: public key is 9A839C3A
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: encrypted with 2048-bit RSA key, ID 9A839C3A, created 2014-08-17
      "Rultor.com <gpg@rultor.com>"
gpg: AES256 encrypted data
gpg: original file name='rultor-G885'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:trajano/reverse-proxy-auth-sonar-plugin deploy-keys.tar.enc
gpg: AES encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='deploy-keys.tar'
+ rm -rf deploy-keys.tar.enc
+ rm -rf .gpg
+ '[' -z 6.0.2.41 ']'
+ [[ 6.0.2.41 =~ ^[a-zA-Z0-9\\.\\-]+$ ]]
+ echo 'tag name is valid: "6.0.2.41"'
tag name is valid: "6.0.2.41"
+ cd repo
++ git tag -l 6.0.2.41
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.05
++ echo 0.05 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.05, low enough to run a new Docker container'
load average is 0.05, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=dockerfile/java:oracle-java8
+ docker pull dockerfile/java:oracle-java8
Trying to pull repository docker.io/dockerfile/java ... not found
Error: image dockerfile/java:oracle-java8 not found
'cid' file is absent, container wasn't started correctly
trajano commented 7 years ago

@rultor release, tag=6.0.2.41

rultor commented 7 years ago

@rultor release, tag=6.0.2.41

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.41

@trajano Oops, I failed. You can see the full log here (spent 1min)

09d5c9ef1b65: Download complete
a648c6dd449e: Verifying Checksum
a648c6dd449e: Download complete
09d5c9ef1b65: Pull complete
ae9ef486ae1e: Pull complete
5582890bf3d1: Pull complete
74f56ce8a647: Pull complete
ca4437ed8fa9: Pull complete
a1fe94f206f6: Pull complete
1805b3853155: Pull complete
9404f87352f0: Pull complete
47e9901c25d3: Pull complete
4e1e03b977df: Pull complete
6e50af420cb4: Pull complete
cc268ff34ad5: Pull complete
a648c6dd449e: Pull complete
2fd0ab3437b2: Pull complete
Digest: sha256:b4895c488a7ec88c23c14d15b6e0b0ef245117de4091393e22596a4d4acf61dc
Status: Downloaded newer image for docker.io/openjdk:8

+ docker ps --filter=status=exited
+ grep --quiet '\strajano_reverse-proxy-auth-sonar-plugin_10\s*$'
+ ls -al .
total 60
drwx--x--x  3 rultor rultor   119 Mar  8 18:51 .
drwxrwxrwt. 9 root   root    4096 Mar  8 18:51 ..
-rw-rw-r--  1 rultor rultor 20480 Mar  8 18:51 deploy-keys.tar
-rw-rw-r--  1 rultor rultor   444 Mar  8 18:51 end.sh
-rwxrwxr-x  1 rultor rultor   326 Mar  8 18:51 entry.sh
-rw-rw-r--  1 rultor rultor     6 Mar  8 18:51 pid
drwxrwxr-x  4 rultor rultor  4096 Mar  8 18:51 repo
-rwxrwxr-x  1 rultor rultor  4617 Mar  8 18:51 run.sh
-rw-rw-r--  1 rultor rultor   174 Mar  8 18:51 script.sh
-rw-rw-r--  1 rultor rultor  5753 Mar  8 18:52 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-vDxq:/main --env=head=git@github.com:trajano/reverse-proxy-auth-sonar-plugin.git --env=head_branch=master --env=tag=6.0.2.41 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-vDxq/cid -w=/main --name=trajano_reverse-proxy-auth-sonar-plugin_10 openjdk:8 /main/entry.sh
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.profile /home/r
+ cp -R ./cid ./deploy-keys.tar ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ tar xf ../deploy-keys.tar -C /home/r
+ mvn --batch-mode release:prepare -DreleaseVersion=6.0.2.41
/home/r/script.sh: line 7: mvn: command not found
container f7c2a00500c3d81976e5338b45a9d35a7f97b6b7d1eac80c6063e1df260e6336 is dead
Wed Mar  8 18:53:00 UTC 2017
trajano commented 7 years ago

@rultor release, tag=6.0.2.42

rultor commented 7 years ago

@rultor release, tag=6.0.2.42

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.42

@trajano Oops, I failed. You can see the full log here (spent 1min)

[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.pom (4 KB at 276.3 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.pom (3 KB at 168.6 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom (12 KB at 797.4 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom (52 KB at 1524.8 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.6.3/plexus-archiver-2.6.3.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.jar
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.6.3/plexus-archiver-2.6.3.jar (129 KB at 4750.8 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.jar (65 KB at 2317.5 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.jar (238 KB at 6780.1 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar (357 KB at 8706.9 KB/sec)
[INFO] [INFO] Building jar: /home/r/repo/target/reverse-proxy-auth-sonar-plugin-6.0.2.42-sources.jar
[INFO] [INFO] 
[INFO] [INFO] >>> maven-source-plugin:2.4:test-jar (attach-sources) > generate-sources @ reverse-proxy-auth-sonar-plugin >>>
[INFO] [INFO] 
[INFO] [INFO] --- sonar-packaging-maven-plugin:1.17:check (default-check) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] 
[INFO] [INFO] --- cleanpom-maven-plugin:1.1.0:clean-xml (default) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] 
[INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] argLine set to -javaagent:/home/r/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/r/repo/target/jacoco.exec
[INFO] [INFO] 
[INFO] [INFO] <<< maven-source-plugin:2.4:test-jar (attach-sources) < generate-sources @ reverse-proxy-auth-sonar-plugin <<<
[INFO] [INFO] 
[INFO] [INFO] --- maven-source-plugin:2.4:test-jar (attach-sources) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] Building jar: /home/r/repo/target/reverse-proxy-auth-sonar-plugin-6.0.2.42-test-sources.jar
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 13.443 s
[INFO] [INFO] Finished at: 2017-03-08T19:01:29+00:00
[INFO] [INFO] Final Memory: 32M/400M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] commit done: [maven-release-plugin] prepare release reverse-proxy-auth-sonar-plugin-6.0.2.42
[INFO] push changes to remote... refs/heads/__rultor:refs/heads/__rultor
[INFO] fetch url: ssh://git@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] push url: ssh://git@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.367 s
[INFO] Finished at: 2017-03-08T19:01:29+00:00
[INFO] Final Memory: 27M/241M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project reverse-proxy-auth-sonar-plugin: An error is occurred in the checkin process: Exception while executing SCM command. JGit checkin failure! ssh://git@github.com/trajano/reverse-proxy-auth-sonar-plugin.git: Auth fail -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container e0709a6280ff6057482cf94a42cf7b2bbbcedf225d26907bb90fea634c82b55d is dead
Wed Mar  8 19:02:11 UTC 2017
trajano commented 7 years ago

@rultor release, tag=6.0.2.43

Switched to HTTPS developer connections and updated settings.xml to contain it.

trajano commented 7 years ago

@rultor release, tag=6.0.2.43

rultor commented 7 years ago

@rultor release, tag=6.0.2.43

@trajano OK, I will release it now. Please check the progress here

trajano commented 7 years ago

@rultor release, tag=6.0.2.44

rultor commented 7 years ago

@rultor release, tag=6.0.2.44

@trajano OK, I will release it now. Please check the progress here

trajano commented 7 years ago

@rultor release, tag=6.0.2.45

trajano commented 7 years ago

@rultor release, tag=6.0.2.50

rultor commented 7 years ago

@rultor release, tag=6.0.2.50

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.50

@trajano Oops, I failed. You can see the full log here (spent 1min)

[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.pom (4 KB at 255.0 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.pom (3 KB at 168.6 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom (12 KB at 372.1 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-parent/33/commons-parent-33.pom (52 KB at 1364.3 KB/sec)
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.6.3/plexus-archiver-2.6.3.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
[INFO] [INFO] Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.jar
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/2.6.3/plexus-archiver-2.6.3.jar (129 KB at 6751.1 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-io/2.1.3/plexus-io-2.1.3.jar (65 KB at 3244.5 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.18/plexus-utils-3.0.18.jar (238 KB at 10317.6 KB/sec)
[INFO] [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar (357 KB at 12309.8 KB/sec)
[INFO] [INFO] Building jar: /home/r/repo/target/reverse-proxy-auth-sonar-plugin-6.0.2.50-sources.jar
[INFO] [INFO] 
[INFO] [INFO] >>> maven-source-plugin:2.4:test-jar (attach-sources) > generate-sources @ reverse-proxy-auth-sonar-plugin >>>
[INFO] [INFO] 
[INFO] [INFO] --- sonar-packaging-maven-plugin:1.17:check (default-check) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] 
[INFO] [INFO] --- cleanpom-maven-plugin:1.1.0:clean-xml (default) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] 
[INFO] [INFO] --- jacoco-maven-plugin:0.7.7.201606060606:prepare-agent (default) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] argLine set to -javaagent:/home/r/.m2/repository/org/jacoco/org.jacoco.agent/0.7.7.201606060606/org.jacoco.agent-0.7.7.201606060606-runtime.jar=destfile=/home/r/repo/target/jacoco.exec
[INFO] [INFO] 
[INFO] [INFO] <<< maven-source-plugin:2.4:test-jar (attach-sources) < generate-sources @ reverse-proxy-auth-sonar-plugin <<<
[INFO] [INFO] 
[INFO] [INFO] --- maven-source-plugin:2.4:test-jar (attach-sources) @ reverse-proxy-auth-sonar-plugin ---
[INFO] [INFO] Building jar: /home/r/repo/target/reverse-proxy-auth-sonar-plugin-6.0.2.50-test-sources.jar
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 11.871 s
[INFO] [INFO] Finished at: 2017-03-08T20:46:57+00:00
[INFO] [INFO] Final Memory: 32M/401M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] commit done: [maven-release-plugin] prepare release reverse-proxy-auth-sonar-plugin-6.0.2.50
[INFO] push changes to remote... refs/heads/__rultor:refs/heads/__rultor
[INFO] fetch url: https://a48f7ad5e1fc3a17438581dfe013fd4e6e1fce7d@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] push url: https://a48f7ad5e1fc3a17438581dfe013fd4e6e1fce7d@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.415 s
[INFO] Finished at: 2017-03-08T20:46:57+00:00
[INFO] Final Memory: 27M/247M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project reverse-proxy-auth-sonar-plugin: An error is occurred in the checkin process: Exception while executing SCM command. JGit checkin failure! https://a48f7ad5e1fc3a17438581dfe013fd4e6e1fce7d@github.com/trajano/reverse-proxy-auth-sonar-plugin.git: Authentication is required but no CredentialsProvider has been registered -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 08d28a225246076540ee577d8ce5e14e281ac6d0f4375d6921b1d74e24126917 is dead
Wed Mar  8 20:47:42 UTC 2017
trajano commented 7 years ago

@rultor release, tag=6.0.2.51

rultor commented 7 years ago

@rultor release, tag=6.0.2.51

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.51

@trajano Oops, I failed. You can see the full log here (spent 1min)

+ cd ..
+ '[' -n '' ']'
+ use_image=maven:latest
+ docker pull maven:latest
Trying to pull repository docker.io/library/maven ... latest: Pulling from library/maven
Digest: sha256:6c44ed10eae809abaa471df220ab00753c50184c89fd47b980fae4685bb0de57
Status: Image is up to date for docker.io/maven:latest

+ docker ps --filter=status=exited
+ grep --quiet '\strajano_reverse-proxy-auth-sonar-plugin_10\s*$'
+ ls -al .
total 56
drwx--x--x  3 rultor rultor   119 Mar  8 20:52 .
drwxrwxrwt. 9 root   root    4096 Mar  8 20:52 ..
-rw-rw-r--  1 rultor rultor 20480 Mar  8 20:52 deploy-keys.tar
-rw-rw-r--  1 rultor rultor   444 Mar  8 20:52 end.sh
-rwxrwxr-x  1 rultor rultor   326 Mar  8 20:52 entry.sh
-rw-rw-r--  1 rultor rultor     6 Mar  8 20:52 pid
drwxrwxr-x  4 rultor rultor  4096 Mar  8 20:52 repo
-rwxrwxr-x  1 rultor rultor  4643 Mar  8 20:52 run.sh
-rw-rw-r--  1 rultor rultor   193 Mar  8 20:52 script.sh
-rw-rw-r--  1 rultor rultor  4065 Mar  8 20:52 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-mYmB:/main --env=head=git@github.com:trajano/reverse-proxy-auth-sonar-plugin.git --env=head_branch=master --env=tag=6.0.2.51 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-mYmB/cid -w=/main --name=trajano_reverse-proxy-auth-sonar-plugin_10 maven:latest /main/entry.sh
Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.m2 /root/.profile /home/r
+ cp -R ./cid ./deploy-keys.tar ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ tar xf ../deploy-keys.tar -C /home/r
+ ls -l /home/r/.m2/
total 28
-rw-r--r-- 1 r r  194 Mar  8 20:52 copy_reference_file.log
-rw-r--r-- 1 r r 1692 Mar  8 20:30 pubring.gpg
-rw-r--r-- 1 r r 1856 Mar  8 20:30 secring.gpg
-rw-r--r-- 1 r r  327 Mar  8 20:52 settings-docker.xml
-rw-r--r-- 1 r r 1315 Mar  8 20:30 settings.xml
-rw-r--r-- 1 r r 1766 Mar  8 20:30 site
-rw-r--r-- 1 r r  392 Mar  8 20:30 site.pub
+ mvn --batch-mode release:prepare -DreleaseVersion=6.0.2.51
[ERROR] Error executing Maven.
[ERROR] 1 problem was encountered while building the effective settings
[FATAL] Non-parseable settings /home/r/.m2/settings.xml: end tag name </username> must be the same as start tag <usernane> from line 27 (position: TEXT seen ...<usernane>trajano</username>... @27:32)  @ /home/r/.m2/settings.xml, line 27, column 32

container 43989badafe3876bc0b175f4d10e4209d825c78bee86b874d24d36df0181eb0c is dead
Wed Mar  8 20:53:42 UTC 2017
trajano commented 7 years ago

@rultor release, tag=6.0.2.52

rultor commented 7 years ago

@rultor release, tag=6.0.2.52

@trajano OK, I will release it now. Please check the progress here

rultor commented 7 years ago

@rultor release, tag=6.0.2.52

@trajano Oops, I failed. You can see the full log here (spent 1min)

[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 11.059 s
[INFO] [INFO] Finished at: 2017-03-08T20:57:45+00:00
[INFO] [INFO] Final Memory: 32M/408M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] commit done: [maven-release-plugin] prepare release reverse-proxy-auth-sonar-plugin-6.0.2.52
[INFO] push changes to remote... refs/heads/__rultor:refs/heads/__rultor
[INFO] fetch url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] push url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] OK - RemoteRefUpdate[remoteName=refs/heads/__rultor, OK, (null)...e73e93590859dc4b11dd1bfcb080c886317cee49, fastForward, srcRef=refs/heads/__rultor, message=null]
[INFO] Tagging release with the label reverse-proxy-auth-sonar-plugin-6.0.2.52...
[INFO] push tag [reverse-proxy-auth-sonar-plugin-6.0.2.52] to remote...
[INFO] fetch url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] push url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] OK - RemoteRefUpdate[remoteName=refs/tags/reverse-proxy-auth-sonar-plugin-6.0.2.52, OK, (null)...4287f8bc1b5747732a28e22516781ca3d7e0c525, fastForward, srcRef=refs/tags/reverse-proxy-auth-sonar-plugin-6.0.2.52, message=null]
[INFO] Transforming 'Reverse Proxy Authenticator'...
[INFO] Not removing release POMs
[INFO] Checking in modified POMs...
[INFO] commit done: [maven-release-plugin] prepare for next development iteration
[INFO] push changes to remote... refs/heads/__rultor:refs/heads/__rultor
[INFO] fetch url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] push url: https://trajano:******@github.com/trajano/reverse-proxy-auth-sonar-plugin.git
[INFO] OK - RemoteRefUpdate[remoteName=refs/heads/__rultor, OK, (null)...62fea3cee8b9ef7c092951b2890b1948aee448c2, fastForward, srcRef=refs/heads/__rultor, message=null]
[INFO] Release preparation complete.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30.304 s
[INFO] Finished at: 2017-03-08T20:57:52+00:00
[INFO] Final Memory: 27M/243M
[INFO] ------------------------------------------------------------------------
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 6.0.2.52 -m '6.0.2.52: tagged by rultor.com'
+ git reset --hard
HEAD is now at 62fea3c [maven-release-plugin] prepare for next development iteration
+ git clean -fd
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was 62fea3c).
+ git push --all origin
ERROR: Permission to trajano/reverse-proxy-auth-sonar-plugin.git denied to rultor.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
container e89add62ca9b6c33ed7474aebe45ae77a0ebccd70617130735a07f5188964d33 is dead
Wed Mar  8 20:58:34 UTC 2017
trajano commented 7 years ago

@rultor deploy, tag=6.0.2.52

rultor commented 7 years ago

@rultor deploy, tag=6.0.2.52

@trajano OK, I'll try to deploy now. You can check the progress here

rultor commented 7 years ago

@rultor deploy, tag=6.0.2.52

@trajano Done! FYI, the full log is here (took me 1min)