yegor256 / netbout

Private talks made easy ... for robots
https://www.netbout.com/
MIT License
41 stars 35 forks source link

migrate to Dokku #1157

Closed yegor256 closed 9 months ago

yegor256 commented 5 years ago

@rultor release, tag is 2.23.1

yegor256 commented 5 years ago

@rultor ping

yegor256 commented 5 years ago

@rultor release, tag is 2.23.1

rultor commented 5 years ago

@rultor release, tag is 2.23.1

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

rultor commented 5 years ago

@rultor release, tag is 2.23.1

@yegor256 Oops, I failed. You can see the full log here (spent 2hr)

  187. es_PE.UTF-8 UTF-8              428. th_TH.UTF-8 UTF-8
  188. es_PR ISO-8859-1               429. the_NP UTF-8
  189. es_PR.UTF-8 UTF-8              430. ti_ER UTF-8
  190. es_PY ISO-8859-1               431. ti_ET UTF-8
  191. es_PY.UTF-8 UTF-8              432. tig_ER UTF-8
  192. es_SV ISO-8859-1               433. tk_TM UTF-8
  193. es_SV.UTF-8 UTF-8              434. tl_PH ISO-8859-1
  194. es_US ISO-8859-1               435. tl_PH.UTF-8 UTF-8
  195. es_US.UTF-8 UTF-8              436. tn_ZA UTF-8
  196. es_UY ISO-8859-1               437. tr_CY ISO-8859-9
  197. es_UY.UTF-8 UTF-8              438. tr_CY.UTF-8 UTF-8
  198. es_VE ISO-8859-1               439. tr_TR ISO-8859-9
  199. es_VE.UTF-8 UTF-8              440. tr_TR.UTF-8 UTF-8
  200. et_EE ISO-8859-1               441. ts_ZA UTF-8
  201. et_EE.ISO-8859-15 ISO-8859-15  442. tt_RU UTF-8
  202. et_EE.UTF-8 UTF-8              443. tt_RU@iqtelif UTF-8
  203. eu_ES ISO-8859-1               444. ug_CN UTF-8
  204. eu_ES.UTF-8 UTF-8              445. ug_CN@latin UTF-8
  205. eu_ES@euro ISO-8859-15         446. uk_UA KOI8-U
  206. eu_FR ISO-8859-1               447. uk_UA.UTF-8 UTF-8
  207. eu_FR.UTF-8 UTF-8              448. unm_US UTF-8
  208. eu_FR@euro ISO-8859-15         449. ur_IN UTF-8
  209. fa_IR UTF-8                    450. ur_PK UTF-8
  210. ff_SN UTF-8                    451. uz_UZ ISO-8859-1
  211. fi_FI ISO-8859-1               452. uz_UZ.UTF-8 UTF-8
  212. fi_FI.UTF-8 UTF-8              453. uz_UZ@cyrillic UTF-8
  213. fi_FI@euro ISO-8859-15         454. ve_ZA UTF-8
  214. fil_PH UTF-8                   455. vi_VN UTF-8
  215. fo_FO ISO-8859-1               456. wa_BE ISO-8859-1
  216. fo_FO.UTF-8 UTF-8              457. wa_BE.UTF-8 UTF-8
  217. fr_BE ISO-8859-1               458. wa_BE@euro ISO-8859-15
  218. fr_BE.UTF-8 UTF-8              459. wae_CH UTF-8
  219. fr_BE@euro ISO-8859-15         460. wal_ET UTF-8
  220. fr_CA ISO-8859-1               461. wo_SN UTF-8
  221. fr_CA.UTF-8 UTF-8              462. xh_ZA ISO-8859-1
  222. fr_CH ISO-8859-1               463. xh_ZA.UTF-8 UTF-8
  223. fr_CH.UTF-8 UTF-8              464. yi_US CP1255
  224. fr_FR ISO-8859-1               465. yi_US.UTF-8 UTF-8
  225. fr_FR.UTF-8 UTF-8              466. yo_NG UTF-8
  226. fr_FR@euro ISO-8859-15         467. yue_HK UTF-8
  227. fr_LU ISO-8859-1               468. zh_CN GB2312
  228. fr_LU.UTF-8 UTF-8              469. zh_CN.GB18030 GB18030
  229. fr_LU@euro ISO-8859-15         470. zh_CN.GBK GBK
  230. fur_IT UTF-8                   471. zh_CN.UTF-8 UTF-8
  231. fy_DE UTF-8                    472. zh_HK BIG5-HKSCS
  232. fy_NL UTF-8                    473. zh_HK.UTF-8 UTF-8
  233. ga_IE ISO-8859-1               474. zh_SG GB2312
  234. ga_IE.UTF-8 UTF-8              475. zh_SG.GBK GBK
  235. ga_IE@euro ISO-8859-15         476. zh_SG.UTF-8 UTF-8
  236. gd_GB ISO-8859-15              477. zh_TW BIG5
  237. gd_GB.UTF-8 UTF-8              478. zh_TW.EUC-TW EUC-TW
  238. gez_ER UTF-8                   479. zh_TW.UTF-8 UTF-8
  239. gez_ER@abegede UTF-8           480. zu_ZA ISO-8859-1
  240. gez_ET UTF-8                   481. zu_ZA.UTF-8 UTF-8
  241. gez_ET@abegede UTF-8

