Created
January 11, 2014 07:36
-
-
Save mogproject/8368180 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./docker_sbt_test.py local/sbt-test --dir /workspace/docker-sbt-test/example --setup " \ | |
rm -fr /workspace/docker-sbt-test && \ | |
git clone --depth 1 https://github.com/mogproject/docker-sbt-test.git /workspace/docker-sbt-test \ | |
" | |
2014-01-11 07:24:53,272 [INFO] Creating test image (local/sbt-test:test-1389425093.27) ... | |
Uploading context 2.048 kB | |
Step 1 : FROM local/sbt-test:latest | |
---> de04dd418dc0 | |
Step 2 : RUN /bin/bash -c " rm -fr /workspace/docker-sbt-test && git clone --depth 1 https://github.com/mogproject/docker-sbt-test.git /workspace/docker-sbt-test " | |
---> Running in 8b9c2b674e0d | |
Initialized empty Git repository in /workspace/docker-sbt-test/.git/ | |
---> 3bea9929299e | |
Successfully built 3bea9929299e | |
Removing intermediate container 8b9c2b674e0d | |
2014-01-11 07:25:13,073 [INFO] Compiling... | |
Uploading context 2.048 kB | |
Step 1 : FROM local/sbt-test:test-1389425093.27 | |
---> 3bea9929299e | |
Step 2 : RUN /bin/bash -c "cd /workspace/docker-sbt-test/example && sbt compile test:compile" | |
---> Running in ff6f2469f502 | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /workspace/docker-sbt-test/example/project | |
[info] Updating {file:/workspace/docker-sbt-test/example/project/}example-build... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[info] Compiling 1 Scala source to /workspace/docker-sbt-test/example/project/target/scala-2.10/sbt-0.13/classes... | |
[info] Set current project to test-sbt-parallel (in build file:/workspace/docker-sbt-test/example/) | |
[info] Updating {file:/workspace/docker-sbt-test/example/}test-sbt-parallel... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... | |
[info] Done updating. | |
[success] Total time: 0 s, completed Jan 11, 2014 2:25:27 AM | |
[info] Compiling 1 Scala source to /workspace/docker-sbt-test/example/target/scala-2.10/test-classes... | |
[success] Total time: 8 s, completed Jan 11, 2014 2:25:35 AM | |
---> ea6b328c6d20 | |
Successfully built ea6b328c6d20 | |
Removing intermediate container ff6f2469f502 | |
2014-01-11 07:25:41,707 [INFO] Getting test class names... | |
2014-01-11 07:25:48,859 [INFO] Starting sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec1' ... | |
2014-01-11 07:25:48,859 [INFO] Starting sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec2' ... | |
2014-01-11 07:25:48,859 [INFO] Starting sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec3' ... | |
2014-01-11 07:25:48,859 [INFO] Starting sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec4' ... | |
2014-01-11 07:26:13,257 [INFO] Finished sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec3' ... | |
Starting redis-server: [ OK ] | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /workspace/docker-sbt-test/example/project | |
[info] Set current project to test-sbt-parallel (in build file:/workspace/docker-sbt-test/example/) | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[info] RedisConnectionSpec3 | |
[info] | |
[info] test3 should | |
[info] + insert 100 records and delete 1 record | |
[info] | |
[info] | |
[info] Total for specification RedisConnectionSpec3 | |
[info] Finished in 39 ms | |
[info] 1 example, 0 failure, 0 error | |
[info] | |
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1 | |
[success] Total time: 15 s, completed Jan 11, 2014 2:26:13 AM | |
2014-01-11 07:26:13,600 [INFO] Finished sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec4' ... | |
Starting redis-server: [ OK ] | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /workspace/docker-sbt-test/example/project | |
[info] Set current project to test-sbt-parallel (in build file:/workspace/docker-sbt-test/example/) | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[info] RedisConnectionSpec4 | |
[info] | |
[info] test4 should | |
[info] + insert 100 records and delete 1 record | |
[info] | |
[info] | |
[info] Total for specification RedisConnectionSpec4 | |
[info] Finished in 55 ms | |
[info] 1 example, 0 failure, 0 error | |
[info] | |
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1 | |
[success] Total time: 14 s, completed Jan 11, 2014 2:26:13 AM | |
2014-01-11 07:26:13,911 [INFO] Finished sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec2' ... | |
Starting redis-server: [ OK ] | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /workspace/docker-sbt-test/example/project | |
[info] Set current project to test-sbt-parallel (in build file:/workspace/docker-sbt-test/example/) | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[info] RedisConnectionSpec2 | |
[info] | |
[info] test2 should | |
[info] + insert 100 records and delete 1 record | |
[info] | |
[info] | |
[info] Total for specification RedisConnectionSpec2 | |
[info] Finished in 38 ms | |
[info] 1 example, 0 failure, 0 error | |
[info] | |
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1 | |
[success] Total time: 14 s, completed Jan 11, 2014 2:26:13 AM | |
2014-01-11 07:26:14,035 [INFO] Finished sbt 'test-only com.github.mogproject.dockersbttest.example.RedisConnectionSpec1' ... | |
Starting redis-server: [ OK ] | |
Loading /usr/share/sbt/bin/sbt-launch-lib.bash | |
[info] Loading project definition from /workspace/docker-sbt-test/example/project | |
[info] Set current project to test-sbt-parallel (in build file:/workspace/docker-sbt-test/example/) | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
[info] RedisConnectionSpec1 | |
[info] | |
[info] test1 should | |
[info] + insert 100 records and delete 1 record | |
[info] | |
[info] | |
[info] Total for specification RedisConnectionSpec1 | |
[info] Finished in 37 ms | |
[info] 1 example, 0 failure, 0 error | |
[info] | |
[info] Passed: Total 1, Failed 0, Errors 0, Passed 1 | |
[success] Total time: 14 s, completed Jan 11, 2014 2:26:13 AM | |
2014-01-11 07:26:14,080 [INFO] *** SUMMARY *** | |
2014-01-11 07:26:14,081 [INFO] com.github.mogproject.dockersbttest.example.RedisConnectionSpec1 -> OK | |
2014-01-11 07:26:14,081 [INFO] com.github.mogproject.dockersbttest.example.RedisConnectionSpec2 -> OK | |
2014-01-11 07:26:14,081 [INFO] com.github.mogproject.dockersbttest.example.RedisConnectionSpec3 -> OK | |
2014-01-11 07:26:14,081 [INFO] com.github.mogproject.dockersbttest.example.RedisConnectionSpec4 -> OK | |
2014-01-11 07:26:14,081 [INFO] *************** | |
2014-01-11 07:26:14,081 [INFO] Removing test image (local/sbt-test:test-1389425093.27) ... | |
Untagged: ea6b328c6d20ec24473e3ce075a0fea7f75cf75b48054b4076fd23f0ae3355d7 | |
Deleted: ea6b328c6d20ec24473e3ce075a0fea7f75cf75b48054b4076fd23f0ae3355d7 | |
Deleted: 3bea9929299ee10679527965a0f21f0ba49795f9c8fcb976ae78a302e87bf0c6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment