You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2021/07/16 04:54:11 UTC
[GitHub] [bigtop] sekikn commented on pull request #804: BIGTOP-3561: Fix build failure of Kibana on ppc64le
sekikn commented on pull request #804:
URL: https://github.com/apache/bigtop/pull/804#issuecomment-881175910
I tried to build Kibana and run its smoke test on the ppc64le CI server. The build succeeded as follows.
```
jenkins@bigtop1slave:~/bigtop$ curl -sL https://github.com/apache/bigtop/pull/804.patch | git apply
<stdin>:98: trailing whitespace.
<stdin>:115: trailing whitespace.
warning: 2 lines add whitespace errors.
jenkins@bigtop1slave:~/bigtop$ docker run -v $PWD:/bigtop -it bigtop/slaves:trunk-centos-7-ppc64le bash
[root@6f4a1012ea10 /]# cd bigtop
[root@6f4a1012ea10 bigtop]# ./gradlew kibana-clean kibana-pkg repo -Dbuildwithdeps=true
...
+ exit 0
> Task :kibana-pkg
> Task :yum
Spawning worker 0 with 7 pkgs
Spawning worker 1 with 6 pkgs
Spawning worker 2 with 6 pkgs
Spawning worker 3 with 6 pkgs
Spawning worker 4 with 6 pkgs
Spawning worker 5 with 6 pkgs
Spawning worker 6 with 6 pkgs
Spawning worker 7 with 6 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
> Task :repo
BUILD SUCCESSFUL in 30m 25s
9 actionable tasks: 9 executed
```
But the smoke test failed as follows. It looked like that Elasticsearch couldn't be started for some reason. So let's address it as another issue.
```
jenkins@bigtop1slave:~/bigtop$ cd provisioner/docker
jenkins@bigtop1slave:~/bigtop/provisioner/docker$ ./docker-hadoop.sh \
> --create 1 \
> --image bigtop/puppet:trunk-centos-7 \
> --repo file:///bigtop-home/output \
> --disable-gpg-check \
> --stack elasticsearch,kibana \
> --smoke-tests kibana
...
TestKibanaSmoke > KibanaWebTest STANDARD_OUT
Failed command: /usr/lib/kibana/bin/start-kibana;sleep 10;curl -i localhost:5601;
error code: 7
stdout: [{"type":"log","@timestamp":"2021-07-16T02:34:44Z","tags":["status","plugin:kibana@5.4.1","info"],"pid":1370,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}]
stderr: [ % Total % Received % Xferd Average Speed Time Time Time Current, Dload Upload Total Spent Left Speed,
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed connect to localhost:5601; Connection refused]
Gradle Test Executor 2 finished executing tests.
> Task :bigtop-tests:smoke-tests:kibana:test FAILED
TestKibanaSmoke > KibanaWebTest FAILED
java.lang.AssertionError: Kibana start failed
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert$assertTrue.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:55)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:196)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:216)
at TestKibanaSmoke.KibanaWebTest(TestKibanaSmoke.groovy:49)
1 test completed, 1 failed
Finished generating test XML results (0.018 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kibana/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.029 secs) into: /bigtop-home/bigtop-tests/smoke-tests/kibana/build/reports/tests/test
:bigtop-tests:smoke-tests:kibana:test (Thread[Execution worker for ':',5,main]) completed. Took 24.015 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bigtop-tests:smoke-tests:kibana:test'.
> There were failing tests. See the report at: file:///bigtop-home/bigtop-tests/smoke-tests/kibana/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 12s
34 actionable tasks: 5 executed, 29 up-to-date
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org