(Enter the items you want to select, separated by spaces.)

Locales to be generated: ed5ea4272fdf8740e78d863c426c830a32368d066fb2a4b2243532f2aedbf4e6
'pid' file is absent, something was broken
rultor commented 5 years ago

@rultor ping

@yegor256 I'm sorry, I don't understand you :( Check this page and try again please

rultor commented 5 years ago

@rultor release, tag is 2.23.1

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

rultor commented 5 years ago

@rultor release, tag is 2.23.1

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

-rw-rw-r--  1 rultor rultor    396 Oct 19 14:08 id_rsa.pub
-rw-rw-r--  1 rultor rultor      6 Oct 19 14:09 pid
-rw-rw-r--  1 rultor rultor   1192 Oct 19 14:08 pubring.gpg
drwxrwxr-x  9 rultor rultor   4096 Oct 19 14:09 repo
-rwxrwxr-x  1 rultor rultor   8269 Oct 19 14:09 run.sh
-rw-rw-r--  1 rultor rultor     98 Oct 19 14:09 s3cfg
-rw-rw-r--  1 rultor rultor   1581 Oct 19 14:09 script.sh
-rw-rw-r--  1 rultor rultor   2570 Oct 19 14:09 secring.gpg
-rw-rw-r--  1 rultor rultor   1284 Oct 19 14:08 settings-snapshot.xml
-rw-rw-r--  1 rultor rultor   2113 Oct 19 14:08 settings.xml
-rw-rw-r--  1 rultor rultor   7486 Oct 19 14:09 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-XNiz:/main '--env=MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g' --env=head=git@github.com:yegor256/netbout.git --env=tag=2.23.1 '--env=scripts=( '\''export '\''\'\'''\''MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:yegor256/netbout.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=2.23.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo locale-gen en_US en_US.UTF-8'\'' '\'';'\'' '\''export LC_ALL=en_US.UTF-8'\'' '\'';'\'' '\''export LANG=en_US.UTF-8'\'' '\'';'\'' '\''export LANGUAGE=en_US.UTF-8'\'' '\'';'\'' '\''sudo gem install --no-ri --no-rdoc pdd'\'' '\'';'\'' '\''sudo gem install --no-ri --no-rdoc est'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''mvn versions:set "-DnewVersion=${tag}"'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''mvn clean deploy -Pqulice -Psonatype -Pnetbout --errors --batch-mode --settings ../settings.xml'\'' '\'';'\'' '\''git remote add dokku dokku@www.netbout.com:netbout'\'' '\'';'\'' '\''build=$(git rev-parse --short HEAD)'\'' '\'';'\'' '\''sed -i "s/BUILD/${build}/g" netbout-web/src/main/resources/META-INF/MANIFEST.MF'\'' '\'';'\'' '\''sed -i "s/BUILD/${build}/g" netbout-web/src/main/resources/log4j.properties'\'' '\'';'\'' '\''git add netbout-web/src/main/resources/META-INF/MANIFEST.MF'\'' '\'';'\'' '\''git add netbout-web/src/main/resources/log4j.properties'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''build number set'\''\'\'''\'''\'' '\'';'\'' '\''cp ../settings.xml settings.xml'\'' '\'';'\'' '\''git add settings.xml'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''settings.xml'\''\'\'''\'''\'' '\'';'\'' '\''git push -f dokku $(git symbolic-ref --short HEAD):master'\'' '\'';'\'' '\''git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://www.netbout.com'\'' '\'';'\'' '\''mvn clean install site-deploy -Psite --errors --settings ../settings.xml --batch-mode'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-XNiz/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --entrypoint=/main/entry.sh --name=yegor256_netbout_1157 yegor256/rultor /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /root/.wget-hsts /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./id_rsa ./id_rsa.pub ./pid ./pubring.gpg ./repo ./run.sh ./s3cfg ./script.sh ./secring.gpg ./settings-snapshot.xml ./settings.xml ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
mesg: change /dev/pts/0 mode failed: Operation not permitted
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export 'MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g'
+ MAVEN_OPTS='-XX:MaxPermSize=256m -Xmx1g'
+ export head=git@github.com:yegor256/netbout.git
+ head=git@github.com:yegor256/netbout.git
+ export tag=2.23.1
+ tag=2.23.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i locale-gen en_US en_US.UTF-8
Generating locales (this might take a while)...
  en_US.ISO-8859-1... done
  en_US.UTF-8... done
Generation complete.
+ export LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ export LANG=en_US.UTF-8
+ LANG=en_US.UTF-8
+ export LANGUAGE=en_US.UTF-8
+ LANGUAGE=en_US.UTF-8
+ sudo -i gem install --no-ri --no-rdoc pdd
ERROR:  While executing gem ... (OptionParser::InvalidOption)
    invalid option: --no-ri
container 395cc0585858262b5a0d6e4a6a588961def935f3df44e66ae072d8950c1e9fa1 is dead
Sat Oct 19 14:11:09 CEST 2019
yegor256 commented 5 years ago

@rultor release, tag is 2.23.1

rultor commented 5 years ago

@rultor release, tag is 2.23.1

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

rultor commented 5 years ago

@rultor release, tag is 2.23.1

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

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: MavenReportException: Error while generating Javadoc: 
Exit code: 1 - /home/r/repo/netbout-spi/src/main/java/com/netbout/spi/Friends.java:54: error: unknown tag: checkstyle
     * @checkstyle ThrowsCountCheck (2 lines)
       ^
/home/r/repo/netbout-spi/src/main/java/com/netbout/spi/Friends.java:64: error: unknown tag: checkstyle
     * @checkstyle ThrowsCountCheck (2 lines)
       ^

Command line was: /usr/lib/jvm/java-8-oracle/jre/../bin/javadoc @options @packages

Refer to the generated Javadoc files in '/home/r/repo/netbout-spi/target/apidocs' dir.

    at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.failOnError(AbstractJavadocMojo.java:6082)
    at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:192)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    ... 20 more
Caused by: org.apache.maven.reporting.MavenReportException: 
Exit code: 1 - /home/r/repo/netbout-spi/src/main/java/com/netbout/spi/Friends.java:54: error: unknown tag: checkstyle
     * @checkstyle ThrowsCountCheck (2 lines)
       ^
/home/r/repo/netbout-spi/src/main/java/com/netbout/spi/Friends.java:64: error: unknown tag: checkstyle
     * @checkstyle ThrowsCountCheck (2 lines)
       ^

Command line was: /usr/lib/jvm/java-8-oracle/jre/../bin/javadoc @options @packages

Refer to the generated Javadoc files in '/home/r/repo/netbout-spi/target/apidocs' dir.

    at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeJavadocCommandLine(AbstractJavadocMojo.java:5188)
    at org.apache.maven.plugin.javadoc.AbstractJavadocMojo.executeReport(AbstractJavadocMojo.java:2075)
    at org.apache.maven.plugin.javadoc.JavadocJar.execute(JavadocJar.java:188)
    ... 22 more
[ERROR] 
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :netbout-spi
container 252c542587760cb38badad251a56b82e4a9211bacd6a6729b163d74b3530101c is dead
Sat Oct 19 14:26:29 CEST 2019