loklak / loklak_server

Distributed Open Source twitter and social media message search server that anonymously collects, shares, dumps and indexes data http://api.loklak.org
GNU Lesser General Public License v2.1
1.38k stars 223 forks source link

Bluemix deployment fails while build #1258

Open singhpratyush opened 7 years ago

singhpratyush commented 7 years ago

Short description

The deploy process fails to build loklak on Bluemix.

Steps to reproduce

  1. Click the deploy to bluemix button on loklak repo
  2. Follow the on screen instructions
  3. Go to Deliver section.
  4. Start the Build Stage.
  5. See the logs.

Expected behaviour

loklak should be built and deployed.

Actual behaviour

There is failure while building loklak in Deploy Stage.

Part of Deploy Stage log -

...
            [exec] Note: Some input files use or override a deprecated API.
            [exec] Note: Recompile with -Xlint:deprecation for details.
            [exec] Note: Some input files use unchecked or unsafe operations.
            [exec] Note: Recompile with -Xlint:unchecked for details.
            [exec] :processResources
            [exec] :classes
            [exec] :jar
            [exec] The message received from the daemon indicates that the daemon has disappeared.
            [exec] Attempting to read last messages from the daemon log...
            [exec] Daemon pid: 124
            [exec]   log file: /home/vcap/.gradle/daemon/3.1/daemon-124.out.log
            [exec] ----- Last  20 lines from daemon log file - daemon-124.out.log -----
            [exec] Download https://repo1.maven.org/maven2/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar
            [exec] Download https://repo1.maven.org/maven2/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar
            [exec] Download https://repo1.maven.org/maven2/com/github/fge/msg-simple/1.1/msg-simple-1.1.jar
            [exec] Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.2.3/jackson-databind-2.2.3.jar
            [exec] Download https://repo1.maven.org/maven2/org/bouncycastle/bctsp-jdk14/1.38/bctsp-jdk14-1.38.jar
            [exec] Download https://repo1.maven.org/maven2/com/github/fge/btf/1.2/btf-1.2.jar
            [exec] Download https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk14/1.38/bcprov-jdk14-1.38.jar
            [exec] Download https://repo1.maven.org/maven2/org/bouncycastle/bcmail-jdk14/1.38/bcmail-jdk14-1.38.jar
            [exec] Download https://repo1.maven.org/maven2/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar
            [exec] Download https://repo1.maven.org/maven2/org/springframework/spring-aop/4.0.0.RELEASE/spring-aop-4.0.0.RELEASE.jar
            [exec] Note: Some input files use or override a deprecated API.
            [exec] Note: Some input files use unchecked or unsafe operations.
            [exec] Note: Recompile with -Xlint:unchecked for details.
            [exec] ----- End of the daemon log -----
            [exec] 
            [exec] 
            [exec] FAILURE: Build failed with an exception.
            [exec] 
            [exec] Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
            [exec] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
            [exec] Download https://repo1.maven.org/maven2/net/sourceforge/nekohtml/nekohtml/1.9.21/nekohtml-1.9.21.jar
            [exec] Build request sent: Build{id=891827d4-a23e-40cf-a43a-b7dcef72e056.1, currentDir=/tmp/app}
            [exec] Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.2.3/jackson-annotations-2.2.3.jar
            [exec] Note: Recompile with -Xlint:deprecation for details.
            [exec] :processResources
            [exec] :classes
            [exec] :jar
            [exec] :shadowJar
            [exec] * What went wrong:
            [exec] 
            [exec] * Try:
            [exec] :shadowJar
            [exec] Result: 1
            [copy] Copying 302 files to /tmp/app/classes
...
Exit status 0
Staging complete
Uploading droplet, build artifacts cache...
Uploading build artifacts cache...
Uploading droplet...
Uploaded build artifacts cache (109B)
Uploaded droplet (69.2M)
Uploading complete
Destroying container
Successfully destroyed container

0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
... many more times ..
0 of 1 instances running, 1 starting
0 of 1 instances running, 1 crashed
FAILED
Error restarting application: Start unsuccessful

TIP: use 'cf logs loklak_server-20170618075645918 --recent' for more information

Finished: FAILED
vibhcool commented 6 years ago

@singhpratyush , shall we close this issue, if to issue is solved?

singhpratyush commented 6 years ago

@vibhcool: The issue is still there with the pipeline deployment method.

vibhcool commented 6 years ago

@singhpratyush , didn't understand what is pipeline deployment method 😅

singhpratyush commented 6 years ago

It is the one that you see after you click on one-click-deploy button for Bluemix in README.