You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/05/01 04:06:05 UTC

[GitHub] csantanapr opened a new issue #11: One test fails in Ubuntu Xenial

csantanapr opened a new issue #11: One test fails in Ubuntu Xenial
URL: https://github.com/apache/incubator-openwhisk-runtime-go/issues/11
 
 
   One tests always fails on Xenial Ubuntu
   
   Steps to reproduce, use the vagrant from openwhisk.
   Setup Ubuntu
   ```
   # Clone openwhisk
   git clone --depth=1 https://github.com/apache/incubator-openwhisk.git openwhisk
   
   # Change directory to tools/vagrant
   cd openwhisk/tools/vagrant
   
   # Run script to create vm and run hello action
   ./hello
   ```
   Then login into vagrant and install go 1.9.2
   ```
   vagrant ssh
   mkdir bin
   curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
   chmod +x ~/bin/gimme
   eval "$(gimme 1.9.2)"
   ```
   Then git clone this repo and run build and test
   ```
   git clone https://github.com/apache/incubator-openwhisk-runtime-go
   cd incubator-openwhisk-runtime-go
   ./gradlew build
   vagrant@ubuntu-xenial:~/git/incubator-openwhisk-runtime-go$ ./gradlew build
   
   > Configure project :
   Found go 1.9.2 in /home/vagrant/.gimme/versions/go1.9.2.linux.amd64/bin/go, use it.
   
   > Task :prepare
   Use project GOPATH: /home/vagrant/git/incubator-openwhisk-runtime-go/.gogradle/project_gopath
   
   > Task :test
   Test for github.com/sciabarracom/incubator-openwhisk-runtime-go/test/src/hello finished, 3 completed, 0 failed
   Test for github.com/sciabarracom/incubator-openwhisk-runtime-go/openwhisk finished, 18 completed, 1 failed
   
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':test'.
   > There are 1 failed tests. Please see /home/vagrant/git/incubator-openwhisk-runtime-go/.gogradle/reports/test/index.html for more details.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 10m 40s
   6 actionable tasks: 4 executed, 2 up-to-date
   ```
   Test that fails
   ```
   === RUN   ExampleNewExecutor_bc
   2018/05/01 03:01:49 run: start
   2018/05/01 03:01:49 run: end
   *** Test killed: ran too long (10m0s).
   FAIL	github.com/sciabarracom/incubator-openwhisk-runtime-go/openwhisk	605.005s
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services