testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
8.03k stars 1.65k forks source link

Not able to run cassandra:3 container #683

Closed Sammers21 closed 6 years ago

Sammers21 commented 6 years ago

Hi, I'm trying to run Cassandra with testcontainers:

public class Hello {

    GenericContainer cassandraContainer = new GenericContainer("cassandra:3")
            .withExposedPorts(9046);

    @Before
    public void before() {
        cassandraContainer.start();
    }

    @After
    public void after() {
        cassandraContainer.stop();
    }

    @Test
    public void helloWorld() {
        System.out.println("it works");
    }
}

Output:

[main] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
[main] INFO org.testcontainers.dockerclient.UnixSocketClientProviderStrategy - Accessing docker with local Unix socket
[main] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
[main] INFO org.testcontainers.DockerClientFactory - Docker host IP address is localhost
[main] INFO org.testcontainers.DockerClientFactory - Connected to docker: 
  Server Version: 17.12.0-ce
  API Version: 1.35
  Operating System: Docker for Mac
  Total Memory: 1998 MB
[main] INFO org.testcontainers.DockerClientFactory - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
        ℹ︎ Checking the system...
        ✔ Docker version should be at least 1.6.0
        ✔ Docker environment should have more than 2GB free disk space
        ✔ File should be mountable
[main] INFO 🐳 [cassandra:3] - Creating container for image: cassandra:3
[main] INFO 🐳 [cassandra:3] - Starting container with ID: e9031d7a6d53db1b760102cc9ce7b552346fe95ac6af47b16fcc4bfa99df758d
[main] INFO 🐳 [cassandra:3] - Container cassandra:3 is starting: e9031d7a6d53db1b760102cc9ce7b552346fe95ac6af47b16fcc4bfa99df758d
[main] ERROR 🐳 [cassandra:3] - Could not start container
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [32831] should be listening)
    at org.testcontainers.containers.wait.strategy.HostPortWaitStrategy.waitUntilReady(HostPortWaitStrategy.java:47)
    at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:32)
    at org.testcontainers.containers.wait.HostPortWaitStrategy.waitUntilReady(HostPortWaitStrategy.java:23)
    at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:32)
    at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:531)
    at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:258)
    at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:209)
    at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
    at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:207)
    at io.vertx.cassandra.Hello.before(Hello.java:18)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
    at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
[main] ERROR 🐳 [cassandra:3] - Container log output (if any) will follow:
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/Columns$Serializer.deserializeLargeSubset (Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/db/Columns;I)Lorg/apache/cassandra/db/Columns;
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/Columns$Serializer.serializeLargeSubset (Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;ILorg/apache/cassandra/io/util/DataOutputPlus;)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/Columns$Serializer.serializeLargeSubsetSize (Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;I)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager.advanceAllocatingFrom (Lorg/apache/cassandra/db/commitlog/CommitLogSegment;)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/transform/BaseIterator.tryGetMoreContents ()Z
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/transform/StoppingTransformation.stop ()V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/db/transform/StoppingTransformation.stopInPartition ()V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.doFlush (I)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.writeExcessSlow ()V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.writeSlow (JI)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: dontinline org/apache/cassandra/io/util/RebufferingInputStream.readPrimitiveSlowly (I)J
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/db/rows/UnfilteredSerializer.serializeRowBody (Lorg/apache/cassandra/db/rows/Row;ILorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/io/util/Memory.checkBounds (JJ)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/io/util/SafeMemory.checkBounds (JJ)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/AsymmetricOrdering.selectBoundary (Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;II)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/AsymmetricOrdering.strictnessOfLessThan (Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/BloomFilter.indexes (Lorg/apache/cassandra/utils/IFilter/FilterKey;)[J
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/BloomFilter.setIndexes (JJIJ[J)V
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare (Ljava/nio/ByteBuffer;[B)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare ([BLjava/nio/ByteBuffer;)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/lang/Object;JI)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: CompilerOracle: inline org/apache/cassandra/utils/vint/VIntCoding.encodeVInt (JI)[B
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:44,927 YamlConfigurationLoader.java:89 - Configuration location: file:/etc/cassandra/cassandra.yaml
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,165 Config.java:495 - Node configuration:[allocate_tokens_for_keyspace=null; authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer; auto_bootstrap=true; auto_snapshot=true; back_pressure_enabled=false; back_pressure_strategy=org.apache.cassandra.net.RateBasedBackPressure{high_ratio=0.9, factor=5, flow=FAST}; batch_size_fail_threshold_in_kb=50; batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024; broadcast_address=172.17.0.3; broadcast_rpc_address=172.17.0.3; buffer_pool_use_heap_if_exhausted=true; cas_contention_timeout_in_ms=1000; cdc_enabled=false; cdc_free_space_check_interval_ms=250; cdc_raw_directory=null; cdc_total_space_in_mb=0; client_encryption_options=<REDACTED>; cluster_name=Test Cluster; column_index_cache_size_in_kb=2; column_index_size_in_kb=64; commit_failure_policy=stop; commitlog_compression=null; commitlog_directory=/var/lib/cassandra/commitlog; commitlog_max_compression_buffers_in_pool=3; commitlog_periodic_queue_size=-1; commitlog_segment_size_in_mb=32; commitlog_sync=periodic; commitlog_sync_batch_window_in_ms=NaN; commitlog_sync_period_in_ms=10000; commitlog_total_space_in_mb=null; compaction_large_partition_warning_threshold_mb=100; compaction_throughput_mb_per_sec=16; concurrent_compactors=null; concurrent_counter_writes=32; concurrent_materialized_view_writes=32; concurrent_reads=32; concurrent_replicates=null; concurrent_writes=32; counter_cache_keys_to_save=2147483647; counter_cache_save_period=7200; counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000; credentials_cache_max_entries=1000; credentials_update_interval_in_ms=-1; credentials_validity_in_ms=2000; cross_node_timeout=false; data_file_directories=[Ljava.lang.String;@3e3047e6; disk_access_mode=auto; disk_failure_policy=stop; disk_optimization_estimate_percentile=0.95; disk_optimization_page_cross_chance=0.1; disk_optimization_strategy=ssd; dynamic_snitch=true; dynamic_snitch_badness_threshold=0.1; dynamic_snitch_reset_interval_in_ms=600000; dynamic_snitch_update_interval_in_ms=100; enable_materialized_views=true; enable_scripted_user_defined_functions=false; enable_user_defined_functions=false; enable_user_defined_functions_threads=true; encryption_options=null; endpoint_snitch=SimpleSnitch; file_cache_round_up=null; file_cache_size_in_mb=null; gc_log_threshold_in_ms=200; gc_warn_threshold_in_ms=1000; hinted_handoff_disabled_datacenters=[]; hinted_handoff_enabled=true; hinted_handoff_throttle_in_kb=1024; hints_compression=null; hints_directory=null; hints_flush_period_in_ms=10000; incremental_backups=false; index_interval=null; index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60; initial_token=null; inter_dc_stream_throughput_outbound_megabits_per_sec=200; inter_dc_tcp_nodelay=false; internode_authenticator=null; internode_compression=dc; internode_recv_buff_size_in_bytes=0; internode_send_buff_size_in_bytes=0; key_cache_keys_to_save=2147483647; key_cache_save_period=14400; key_cache_size_in_mb=null; listen_address=172.17.0.3; listen_interface=null; listen_interface_prefer_ipv6=false; listen_on_broadcast_address=false; max_hint_window_in_ms=10800000; max_hints_delivery_threads=2; max_hints_file_size_in_mb=128; max_mutation_size_in_kb=null; max_streaming_retries=3; max_value_size_in_mb=256; memtable_allocation_type=heap_buffers; memtable_cleanup_threshold=null; memtable_flush_writers=0; memtable_heap_space_in_mb=null; memtable_offheap_space_in_mb=null; min_free_space_per_drive_in_mb=50; native_transport_max_concurrent_connections=-1; native_transport_max_concurrent_connections_per_ip=-1; native_transport_max_frame_size_in_mb=256; native_transport_max_threads=128; native_transport_port=9042; native_transport_port_ssl=null; num_tokens=256; otc_backlog_expiration_interval_ms=200; otc_coalescing_enough_coalesced_messages=8; otc_coalescing_strategy=DISABLED; otc_coalescing_window_us=200; partitioner=org.apache.cassandra.dht.Murmur3Partitioner; permissions_cache_max_entries=1000; permissions_update_interval_in_ms=-1; permissions_validity_in_ms=2000; phi_convict_threshold=8.0; prepared_statements_cache_size_mb=null; range_request_timeout_in_ms=10000; read_request_timeout_in_ms=5000; request_scheduler=org.apache.cassandra.scheduler.NoScheduler; request_scheduler_id=null; request_scheduler_options=null; request_timeout_in_ms=10000; role_manager=CassandraRoleManager; roles_cache_max_entries=1000; roles_update_interval_in_ms=-1; roles_validity_in_ms=2000; row_cache_class_name=org.apache.cassandra.cache.OHCProvider; row_cache_keys_to_save=2147483647; row_cache_save_period=0; row_cache_size_in_mb=0; rpc_address=0.0.0.0; rpc_interface=null; rpc_interface_prefer_ipv6=false; rpc_keepalive=true; rpc_listen_backlog=50; rpc_max_threads=2147483647; rpc_min_threads=16; rpc_port=9160; rpc_recv_buff_size_in_bytes=null; rpc_send_buff_size_in_bytes=null; rpc_server_type=sync; saved_caches_directory=/var/lib/cassandra/saved_caches; seed_provider=org.apache.cassandra.locator.SimpleSeedProvider{seeds=172.17.0.3}; server_encryption_options=<REDACTED>; slow_query_log_timeout_in_ms=500; snapshot_before_compaction=false; ssl_storage_port=7001; sstable_preemptive_open_interval_in_mb=50; start_native_transport=true; start_rpc=false; storage_port=7000; stream_throughput_outbound_megabits_per_sec=200; streaming_keep_alive_period_in_secs=300; streaming_socket_timeout_in_ms=86400000; thrift_framed_transport_size_in_mb=15; thrift_max_message_length_in_mb=16; thrift_prepared_statements_cache_size_mb=null; tombstone_failure_threshold=100000; tombstone_warn_threshold=1000; tracetype_query_ttl=86400; tracetype_repair_ttl=604800; transparent_data_encryption_options=org.apache.cassandra.config.TransparentDataEncryptionOptions@37e547da; trickle_fsync=false; trickle_fsync_interval_in_kb=10240; truncate_request_timeout_in_ms=60000; unlogged_batch_across_partitions_warn_threshold=10; user_defined_function_fail_timeout=1500; user_defined_function_warn_timeout=500; user_function_timeout_policy=die; windows_timer_interval=1; write_request_timeout_in_ms=2000]
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,165 DatabaseDescriptor.java:367 - DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,165 DatabaseDescriptor.java:425 - Global memtable on-heap threshold is enabled at 243MB
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,165 DatabaseDescriptor.java:429 - Global memtable off-heap threshold is enabled at 243MB
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,253 DatabaseDescriptor.java:550 - Only 59.870GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,271 RateBasedBackPressure.java:123 - Initialized back-pressure with high ratio: 0.9, factor: 5, flow: FAST, window size: 2000.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,271 DatabaseDescriptor.java:729 - Back-pressure is disabled with strategy org.apache.cassandra.net.RateBasedBackPressure{high_ratio=0.9, factor=5, flow=FAST}.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,373 JMXServerUtils.java:246 - Configured JMX server at: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:7199/jmxrmi
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,378 CassandraDaemon.java:473 - Hostname: e9031d7a6d53
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,379 CassandraDaemon.java:480 - JVM vendor/version: OpenJDK 64-Bit Server VM/1.8.0_171
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,383 CassandraDaemon.java:481 - Heap size: 975.125MiB/975.125MiB
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,385 CassandraDaemon.java:486 - Code Cache Non-heap memory: init = 2555904(2496K) used = 4181632(4083K) committed = 4194304(4096K) max = 251658240(245760K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,386 CassandraDaemon.java:486 - Metaspace Non-heap memory: init = 0(0K) used = 16865920(16470K) committed = 17432576(17024K) max = -1(-1K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,387 CassandraDaemon.java:486 - Compressed Class Space Non-heap memory: init = 0(0K) used = 2040632(1992K) committed = 2228224(2176K) max = 1073741824(1048576K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,388 CassandraDaemon.java:486 - Par Eden Space Heap memory: init = 208928768(204032K) used = 96143264(93889K) committed = 208928768(204032K) max = 208928768(204032K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,388 CassandraDaemon.java:486 - Par Survivor Space Heap memory: init = 26083328(25472K) used = 0(0K) committed = 26083328(25472K) max = 26083328(25472K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,389 CassandraDaemon.java:486 - CMS Old Gen Heap memory: init = 787480576(769024K) used = 0(0K) committed = 787480576(769024K) max = 787480576(769024K)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,389 CassandraDaemon.java:488 - Classpath: /etc/cassandra:/usr/share/cassandra/lib/HdrHistogram-2.1.9.jar:/usr/share/cassandra/lib/ST4-4.0.8.jar:/usr/share/cassandra/lib/airline-0.6.jar:/usr/share/cassandra/lib/antlr-runtime-3.5.2.jar:/usr/share/cassandra/lib/asm-5.0.4.jar:/usr/share/cassandra/lib/caffeine-2.2.6.jar:/usr/share/cassandra/lib/cassandra-driver-core-3.0.1-shaded.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.9.jar:/usr/share/cassandra/lib/commons-lang3-3.1.jar:/usr/share/cassandra/lib/commons-math3-3.2.jar:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/concurrent-trees-2.4.0.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.4.jar:/usr/share/cassandra/lib/disruptor-3.0.1.jar:/usr/share/cassandra/lib/ecj-4.4.2.jar:/usr/share/cassandra/lib/guava-18.0.jar:/usr/share/cassandra/lib/high-scale-lib-1.0.6.jar:/usr/share/cassandra/lib/hppc-0.5.4.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.13.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.13.jar:/usr/share/cassandra/lib/jamm-0.3.0.jar:/usr/share/cassandra/lib/javax.inject.jar:/usr/share/cassandra/lib/jbcrypt-0.3m.jar:/usr/share/cassandra/lib/jcl-over-slf4j-1.7.7.jar:/usr/share/cassandra/lib/jctools-core-1.2.1.jar:/usr/share/cassandra/lib/jflex-1.6.0.jar:/usr/share/cassandra/lib/jna-4.2.2.jar:/usr/share/cassandra/lib/joda-time-2.4.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/jstackjunit-0.0.1.jar:/usr/share/cassandra/lib/libthrift-0.9.2.jar:/usr/share/cassandra/lib/log4j-over-slf4j-1.7.7.jar:/usr/share/cassandra/lib/logback-classic-1.1.3.jar:/usr/share/cassandra/lib/logback-core-1.1.3.jar:/usr/share/cassandra/lib/lz4-1.3.0.jar:/usr/share/cassandra/lib/metrics-core-3.1.0.jar:/usr/share/cassandra/lib/metrics-jvm-3.1.0.jar:/usr/share/cassandra/lib/metrics-logback-3.1.0.jar:/usr/share/cassandra/lib/netty-all-4.0.44.Final.jar:/usr/share/cassandra/lib/ohc-core-0.4.4.jar:/usr/share/cassandra/lib/ohc-core-j8-0.4.4.jar:/usr/share/cassandra/lib/reporter-config-base-3.0.3.jar:/usr/share/cassandra/lib/reporter-config3-3.0.3.jar:/usr/share/cassandra/lib/sigar-1.6.4.jar:/usr/share/cassandra/lib/slf4j-api-1.7.7.jar:/usr/share/cassandra/lib/snakeyaml-1.11.jar:/usr/share/cassandra/lib/snappy-java-1.1.1.7.jar:/usr/share/cassandra/lib/snowball-stemmer-1.3.0.581.1.jar:/usr/share/cassandra/lib/stream-2.5.2.jar:/usr/share/cassandra/lib/thrift-server-0.3.7.jar:/usr/share/cassandra/apache-cassandra-3.11.2.jar:/usr/share/cassandra/apache-cassandra-thrift-3.11.2.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/stress.jar::/usr/share/cassandra/lib/jamm-0.3.0.jar
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,390 CassandraDaemon.java:490 - JVM Arguments: [-Xloggc:/var/log/cassandra/gc.log, -ea, -XX:+UseThreadPriorities, -XX:ThreadPriorityPolicy=42, -XX:+HeapDumpOnOutOfMemoryError, -Xss256k, -XX:StringTableSize=1000003, -XX:+AlwaysPreTouch, -XX:-UseBiasedLocking, -XX:+UseTLAB, -XX:+ResizeTLAB, -XX:+UseNUMA, -XX:+PerfDisableSharedMem, -Djava.net.preferIPv4Stack=true, -XX:+UseParNewGC, -XX:+UseConcMarkSweepGC, -XX:+CMSParallelRemarkEnabled, -XX:SurvivorRatio=8, -XX:MaxTenuringThreshold=1, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:CMSWaitDuration=10000, -XX:+CMSParallelInitialMarkEnabled, -XX:+CMSEdenChunksRecordAlways, -XX:+CMSClassUnloadingEnabled, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintHeapAtGC, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -XX:+PrintPromotionFailure, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=10, -XX:GCLogFileSize=10M, -Xms999M, -Xmx999M, -Xmn249M, -XX:CompileCommandFile=/etc/cassandra/hotspot_compiler, -javaagent:/usr/share/cassandra/lib/jamm-0.3.0.jar, -Dcassandra.jmx.local.port=7199, -Dcom.sun.management.jmxremote.authenticate=false, -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password, -Djava.library.path=/usr/share/cassandra/lib/sigar-bin, -Dcassandra.libjemalloc=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1, -XX:OnOutOfMemoryError=kill -9 %p, -Dlogback.configurationFile=logback.xml, -Dcassandra.logdir=/var/log/cassandra, -Dcassandra.storagedir=/var/lib/cassandra, -Dcassandra-foreground=yes]
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,449 NativeLibrary.java:187 - Unable to lock JVM memory (ENOMEM). This can result in part of the JVM being swapped out, especially with mmapped I/O enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,450 StartupChecks.java:140 - jemalloc seems to be preloaded from /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,451 StartupChecks.java:169 - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,454 SigarLibrary.java:44 - Initializing SIGAR library
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,465 SigarLibrary.java:174 - Cassandra server running in degraded mode. Is swap disabled? : false,  Address space adequate? : true,  nofile limit adequate? : true, nproc limit adequate? : true 
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,470 StartupChecks.java:311 - Maximum number of memory map areas per process (vm.max_map_count) 262144 is too low, recommended value: 1048575, you can change it with sysctl.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,492 StartupChecks.java:332 - Directory /var/lib/cassandra/data doesn't exist
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,501 StartupChecks.java:332 - Directory /var/lib/cassandra/commitlog doesn't exist
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,502 StartupChecks.java:332 - Directory /var/lib/cassandra/saved_caches doesn't exist
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:45,503 StartupChecks.java:332 - Directory /var/lib/cassandra/hints doesn't exist
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:45,662 QueryProcessor.java:116 - Initialized prepared statement caches with 10 MB (native) and 10 MB (Thrift)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,122 ColumnFamilyStore.java:411 - Initializing system.IndexInfo
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,940 ColumnFamilyStore.java:411 - Initializing system.batches
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,945 ColumnFamilyStore.java:411 - Initializing system.paxos
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,954 ColumnFamilyStore.java:411 - Initializing system.local
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,963 ColumnFamilyStore.java:411 - Initializing system.peers
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,974 ColumnFamilyStore.java:411 - Initializing system.peer_events
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,986 ColumnFamilyStore.java:411 - Initializing system.range_xfers
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,992 ColumnFamilyStore.java:411 - Initializing system.compaction_history
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:46,997 ColumnFamilyStore.java:411 - Initializing system.sstable_activity
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,002 ColumnFamilyStore.java:411 - Initializing system.size_estimates
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,008 ColumnFamilyStore.java:411 - Initializing system.available_ranges
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,015 ColumnFamilyStore.java:411 - Initializing system.transferred_ranges
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,021 ColumnFamilyStore.java:411 - Initializing system.views_builds_in_progress
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,026 ColumnFamilyStore.java:411 - Initializing system.built_views
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,033 ColumnFamilyStore.java:411 - Initializing system.hints
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,040 ColumnFamilyStore.java:411 - Initializing system.batchlog
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,045 ColumnFamilyStore.java:411 - Initializing system.prepared_statements
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,052 ColumnFamilyStore.java:411 - Initializing system.schema_keyspaces
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,062 ColumnFamilyStore.java:411 - Initializing system.schema_columnfamilies
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,068 ColumnFamilyStore.java:411 - Initializing system.schema_columns
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,080 ColumnFamilyStore.java:411 - Initializing system.schema_triggers
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,102 ColumnFamilyStore.java:411 - Initializing system.schema_usertypes
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,119 ColumnFamilyStore.java:411 - Initializing system.schema_functions
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,128 ColumnFamilyStore.java:411 - Initializing system.schema_aggregates
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,131 ViewManager.java:137 - Not submitting build tasks for views in keyspace system as storage service is not initialized
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,220 ApproximateTime.java:44 - Scheduling approximate time-check task with a precision of 10 milliseconds
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,241 ColumnFamilyStore.java:411 - Initializing system_schema.keyspaces
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,245 ColumnFamilyStore.java:411 - Initializing system_schema.tables
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,249 ColumnFamilyStore.java:411 - Initializing system_schema.columns
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,254 ColumnFamilyStore.java:411 - Initializing system_schema.triggers
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,263 ColumnFamilyStore.java:411 - Initializing system_schema.dropped_columns
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,273 ColumnFamilyStore.java:411 - Initializing system_schema.views
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,278 ColumnFamilyStore.java:411 - Initializing system_schema.types
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,283 ColumnFamilyStore.java:411 - Initializing system_schema.functions
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,287 ColumnFamilyStore.java:411 - Initializing system_schema.aggregates
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,292 ColumnFamilyStore.java:411 - Initializing system_schema.indexes
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:47,294 ViewManager.java:137 - Not submitting build tasks for views in keyspace system_schema as storage service is not initialized
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MemtableFlushWriter:1] 2018-05-07 20:04:47,750 CacheService.java:112 - Initializing key cache with capacity of 48 MBs.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MemtableFlushWriter:1] 2018-05-07 20:04:47,758 CacheService.java:134 - Initializing row cache with capacity of 0 MBs
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MemtableFlushWriter:1] 2018-05-07 20:04:47,761 CacheService.java:163 - Initializing counter cache with capacity of 24 MBs
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MemtableFlushWriter:1] 2018-05-07 20:04:47,763 CacheService.java:174 - Scheduling counter cache save to every 7200 seconds (going to save all keys).
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [CompactionExecutor:2] 2018-05-07 20:04:48,003 BufferPool.java:230 - Global buffer pool is enabled, when pool is exhausted (max is 243.000MiB) it will allocate on heap
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,111 StorageService.java:600 - Populating token metadata from system tables
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,227 StorageService.java:607 - Token metadata: 
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [pool-3-thread-1] 2018-05-07 20:04:48,258 AutoSavingCache.java:173 - Completed loading (1 ms; 8 keys) KeyCache cache
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,286 CommitLog.java:152 - No commitlog files found; skipping replay
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,287 StorageService.java:600 - Populating token metadata from system tables
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,303 StorageService.java:607 - Token metadata: 
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,421 QueryProcessor.java:163 - Preloaded 0 prepared statements
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,422 StorageService.java:618 - Cassandra version: 3.11.2
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,423 StorageService.java:619 - Thrift API version: 20.1.0
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,423 StorageService.java:620 - CQL supported versions: 3.4.4 (default: 3.4.4)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,424 StorageService.java:622 - Native protocol supported versions: 3/v3, 4/v4, 5/v5-beta (default: 4/v4)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,455 IndexSummaryManager.java:85 - Initializing index summary manager with a memory pool size of 48 MB and a resize interval of 60 minutes
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,462 MessagingService.java:753 - Starting Messaging Service on /172.17.0.3:7000 (eth0)
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: WARN  [main] 2018-05-07 20:04:48,474 SystemKeyspace.java:1089 - No host ID found, created f7538563-dc94-4e2a-8112-4cdddd2ac7fd (Note: This should happen exactly once per node).
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,505 StorageService.java:707 - Loading persisted ring state
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,507 StorageService.java:825 - Starting up server gossip
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,657 StorageService.java:886 - This node will not auto bootstrap because it is configured to be a seed node.
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,669 BootStrapper.java:228 - Generated random tokens. tokens are [-239167518816809509, 4292610376213338798, 1788415752558510471, 4215022777737378721, 7267112764348729324, 6323585845627089238, -5502336821278220460, 4022600718179601819, 7645994351285801564, -3042551564061161989, 9039718788673118074, 8396993811282391376, -5900046621345155421, 1717720535496844255, -6824909517416559703, 2550908308699729520, 1853903624150849869, -1776312608722546330, 5251837481193004044, -4314213403168179411, -4548603037797123906, 6970335201760184366, -7046027068175469520, 2955347794965685932, 2530475007591112917, 3992276250294166866, 7617172670420997865, 4645818029452997646, -6471937769074597088, -3422449281727587103, -1550031563656789680, 3783745668012261981, 97576868204270427, -947167588234500994, -1093549717607761030, 2792005913828293781, -5431416670730762240, -6372919019485837457, -2331809007238457105, 8218463925096079328, 8741324885015018558, 6232673200677401090, -7962063015046912830, 7230120243050732667, -2686148785442410804, 2182439417179145694, -4157309606613726079, 2948488839067933825, -3638208629180026952, 401893203661720453, -916544888979591194, -93005922265310145, 4414690407851679691, -7132406418576069516, -4188977985192490082, -7996819665468368032, -4784976228944559727, 6319710399652853846, -3901072590643720908, 183501595481406779, -5253032083176682798, -6491937644755751226, -3111986595055655427, -8780104624093680855, -7554853999557466766, 6816190166879993938, -6187166008171371645, 1263378629789876395, -1046783113395037063, -2893066512962025566, 7162206934524650613, -8813485402892001795, 3326161620927062767, -1340324736773256494, 3039960984545900093, -1278887148154125736, 1336289565169419450, 8572820143558199314, 5592727054410117979, -7757325916784088382, 6884149939965183698, 7818088262809040989, 3599002395714607276, -9098642097949142207, -4473607142366469680, -4859174334189443980, 9091169987089149257, 2772298945493572278, -3281559008753598870, 1831996022063001493, 6187960600502776635, 5431067999194821760, 9177912046904318990, -8042107119258405880, -3881909830340991642, 3445148937756560521, 5796683899690030017, 86294765479092598, 7206117571417251705, 2381810249409455726, 8985078542918599809, -513813945806317191, 8698549139804712816, -971885734775277783, 4684607559850225396, 6141309989923258878, 8733175088723878184, -4720843408884473744, -2817279743825602923, 1316898142099073117, -3667273976553861884, 6701812327898008743, -7669670770518247595, 8064593034215023598, -3821554070437820066, -3994325467265552895, -5821281954454405015, -3911292134595347082, 4516725560457510722, -7680117733141972230, -548078023499611294, 6647637577929892232, 3087492772838472187, -6568776115522685444, 7657217580071318125, -3930924582167277454, -4681796462383673888, 6767230028622605731, 3077834008220749932, -3778845270015777595, 5238481614389270813, 2280533874536816605, -4657210993213771672, 1806156552499597241, -8811086747918968618, -4582632062836934847, 4825658838799183107, -990840201233084045, -4936227731341220475, -5205887659825376373, 742596928123246765, 3207199886805025394, -937426365238951295, 641818492786376123, -336447536716980058, -246783121446638553, -6952101069386793251, 8853275651541311495, 8146098373112604080, -6887157611339724787, 6420880211548270094, 17631959452949704, -2571886197620438967, 6065758025167409228, 644549840363871626, 3558335892898814521, -7945463033693652166, 3619398014561438873, -5719443645966025474, 2546817888227491861, -8600775056957721668, -8984795587056356849, -2323551307135563738, -990358155532470631, -2379586209745833752, 5442608670726432634, -3423515709923116891, -6954572564641447192, 7605015497798671410, -9156384613625170171, 3358732606230129566, -4628536344197073357, 6964449223062183610, 2603595412156396830, 7395894417982810418, 957499430949415667, 2934692760846209899, 2586292456360513919, 2523834444289839034, -7341489456457759530, -5882075148842879003, -3307205187816701477, -7422076730943724130, -2103433566620787727, 9022877811646006735, 7198529624144812202, 711975568086408421, 2951693108392206830, 2611445598406553369, 6949360012215893901, 8704021318404421356, -6131284687394580636, -7722589756455204189, 4860105741788028566, 3365462807928726236, 4118842138235768039, 643687360382823282, 7940442132113538997, -6336746294465354263, -5723586694138381384, -2984984099726556062, -3724962998498669307, -4586232052651381764, 432119286775919293, -4682195478869635673, -4597455830337192462, -8989430852519508372, 1320557070579769802, 1485497338078939691, 9208040933950661472, 9185863295120189897, 2177932850222467532, -3306828258046230671, 940978903613674726, 2147862265334379153, 8117563331390759046, -4476624636454385955, 5043148365771494371, 151151231867121704, -3279659590476255177, 641923868584002237, -7240530139665685049, 2306742075886125530, 2301286627033118578, -5313277145107300940, 2634231076301905200, 3186515584583665337, 2661831471193216211, -2522312576235806776, 354950874033528243, -1515868724642683454, 3876281812157812015, 3779292206985909850, 2157357654226720981, -3045507967475836098, 6032585947417306693, 4892195546186553313, -8287218928064524866, -932010884785596852, -8796531640335331465, 2218270757381582281, -1752265701025648239, 7079356780735611738, -4411128368604589158, -7170043000068760865, -7852151301032880568, -4810926134703269718, -2730227044395454038, 3615531792173936227, -8684315766001152927, -3609474211118950910, -4095176525242865662, -2324821947716201781, -3012006539335359485, 8945890428873751225, -819250904463294603]
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:48,678 MigrationManager.java:331 - Create new Keyspace: KeyspaceMetadata{name=system_traces, params=KeyspaceParams{durable_writes=true, replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy, replication_factor=2}}, tables=[org.apache.cassandra.config.CFMetaData@35c0da0a[cfId=c5e99f16-8677-3914-b17e-960613512345,ksName=system_traces,cfName=sessions,flags=[COMPOUND],params=TableParams{comment=tracing sessions, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=0, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(),partitionColumns=[[] | [client command coordinator duration request started_at parameters]],partitionKeyColumns=[session_id],clusteringColumns=[],keyValidator=org.apache.cassandra.db.marshal.UUIDType,columnMetadata=[client, command, session_id, coordinator, request, started_at, duration, parameters],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@3490a8a6[cfId=8826e8e9-e16a-3728-8753-3bc1fc713c25,ksName=system_traces,cfName=events,flags=[COMPOUND],params=TableParams{comment=tracing events, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=0, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.TimeUUIDType),partitionColumns=[[] | [activity source source_elapsed thread]],partitionKeyColumns=[session_id],clusteringColumns=[event_id],keyValidator=org.apache.cassandra.db.marshal.UUIDType,columnMetadata=[activity, event_id, session_id, source, thread, source_elapsed],droppedColumns={},triggers=[],indexes=[]]], views=[], functions=[], types=[]}
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,028 ViewManager.java:137 - Not submitting build tasks for views in keyspace system_traces as storage service is not initialized
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,032 ColumnFamilyStore.java:411 - Initializing system_traces.events
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,039 ColumnFamilyStore.java:411 - Initializing system_traces.sessions
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:49,062 MigrationManager.java:331 - Create new Keyspace: KeyspaceMetadata{name=system_distributed, params=KeyspaceParams{durable_writes=true, replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy, replication_factor=3}}, tables=[org.apache.cassandra.config.CFMetaData@75347a5b[cfId=759fffad-624b-3181-80ee-fa9a52d1f627,ksName=system_distributed,cfName=repair_history,flags=[COMPOUND],params=TableParams{comment=Repair history, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=864000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.TimeUUIDType),partitionColumns=[[] | [coordinator exception_message exception_stacktrace finished_at parent_id range_begin range_end started_at status participants]],partitionKeyColumns=[keyspace_name, columnfamily_name],clusteringColumns=[id],keyValidator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type),columnMetadata=[status, id, coordinator, finished_at, participants, exception_stacktrace, parent_id, range_end, range_begin, exception_message, keyspace_name, started_at, columnfamily_name],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@347380be[cfId=deabd734-b99d-3b9c-92e5-fd92eb5abf14,ksName=system_distributed,cfName=parent_repair_history,flags=[COMPOUND],params=TableParams{comment=Repair history, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=864000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(),partitionColumns=[[] | [exception_message exception_stacktrace finished_at keyspace_name started_at columnfamily_names options requested_ranges successful_ranges]],partitionKeyColumns=[parent_id],clusteringColumns=[],keyValidator=org.apache.cassandra.db.marshal.TimeUUIDType,columnMetadata=[requested_ranges, exception_message, keyspace_name, successful_ranges, started_at, finished_at, options, exception_stacktrace, parent_id, columnfamily_names],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@1eeba057[cfId=5582b59f-8e4e-35e1-b913-3acada51eb04,ksName=system_distributed,cfName=view_build_status,flags=[COMPOUND],params=TableParams{comment=Materialized View build status, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=864000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.UUIDType),partitionColumns=[[] | [status]],partitionKeyColumns=[keyspace_name, view_name],clusteringColumns=[host_id],keyValidator=org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type),columnMetadata=[view_name, status, keyspace_name, host_id],droppedColumns={},triggers=[],indexes=[]]], views=[], functions=[], types=[]}
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,265 ViewManager.java:137 - Not submitting build tasks for views in keyspace system_distributed as storage service is not initialized
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,280 ColumnFamilyStore.java:411 - Initializing system_distributed.parent_repair_history
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,294 ColumnFamilyStore.java:411 - Initializing system_distributed.repair_history
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,306 ColumnFamilyStore.java:411 - Initializing system_distributed.view_build_status
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:49,332 StorageService.java:1449 - JOINING: Finish joining ring
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:49,489 MigrationManager.java:331 - Create new Keyspace: KeyspaceMetadata{name=system_auth, params=KeyspaceParams{durable_writes=true, replication=ReplicationParams{class=org.apache.cassandra.locator.SimpleStrategy, replication_factor=1}}, tables=[org.apache.cassandra.config.CFMetaData@6a47b87e[cfId=5bc52802-de25-35ed-aeab-188eecebb090,ksName=system_auth,cfName=roles,flags=[COMPOUND],params=TableParams{comment=role definitions, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=7776000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(),partitionColumns=[[] | [can_login is_superuser salted_hash member_of]],partitionKeyColumns=[role],clusteringColumns=[],keyValidator=org.apache.cassandra.db.marshal.UTF8Type,columnMetadata=[salted_hash, member_of, role, can_login, is_superuser],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@6cba3352[cfId=0ecdaa87-f8fb-3e60-88d1-74fb36fe5c0d,ksName=system_auth,cfName=role_members,flags=[COMPOUND],params=TableParams{comment=role memberships lookup table, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=7776000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.UTF8Type),partitionColumns=[[] | []],partitionKeyColumns=[role],clusteringColumns=[member],keyValidator=org.apache.cassandra.db.marshal.UTF8Type,columnMetadata=[role, member],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@ec3bccd[cfId=3afbe79f-2194-31a7-add7-f5ab90d8ec9c,ksName=system_auth,cfName=role_permissions,flags=[COMPOUND],params=TableParams{comment=permissions granted to db roles, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=7776000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.UTF8Type),partitionColumns=[[] | [permissions]],partitionKeyColumns=[role],clusteringColumns=[resource],keyValidator=org.apache.cassandra.db.marshal.UTF8Type,columnMetadata=[role, resource, permissions],droppedColumns={},triggers=[],indexes=[]], org.apache.cassandra.config.CFMetaData@38fadea7[cfId=5f2fbdad-91f1-3946-bd25-d5da3a5c35ec,ksName=system_auth,cfName=resource_role_permissons_index,flags=[COMPOUND],params=TableParams{comment=index of db roles with permissions granted on a resource, read_repair_chance=0.0, dclocal_read_repair_chance=0.0, bloom_filter_fp_chance=0.01, crc_check_chance=1.0, gc_grace_seconds=7776000, default_time_to_live=0, memtable_flush_period_in_ms=3600000, min_index_interval=128, max_index_interval=2048, speculative_retry=99PERCENTILE, caching={'keys' : 'ALL', 'rows_per_partition' : 'NONE'}, compaction=CompactionParams{class=org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy, options={min_threshold=4, max_threshold=32}}, compression=org.apache.cassandra.schema.CompressionParams@a1c97b00, extensions={}, cdc=false},comparator=comparator(org.apache.cassandra.db.marshal.UTF8Type),partitionColumns=[[] | []],partitionKeyColumns=[resource],clusteringColumns=[role],keyValidator=org.apache.cassandra.db.marshal.UTF8Type,columnMetadata=[resource, role],droppedColumns={},triggers=[],indexes=[]]], views=[], functions=[], types=[]}
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,753 ViewManager.java:137 - Not submitting build tasks for views in keyspace system_auth as storage service is not initialized
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,762 ColumnFamilyStore.java:411 - Initializing system_auth.resource_role_permissons_index
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,772 ColumnFamilyStore.java:411 - Initializing system_auth.role_members
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,795 ColumnFamilyStore.java:411 - Initializing system_auth.role_permissions
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [MigrationStage:1] 2018-05-07 20:04:49,805 ColumnFamilyStore.java:411 - Initializing system_auth.roles
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:49,818 Gossiper.java:1670 - Waiting for gossip to settle...
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:57,821 Gossiper.java:1701 - No gossip backlog; proceeding
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:58,110 NativeTransportService.java:70 - Netty using native Epoll event loop
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:58,175 Server.java:155 - Using Netty Version: [netty-buffer=netty-buffer-4.0.44.Final.452812a, netty-codec=netty-codec-4.0.44.Final.452812a, netty-codec-haproxy=netty-codec-haproxy-4.0.44.Final.452812a, netty-codec-http=netty-codec-http-4.0.44.Final.452812a, netty-codec-socks=netty-codec-socks-4.0.44.Final.452812a, netty-common=netty-common-4.0.44.Final.452812a, netty-handler=netty-handler-4.0.44.Final.452812a, netty-tcnative=netty-tcnative-1.1.33.Fork26.142ecbb, netty-transport=netty-transport-4.0.44.Final.452812a, netty-transport-native-epoll=netty-transport-native-epoll-4.0.44.Final.452812a, netty-transport-rxtx=netty-transport-rxtx-4.0.44.Final.452812a, netty-transport-sctp=netty-transport-sctp-4.0.44.Final.452812a, netty-transport-udt=netty-transport-udt-4.0.44.Final.452812a]
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:58,175 Server.java:156 - Starting listening for CQL clients on /0.0.0.0:9042 (unencrypted)...
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [main] 2018-05-07 20:04:58,242 CassandraDaemon.java:529 - Not starting RPC server as requested. Use JMX (StorageService->startRPCServer()) or nodetool (enablethrift) to start it
[testcontainers-netty-1-16] INFO 🐳 [cassandra:3] - STDOUT: INFO  [OptionalTasks:1] 2018-05-07 20:04:59,957 CassandraRoleManager.java:356 - Created default superuser role 'cassandra'
[testcontainers-netty-1-3] ERROR com.github.dockerjava.core.async.ResultCallbackTemplate - Error during callback
com.github.dockerjava.api.exception.ConflictException: {"message":"Container e9031d7a6d53db1b760102cc9ce7b552346fe95ac6af47b16fcc4bfa99df758d is not running"}

    at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:107)
    at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
    at org.testcontainers.shaded.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
    at org.testcontainers.shaded.io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
    at org.testcontainers.shaded.io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
    at org.testcontainers.shaded.io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
    at org.testcontainers.shaded.io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
    at org.testcontainers.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1342)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at org.testcontainers.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
    at org.testcontainers.shaded.io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:934)
    at org.testcontainers.shaded.io.netty.channel.kqueue.AbstractKQueueStreamChannel$KQueueStreamUnsafe.readReady(AbstractKQueueStreamChannel.java:593)
    at org.testcontainers.shaded.io.netty.channel.kqueue.KQueueDomainSocketChannel$KQueueDomainUnsafe.readReady(KQueueDomainSocketChannel.java:131)
    at org.testcontainers.shaded.io.netty.channel.kqueue.AbstractKQueueChannel$AbstractKQueueUnsafe.readReady(AbstractKQueueChannel.java:367)
    at org.testcontainers.shaded.io.netty.channel.kqueue.KQueueEventLoop.processReady(KQueueEventLoop.java:198)
    at org.testcontainers.shaded.io.netty.channel.kqueue.KQueueEventLoop.run(KQueueEventLoop.java:270)
    at org.testcontainers.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at org.testcontainers.shaded.io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
    at java.lang.Thread.run(Thread.java:748)

org.testcontainers.containers.ContainerLaunchException: Container startup failed

    at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:214)
    at io.vertx.cassandra.Hello.before(Hello.java:18)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
    at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
    at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:83)
    at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:207)
    ... 24 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
    at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:279)
    at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:209)
    at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
    ... 25 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [32831] should be listening)
    at org.testcontainers.containers.wait.strategy.HostPortWaitStrategy.waitUntilReady(HostPortWaitStrategy.java:47)
    at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:32)
    at org.testcontainers.containers.wait.HostPortWaitStrategy.waitUntilReady(HostPortWaitStrategy.java:23)
    at org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:32)
    at org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:531)
    at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:258)
    ... 27 more

It seems that TCP port check is broken, because i'm able to connect to the 32831 port via cqlsh:

cqlsh localhost 32832
bsideup commented 6 years ago

Hi @Sammers21,

Cassandra does not expose port 9046, see the list here: https://github.com/docker-library/cassandra/blob/01786683a1b060f813bce5539b1743695f9cc043/3.11/Dockerfile#L161

You probably wanted port 9042

bsideup commented 6 years ago

Hi @Sammers21, I'm closing this one, feel free to reopen if the issue still exist after the port number fix

bric3 commented 4 years ago

Just for reference I also experienced this exception, this was happening because I'm using a laptop that is really slow due to Sentinel One daemons eating a lot of CPU. When the laptop had a bit more computing resources then the issue disappeared during that time.

During that slow down, the test container didn't initialize in time thus raising the exception.