Created
October 31, 2022 11:48
-
-
Save jakejakeR/3ac6cc5408371d302167a9aab55565ab to your computer and use it in GitHub Desktop.
Result.txt
This file contains 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
12:46:32.947 [main] INFO org.testcontainers.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor') | |
12:46:32.974 [main] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.NpipeSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first | |
12:46:33.355 [main] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with local Npipe socket (npipe:////./pipe/docker_engine) | |
12:46:33.356 [main] INFO org.testcontainers.DockerClientFactory - Docker host IP address is localhost | |
12:46:33.371 [main] INFO org.testcontainers.DockerClientFactory - Connected to docker: | |
Server Version: 20.10.17 | |
API Version: 1.41 | |
Operating System: Docker Desktop | |
Total Memory: 25336 MB | |
12:46:33.391 [main] INFO 🐳 [testcontainers/ryuk:0.3.4] - Creating container for image: testcontainers/ryuk:0.3.4 | |
12:46:35.109 [main] INFO 🐳 [testcontainers/ryuk:0.3.4] - Container testcontainers/ryuk:0.3.4 is starting: fa369805af5c1bd0e6609a16d4d10d4f7f59e3d7c3c9f5e428521512b95bdc8d | |
12:46:35.589 [main] INFO 🐳 [testcontainers/ryuk:0.3.4] - Container testcontainers/ryuk:0.3.4 started in PT2.2123393S | |
12:46:35.595 [main] INFO org.testcontainers.utility.RyukResourceReaper - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit | |
12:46:35.595 [main] INFO org.testcontainers.DockerClientFactory - Checking the system... | |
12:46:35.596 [main] INFO org.testcontainers.DockerClientFactory - ✔︎ Docker server version should be at least 1.6.0 | |
12:46:35.612 [main] INFO 🐳 [mongo:latest] - Creating container for image: mongo:latest | |
12:46:35.647 [main] INFO 🐳 [mongo:latest] - Container mongo:latest is starting: 21372346f9abd79fdc426b6fe8168c42c17ba601576b1d2fb1b0744c413d58ae | |
12:46:36.590 [main] INFO 🐳 [mongo:latest] - Container mongo:latest started in PT0.9941929S | |
12:46:38.941 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests], using SpringBootContextLoader | |
12:46:38.944 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}. | |
12:46:38.944 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests]: ChatMessageRepositoryIntegrationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. | |
12:46:39.044 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.construction_worker_forum_back.ConstructionWorkerForumBackApplication for test class com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests | |
12:46:39.051 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener] | |
12:46:39.069 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f3021cb, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4aaae508, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@6009bea, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@7bc6d27a, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@75769ab0, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6869a3b3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6ab4ba9f, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@27ace0b1, org.springframework.test.context.event.EventPublishingTestExecutionListener@664e5dee, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@431f1eaf, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@cb03411, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4c59e45e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@58ec7116, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@63bde6c2, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@6ea04618, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@6dd82486, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@56078cea] | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v2.7.4) | |
12:46:39.356 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.2.5.Final | |
12:46:39.361 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests - Starting ChatMessageRepositoryIntegrationTests using Java 17.0.4 on HL0JBK3 with PID 19304 (started by jrogo in C:\Users\jrogo\Documents\Projects\forum-team-project\construction_worker_forum_back) | |
12:46:39.362 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests - No active profile set, falling back to 1 default profile: "default" | |
12:46:39.692 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode | |
12:46:39.693 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. | |
12:46:39.739 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.CommentRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:39.741 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.PostRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:39.742 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.TopicRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:39.744 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.UserRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:39.768 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 71 ms. Found 2 MongoDB repository interfaces. | |
12:46:40.106 [main] INFO org.mongodb.driver.client - MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.6.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/17.0.4+11-LTS-179"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.Jep395RecordCodecProvider@1129829c]}, clusterSettings={hosts=[localhost:64141], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} | |
12:46:40.116 [cluster-rtt-ClusterId{value='635fb5a02e1eb83cccd5309d', description='null'}-localhost:64141] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:9}] to localhost:64141 | |
12:46:40.116 [cluster-ClusterId{value='635fb5a02e1eb83cccd5309d', description='null'}-localhost:64141] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:10}] to localhost:64141 | |
12:46:40.116 [cluster-ClusterId{value='635fb5a02e1eb83cccd5309d', description='null'}-localhost:64141] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:64141, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=20042200, setName='docker-rs', canonicalAddress=21372346f9ab:27017, hosts=[21372346f9ab:27017], passives=[], arbiters=[], primary='21372346f9ab:27017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000001, setVersion=1, topologyVersion=TopologyVersion{processId=635fb59c72f5b8c73fd54ca2, counter=6}, lastWriteDate=Mon Oct 31 12:46:37 CET 2022, lastUpdateTimeNanos=3176824670300} | |
12:46:40.488 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageRepositoryIntegrationTests - Started ChatMessageRepositoryIntegrationTests in 1.387 seconds (JVM running for 8.386) | |
12:46:40.544 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:3, serverValue:11}] to localhost:64141 | |
Could not find | |
Could not find | |
12:46:41.110 [cluster-ClusterId{value='635fb5a02e1eb83cccd5309d', description='null'}-localhost:64141] INFO org.mongodb.driver.cluster - Exception in monitor thread while connecting to server localhost:64141 | |
com.mongodb.MongoSocketReadException: Prematurely reached end of stream | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:112) | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:135) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:713) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveMessageWithAdditionalTimeout(InternalStreamConnection.java:571) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:410) | |
at com.mongodb.internal.connection.InternalStreamConnection.receive(InternalStreamConnection.java:369) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:221) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:157) | |
at java.base/java.lang.Thread.run(Thread.java:833) | |
12:46:41.426 [main] INFO 🐳 [mongo:latest] - Creating container for image: mongo:latest | |
12:46:41.456 [main] INFO 🐳 [mongo:latest] - Container mongo:latest is starting: b12324b77b7f2a8e382b1460cf0cf5beba4e00bfd848760b2a617d61a0c069c2 | |
12:46:42.395 [main] INFO 🐳 [mongo:latest] - Container mongo:latest started in PT0.9683553S | |
12:46:44.772 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests], using SpringBootContextLoader | |
12:46:44.773 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}. | |
12:46:44.773 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests]: ChatRoomRepositoryIntegrationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. | |
12:46:44.776 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.construction_worker_forum_back.ConstructionWorkerForumBackApplication for test class com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests | |
12:46:44.776 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener] | |
12:46:44.777 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4604e051, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@4535bdc6, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@23e86863, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@6df87ffd, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@c1f0c7b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@642c5bb3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4e79c25, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@2ace1cd3, org.springframework.test.context.event.EventPublishingTestExecutionListener@5e46a125, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@5831989d, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@608f310a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@3a7d914c, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@515940af, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@5f8df69, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@1ce6a9bd, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@4a47bc9c, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5100c143] | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v2.7.4) | |
12:46:44.799 [main] INFO com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests - Starting ChatRoomRepositoryIntegrationTests using Java 17.0.4 on HL0JBK3 with PID 19304 (started by jrogo in C:\Users\jrogo\Documents\Projects\forum-team-project\construction_worker_forum_back) | |
12:46:44.799 [main] INFO com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests - No active profile set, falling back to 1 default profile: "default" | |
12:46:44.878 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode | |
12:46:44.878 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. | |
12:46:44.891 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.CommentRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:44.891 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.PostRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:44.891 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.TopicRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:44.891 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.UserRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:44.902 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 24 ms. Found 2 MongoDB repository interfaces. | |
12:46:44.945 [main] INFO org.mongodb.driver.client - MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.6.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/17.0.4+11-LTS-179"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.Jep395RecordCodecProvider@1129829c]}, clusterSettings={hosts=[localhost:64146], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} | |
12:46:44.948 [cluster-rtt-ClusterId{value='635fb5a42e1eb83cccd530aa', description='null'}-localhost:64146] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:6, serverValue:9}] to localhost:64146 | |
12:46:44.948 [cluster-ClusterId{value='635fb5a42e1eb83cccd530aa', description='null'}-localhost:64146] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:5, serverValue:10}] to localhost:64146 | |
12:46:44.948 [cluster-ClusterId{value='635fb5a42e1eb83cccd530aa', description='null'}-localhost:64146] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:64146, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=2695400, setName='docker-rs', canonicalAddress=b12324b77b7f:27017, hosts=[b12324b77b7f:27017], passives=[], arbiters=[], primary='b12324b77b7f:27017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000001, setVersion=1, topologyVersion=TopologyVersion{processId=635fb5a1c5698443e3b60807, counter=6}, lastWriteDate=Mon Oct 31 12:46:43 CET 2022, lastUpdateTimeNanos=3181657520700} | |
12:46:45.022 [main] INFO com.construction_worker_forum_back.integration.chat.ChatRoomRepositoryIntegrationTests - Started ChatRoomRepositoryIntegrationTests in 0.243 seconds (JVM running for 12.92) | |
12:46:45.028 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:7, serverValue:11}] to localhost:64146 | |
Could not find | |
Could not find | |
12:46:45.163 [cluster-ClusterId{value='635fb5a42e1eb83cccd530aa', description='null'}-localhost:64146] INFO org.mongodb.driver.cluster - Exception in monitor thread while connecting to server localhost:64146 | |
com.mongodb.MongoSocketReadException: Prematurely reached end of stream | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:112) | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:135) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:713) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveMessageWithAdditionalTimeout(InternalStreamConnection.java:571) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:410) | |
at com.mongodb.internal.connection.InternalStreamConnection.receive(InternalStreamConnection.java:369) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:221) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:157) | |
at java.base/java.lang.Thread.run(Thread.java:833) | |
12:46:45.604 [main] INFO 🐳 [mongo:latest] - Creating container for image: mongo:latest | |
12:46:45.645 [main] INFO 🐳 [mongo:latest] - Container mongo:latest is starting: 0531d3772a990b654dfc4887379021060074ff05fda37da7755bea314c74c2cd | |
12:46:46.542 [main] INFO 🐳 [mongo:latest] - Container mongo:latest started in PT0.9378511S | |
12:46:48.826 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests], using SpringBootContextLoader | |
12:46:48.827 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests]: no resource found for suffixes {-context.xml, Context.groovy}. | |
12:46:48.827 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests]: ChatMessageServiceIntegrationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. | |
12:46:48.830 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.construction_worker_forum_back.ConstructionWorkerForumBackApplication for test class com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests | |
12:46:48.830 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener] | |
12:46:48.830 [main] INFO org.springframework.boot.test.autoconfigure.data.mongo.DataMongoTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2a504ea7, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@10f397d0, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@33a3e5db, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4f9213d2, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@679f59f1, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6b5e1fc5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@47ffa248, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@18ac25e6, org.springframework.test.context.event.EventPublishingTestExecutionListener@5e1a7d3, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@1eda309d, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@248d2cec, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5d77be8e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@55a055cc, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1ab1d93d, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@57167ccb, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@37753b69, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@602c167e] | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / | |
=========|_|==============|___/=/_/_/_/ | |
:: Spring Boot :: (v2.7.4) | |
12:46:48.853 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests - Starting ChatMessageServiceIntegrationTests using Java 17.0.4 on HL0JBK3 with PID 19304 (started by jrogo in C:\Users\jrogo\Documents\Projects\forum-team-project\construction_worker_forum_back) | |
12:46:48.853 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests - No active profile set, falling back to 1 default profile: "default" | |
12:46:48.926 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode | |
12:46:48.926 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode. | |
12:46:48.940 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.CommentRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:48.940 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.PostRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:48.940 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.TopicRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:48.940 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport - Spring Data MongoDB - Could not safely identify store assignment for repository candidate interface com.construction_worker_forum_back.repository.UserRepository; If you want this repository to be a MongoDB repository, consider annotating your entities with one of these annotations: org.springframework.data.mongodb.core.mapping.Document (preferred), or consider extending one of the following types with your repository: org.springframework.data.mongodb.repository.MongoRepository | |
12:46:48.950 [main] INFO org.springframework.data.repository.config.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 23 ms. Found 2 MongoDB repository interfaces. | |
12:46:48.988 [main] INFO org.mongodb.driver.client - MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.6.1"}, "os": {"type": "Windows", "name": "Windows 10", "architecture": "amd64", "version": "10.0"}, "platform": "Java/Oracle Corporation/17.0.4+11-LTS-179"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.Jep395RecordCodecProvider@1129829c]}, clusterSettings={hosts=[localhost:64151], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} | |
12:46:48.992 [cluster-rtt-ClusterId{value='635fb5a82e1eb83cccd530af', description='null'}-localhost:64151] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:10, serverValue:9}] to localhost:64151 | |
12:46:48.992 [cluster-ClusterId{value='635fb5a82e1eb83cccd530af', description='null'}-localhost:64151] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:9, serverValue:10}] to localhost:64151 | |
12:46:48.993 [cluster-ClusterId{value='635fb5a82e1eb83cccd530af', description='null'}-localhost:64151] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:64151, type=REPLICA_SET_PRIMARY, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=2953600, setName='docker-rs', canonicalAddress=0531d3772a99:27017, hosts=[0531d3772a99:27017], passives=[], arbiters=[], primary='0531d3772a99:27017', tagSet=TagSet{[]}, electionId=7fffffff0000000000000001, setVersion=1, topologyVersion=TopologyVersion{processId=635fb5a6971f4c88fb431fac, counter=6}, lastWriteDate=Mon Oct 31 12:46:47 CET 2022, lastUpdateTimeNanos=3185701974300} | |
12:46:49.047 [main] INFO com.construction_worker_forum_back.integration.chat.ChatMessageServiceIntegrationTests - Started ChatMessageServiceIntegrationTests in 0.215 seconds (JVM running for 16.946) | |
12:46:49.054 [main] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:11, serverValue:11}] to localhost:64151 | |
Could not find | |
Could not find | |
12:46:49.148 [cluster-ClusterId{value='635fb5a82e1eb83cccd530af', description='null'}-localhost:64151] INFO org.mongodb.driver.cluster - Exception in monitor thread while connecting to server localhost:64151 | |
com.mongodb.MongoSocketReadException: Prematurely reached end of stream | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:112) | |
at com.mongodb.internal.connection.SocketStream.read(SocketStream.java:135) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveResponseBuffers(InternalStreamConnection.java:713) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveMessageWithAdditionalTimeout(InternalStreamConnection.java:571) | |
at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:410) | |
at com.mongodb.internal.connection.InternalStreamConnection.receive(InternalStreamConnection.java:369) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:221) | |
at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:157) | |
at java.base/java.lang.Thread.run(Thread.java:833) | |
Process finished with exit code 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment