SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/uoc/sts/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [file:/C:/uoc/sts/configuration/org.eclipse.osgi/5/0/.cp/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/uoc/sts/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [file:/C:/uoc/sts/configuration/org.eclipse.osgi/5/0/.cp/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] [INFO] Scanning for projects... [INFO] [INFO] --------------------< org.uoc.tfg:schoolelearning >--------------------- [INFO] Building schoolelearning 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (jacoco-initialize) @ schoolelearning --- [INFO] argLine set to -javaagent:C:\\Users\\dubas\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\uoc\\workspace\\schoolelearning\\target\\jacoco.exec [INFO] [INFO] --- frontend-maven-plugin:1.7.6:install-node-and-npm (install node and npm) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Node v10.16.0 is already installed. [INFO] NPM 6.10.2 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.7.6:npm (npm install) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Running 'npm install' in C:\uoc\workspace\schoolelearning\src\main\client [INFO] [INFO] > client@1.0.0 postinstall C:\uoc\workspace\schoolelearning\src\main\client [INFO] > ngcc [INFO] [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of @angular/compiler-cli@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of @angular/localize@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of karma@~5.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of ng-packagr@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @ngtools/webpack@11.0.0 requires a peer of @angular/compiler-cli@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN icss-utils@5.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-extract-imports@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-local-by-default@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-scope@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-values@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN sass-loader@10.0.5 requires a peer of node-sass@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN sass-loader@10.0.5 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN webpack-subresource-integrity@1.5.1 requires a peer of html-webpack-plugin@>= 2.21.0 < 5 but none is installed. You must install peer dependencies yourself. [ERROR] [INFO] removed 1 package and audited 1554 packages in 18.509s [INFO] found 3 low severity vulnerabilities [INFO] run `npm audit fix` to fix them, or `npm audit` for details [INFO] [INFO] --- frontend-maven-plugin:1.7.6:npm (npm run build) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Running 'npm run build-prod' in C:\uoc\workspace\schoolelearning\src\main\client [INFO] [INFO] > client@1.0.0 build-prod C:\uoc\workspace\schoolelearning\src\main\client [INFO] > ng build --prod [INFO] [ERROR] Option "extractCss" is deprecated: Deprecated since version 11.0. No longer required to disable CSS extraction for HMR. [ERROR] - Generating browser application bundles... [ERROR] √ Browser application bundle generation complete. [ERROR] - Copying assets... [ERROR] √ Copying assets complete. [ERROR] - Generating index html... [ERROR] √ Index html generation complete. [INFO] [INFO] Initial Chunk Files | Names | Size [INFO] vendor.bdac3a934a77a58ef3e5.js | vendor | 719.84 kB [INFO] main.faa8b885d0b079d8af92.js | main | 130.84 kB [INFO] styles.3ee77c41f707d6c0081f.css | styles | 75.17 kB [INFO] polyfills.9bf4dad123bd95dda86e.js | polyfills | 36.00 kB [INFO] runtime.359d5ee4682f20e936e9.js | runtime | 1.45 kB [INFO] [INFO] | Initial Total | 963.30 kB [INFO] [INFO] Build at: 2020-12-17T18:17:59.138Z - Hash: c6bd2f192169aee0e3e7 - Time: 26323ms [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ schoolelearning --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ schoolelearning --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ schoolelearning --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\uoc\workspace\schoolelearning\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ schoolelearning --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 29 source files to C:\uoc\workspace\schoolelearning\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ schoolelearning --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.uoc.tfg.sel.repository.model.AuthorizationTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in org.uoc.tfg.sel.repository.model.AuthorizationTest [INFO] Running org.uoc.tfg.sel.repository.model.CourseTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.CourseTest [INFO] Running org.uoc.tfg.sel.repository.model.EventJobTest [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.uoc.tfg.sel.repository.model.EventJobTest [INFO] Running org.uoc.tfg.sel.repository.model.EventTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.EventTest [INFO] Running org.uoc.tfg.sel.repository.model.EventTypeTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.EventTypeTest [INFO] Running org.uoc.tfg.sel.repository.model.MessageRecipentIdTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.MessageRecipentIdTest [INFO] Running org.uoc.tfg.sel.repository.model.MessageRecipientTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.MessageRecipientTest [INFO] Running org.uoc.tfg.sel.repository.model.MessageTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.MessageTest [INFO] Running org.uoc.tfg.sel.repository.model.SubjectClassTest [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.uoc.tfg.sel.repository.model.SubjectClassTest [INFO] Running org.uoc.tfg.sel.repository.model.SubjectTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.SubjectTest [INFO] Running org.uoc.tfg.sel.repository.model.UserSessionTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.uoc.tfg.sel.repository.model.UserSessionTest [INFO] Running org.uoc.tfg.sel.repository.model.UserTest [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.uoc.tfg.sel.repository.model.UserTest [INFO] Running org.uoc.tfg.sel.repository.model.UserTypeTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in org.uoc.tfg.sel.repository.model.UserTypeTest [INFO] Running org.uoc.tfg.sel.services.AuthorizationServiceTest 12:18:04.886 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@1e406cbe] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [2] 12:18:04.892 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutor' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@1e406cbe] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [4] 12:18:04.917 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@7ee02968] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [2] 12:18:04.917 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutor' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@7ee02968] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [4] 12:18:04.920 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@24e7087a] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [2] 12:18:04.920 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutor' of type [null] on target object [org.uoc.tfg.sel.service.AuthorizationService@24e7087a] or target class [class org.uoc.tfg.sel.service.AuthorizationService] to value [4] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.922 s - in org.uoc.tfg.sel.services.AuthorizationServiceTest [INFO] Running org.uoc.tfg.sel.services.CourseServiceTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s - in org.uoc.tfg.sel.services.CourseServiceTest [INFO] Running org.uoc.tfg.sel.services.EventServiceTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 s - in org.uoc.tfg.sel.services.EventServiceTest [INFO] Running org.uoc.tfg.sel.services.MessagingServiceTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s - in org.uoc.tfg.sel.services.MessagingServiceTest [INFO] Running org.uoc.tfg.sel.services.SessionServiceTest 12:18:05.205 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'sessionTime' of type [null] on target object [org.uoc.tfg.sel.service.SessionService@630e5010] or target class [class org.uoc.tfg.sel.service.SessionService] to value [86400000] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s - in org.uoc.tfg.sel.services.SessionServiceTest [INFO] Running org.uoc.tfg.sel.services.SubjectClassServiceTest 12:18:05.212 [main] DEBUG org.uoc.tfg.sel.service.SubjectClassService - Class SubjectClass [id=null, teacher=null, subject=null] no students requested 12:18:05.215 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.SubjectClassService@29b0c169] or target class [class org.uoc.tfg.sel.service.SubjectClassService] to value [5] 12:18:05.216 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.SubjectClassService@5f2ad3d5] or target class [class org.uoc.tfg.sel.service.SubjectClassService] to value [5] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in org.uoc.tfg.sel.services.SubjectClassServiceTest [INFO] Running org.uoc.tfg.sel.services.SubjectServiceTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in org.uoc.tfg.sel.services.SubjectServiceTest [INFO] Running org.uoc.tfg.sel.services.UserServiceTest 12:18:05.255 [main] DEBUG org.uoc.tfg.sel.service.UserService - User null is assigned at null 12:18:05.260 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@58be583e] or target class [class org.uoc.tfg.sel.service.UserService] to value [2] 12:18:05.261 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'specialistType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@58be583e] or target class [class org.uoc.tfg.sel.service.UserService] to value [3] 12:18:05.371 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@1f4de96e] or target class [class org.uoc.tfg.sel.service.UserService] to value [2] 12:18:05.371 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'specialistType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@1f4de96e] or target class [class org.uoc.tfg.sel.service.UserService] to value [3] 12:18:05.371 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@1f4de96e] or target class [class org.uoc.tfg.sel.service.UserService] to value [4] 12:18:05.371 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@1f4de96e] or target class [class org.uoc.tfg.sel.service.UserService] to value [5] 12:18:05.373 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@4def900a] or target class [class org.uoc.tfg.sel.service.UserService] to value [2] 12:18:05.373 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'specialistType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@4def900a] or target class [class org.uoc.tfg.sel.service.UserService] to value [3] 12:18:05.374 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@4def900a] or target class [class org.uoc.tfg.sel.service.UserService] to value [4] 12:18:05.374 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@4def900a] or target class [class org.uoc.tfg.sel.service.UserService] to value [5] 12:18:05.376 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@cf0bc92] or target class [class org.uoc.tfg.sel.service.UserService] to value [2] 12:18:05.376 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'specialistType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@cf0bc92] or target class [class org.uoc.tfg.sel.service.UserService] to value [3] 12:18:05.376 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@cf0bc92] or target class [class org.uoc.tfg.sel.service.UserService] to value [4] 12:18:05.376 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@cf0bc92] or target class [class org.uoc.tfg.sel.service.UserService] to value [5] 12:18:05.379 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'tutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@53945f9c] or target class [class org.uoc.tfg.sel.service.UserService] to value [2] 12:18:05.379 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'specialistType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@53945f9c] or target class [class org.uoc.tfg.sel.service.UserService] to value [3] 12:18:05.379 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'legalTutorType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@53945f9c] or target class [class org.uoc.tfg.sel.service.UserService] to value [4] 12:18:05.380 [main] DEBUG org.springframework.test.util.ReflectionTestUtils - Setting field 'studentType' of type [null] on target object [org.uoc.tfg.sel.service.UserService@53945f9c] or target class [class org.uoc.tfg.sel.service.UserService] to value [5] [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 s - in org.uoc.tfg.sel.services.UserServiceTest [INFO] Running org.uoc.tfg.sel.web.AuthenticationControllerTest 12:18:05.388 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 12:18:05.391 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)] 12:18:05.425 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest] from class [org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper] 12:18:05.443 [main] INFO org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest], using SpringBootContextLoader 12:18:05.445 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest]: class path resource [org/uoc/tfg/sel/web/AuthenticationControllerTest-context.xml] does not exist 12:18:05.445 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest]: class path resource [org/uoc/tfg/sel/web/AuthenticationControllerTestContext.groovy] does not exist 12:18:05.445 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 12:18:05.446 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.AuthenticationControllerTest]: AuthenticationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 12:18:05.604 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\uoc\workspace\schoolelearning\target\classes\org\uoc\tfg\sel\SchoolelearningApplication.class] 12:18:05.604 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.AuthenticationControllerTest 12:18:05.608 [main] DEBUG org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper - @TestExecutionListeners is not present for class [org.uoc.tfg.sel.web.AuthenticationControllerTest]: using defaults. 12:18:05.608 [main] INFO org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 12:18:05.638 [main] INFO org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@42130a5c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@6e925a46, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@34f876c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@35cf7e98, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6f54d397, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1368e451, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6ce365b7, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@2296ed0d, org.springframework.test.context.event.EventPublishingTestExecutionListener@6b174aa3, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@3f8961fc, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@48306567, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@5d5b07e9, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@cc81cb3, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@78ba0a57, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@33ea437a, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@360b6ea1] 12:18:05.642 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@4ed7fb78 testClass = AuthenticationControllerTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@393b99d testClass = AuthenticationControllerTest, locations = '{}', classes = '{class org.uoc.tfg.sel.SchoolelearningApplication}', contextInitializerClasses = '[]', activeProfiles = '{test}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper=true}', contextCustomizers = set[[ImportsContextCustomizer@182ce25e key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.hateoas.HypermediaAutoConfiguration, org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration, org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration, org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@77587422, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@4f70b659, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@c2658ad2, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@32a29361, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@3294915b, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@d53df108, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@63661fc7, org.springframework.boot.test.context.SpringBootTestArgs@1], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map[[empty]]], class annotated with @DirtiesContext [false] with mode [null]. 12:18:05.688 [main] DEBUG org.springframework.core.env.StandardEnvironment - Activating profiles [test] 12:18:05.693 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper=true} __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:06.131 INFO 35972 --- [ main] o.u.t.s.w.AuthenticationControllerTest : Starting AuthenticationControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:06.132 DEBUG 35972 --- [ main] o.u.t.s.w.AuthenticationControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:06.133 INFO 35972 --- [ main] o.u.t.s.w.AuthenticationControllerTest : The following profiles are active: test 2020-12-17 12:18:06.155 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2dda91b3 2020-12-17 12:18:07.301 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 4 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:07.512 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:07.566 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:07.817 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: 87895450-c371-4f20-b4f3-8ec16937f835 2020-12-17 12:18:07.985 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7396cf29, org.springframework.security.web.context.SecurityContextPersistenceFilter@fe619cb, org.springframework.security.web.header.HeaderWriterFilter@323bd261, org.springframework.security.web.csrf.CsrfFilter@35cc869b, org.springframework.security.web.authentication.logout.LogoutFilter@168ca44b, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@cbf7f90, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@69ade06d, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@6e048bc2, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1de4ac17, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@394cb4c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@567486d5, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2a4b35a0, org.springframework.security.web.session.SessionManagementFilter@34841b9c, org.springframework.security.web.access.ExceptionTranslationFilter@70f5331d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6cb9cefe] 2020-12-17 12:18:08.054 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:08.054 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:08.075 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 20 ms 2020-12-17 12:18:08.116 INFO 35972 --- [ main] o.u.t.s.w.AuthenticationControllerTest : Started AuthenticationControllerTest in 2.41 seconds (JVM running for 5.38) 2020-12-17 12:18:08.176 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.AuthenticationController#logout(UserDetailsExtended) 2020-12-17 12:18:08.219 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:08.220 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:08.255 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.AuthenticationController#login(AuthenticationRequest) 2020-12-17 12:18:08.309 DEBUG 35972 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json" to [org.uoc.tfg.sel.security.model.AuthenticationRequest@6cc03dd6] 2020-12-17 12:18:08.331 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:08.332 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [org.uoc.tfg.sel.security.model.AuthenticationResponse@629516b0] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.971 s - in org.uoc.tfg.sel.web.AuthenticationControllerTest [INFO] Running org.uoc.tfg.sel.web.AuthorizationControllerTest 2020-12-17 12:18:08.358 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.AuthorizationControllerTest], using SpringBootContextLoader 2020-12-17 12:18:08.359 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.AuthorizationControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:08.359 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.AuthorizationControllerTest]: AuthorizationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:08.363 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.AuthorizationControllerTest 2020-12-17 12:18:08.364 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:08.365 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1ca56a1d, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@5e26a6e4, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@38b34d32, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@12103546, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2552409b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4e28c353, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6c50dd79, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@7f796fb0, org.springframework.test.context.event.EventPublishingTestExecutionListener@4818be5c, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@40a2ce57, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2af3682f, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@1ec3962e, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@132431f4, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@45a285b1, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@74213f3a, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@76d1b576] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:08.392 INFO 35972 --- [ main] o.u.t.s.web.AuthorizationControllerTest : Starting AuthorizationControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:08.392 DEBUG 35972 --- [ main] o.u.t.s.web.AuthorizationControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:08.393 INFO 35972 --- [ main] o.u.t.s.web.AuthorizationControllerTest : The following profiles are active: test 2020-12-17 12:18:08.395 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5ed1e210 2020-12-17 12:18:08.647 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 6 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:08.693 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:08.702 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:08.768 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: d839af85-a6eb-4f46-9cf5-5ba8a564ea93 2020-12-17 12:18:08.796 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@75e8d6b0, org.springframework.security.web.context.SecurityContextPersistenceFilter@258b7c49, org.springframework.security.web.header.HeaderWriterFilter@8ed515b, org.springframework.security.web.csrf.CsrfFilter@1df468bf, org.springframework.security.web.authentication.logout.LogoutFilter@7e4a1c87, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@62921d00, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@408382cf, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@24d5908d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@e1d21f5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1b4b7aa5, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@79ce971e, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@565df30a, org.springframework.security.web.session.SessionManagementFilter@1b844e16, org.springframework.security.web.access.ExceptionTranslationFilter@615bf4a1, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@194904a4] 2020-12-17 12:18:08.802 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:08.802 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:08.806 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 3 ms 2020-12-17 12:18:08.817 INFO 35972 --- [ main] o.u.t.s.web.AuthorizationControllerTest : Started AuthorizationControllerTest in 0.45 seconds (JVM running for 6.082) 2020-12-17 12:18:08.827 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.AuthorizationController#getAll(Authentication) 2020-12-17 12:18:08.835 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:08.836 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.481 s - in org.uoc.tfg.sel.web.AuthorizationControllerTest [INFO] Running org.uoc.tfg.sel.web.CourseControllerTest 2020-12-17 12:18:08.842 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.CourseControllerTest], using SpringBootContextLoader 2020-12-17 12:18:08.843 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.CourseControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:08.843 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.CourseControllerTest]: CourseControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:08.846 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.CourseControllerTest 2020-12-17 12:18:08.846 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:08.847 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5af7b9c5, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@505d09b0, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@5e78e7ff, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@3a646acd, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5dbad5d5, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6512475b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@7ccc0319, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@65673c4f, org.springframework.test.context.event.EventPublishingTestExecutionListener@6ef8494b, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@19a7f350, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@56fefb6, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@59362e10, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@7528966c, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@5333d6ea, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@295b9165, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@41757cf0] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:08.892 INFO 35972 --- [ main] o.uoc.tfg.sel.web.CourseControllerTest : Starting CourseControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:08.893 DEBUG 35972 --- [ main] o.uoc.tfg.sel.web.CourseControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:08.893 INFO 35972 --- [ main] o.uoc.tfg.sel.web.CourseControllerTest : The following profiles are active: test 2020-12-17 12:18:08.908 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@7f25bfb6 2020-12-17 12:18:09.146 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 7 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:09.199 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:09.207 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:09.258 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: e063917e-da30-4d2a-9216-1bce0de51aec 2020-12-17 12:18:09.281 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@d110680, org.springframework.security.web.context.SecurityContextPersistenceFilter@4b1c4deb, org.springframework.security.web.header.HeaderWriterFilter@4a1381fc, org.springframework.security.web.csrf.CsrfFilter@31c79508, org.springframework.security.web.authentication.logout.LogoutFilter@1f963035, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@207a6bc8, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@1030f301, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@6711203f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@571e49e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@774a221b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@2180416f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1446333e, org.springframework.security.web.session.SessionManagementFilter@46feffe9, org.springframework.security.web.access.ExceptionTranslationFilter@4f4e648f, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@68805d40] 2020-12-17 12:18:09.289 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:09.289 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:09.292 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 3 ms 2020-12-17 12:18:09.311 INFO 35972 --- [ main] o.uoc.tfg.sel.web.CourseControllerTest : Started CourseControllerTest in 0.462 seconds (JVM running for 6.575) 2020-12-17 12:18:09.319 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.CourseController#getById(Integer) 2020-12-17 12:18:09.329 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.330 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:09.337 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.CourseController#getAll() 2020-12-17 12:18:09.339 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.339 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:09.348 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.CourseController#getMyCourses(Authentication) 2020-12-17 12:18:09.349 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.350 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.511 s - in org.uoc.tfg.sel.web.CourseControllerTest [INFO] Running org.uoc.tfg.sel.web.EventControllerTest 2020-12-17 12:18:09.356 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.EventControllerTest], using SpringBootContextLoader 2020-12-17 12:18:09.357 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.EventControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:09.357 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.EventControllerTest]: EventControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:09.362 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.EventControllerTest 2020-12-17 12:18:09.362 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:09.363 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7fd07bc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3813b6a0, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@640f3864, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@13a34f39, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7c8c7a16, org.springframework.test.context.transaction.TransactionalTestExecutionListener@598f6591, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@44deaadc, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@4d8dfff9, org.springframework.test.context.event.EventPublishingTestExecutionListener@52ce7094, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@70cf24b1, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@41f6e83e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6326b5ce, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@42cd23ee, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@4b2e7daa, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3defcbe9, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@6b31915f] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:09.395 INFO 35972 --- [ main] org.uoc.tfg.sel.web.EventControllerTest : Starting EventControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:09.395 DEBUG 35972 --- [ main] org.uoc.tfg.sel.web.EventControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:09.396 INFO 35972 --- [ main] org.uoc.tfg.sel.web.EventControllerTest : The following profiles are active: test 2020-12-17 12:18:09.399 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@2fc529fc 2020-12-17 12:18:09.605 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 12 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:09.646 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:09.652 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:09.699 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: 3f25f43e-bdf0-4ff2-ad26-f88855f8b55f 2020-12-17 12:18:09.716 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4189b805, org.springframework.security.web.context.SecurityContextPersistenceFilter@7a91342a, org.springframework.security.web.header.HeaderWriterFilter@4a0d4096, org.springframework.security.web.csrf.CsrfFilter@12089fdb, org.springframework.security.web.authentication.logout.LogoutFilter@65dc9f64, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@102b5ad6, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@3a7b0c1b, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@570cca52, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@629680ec, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3a42d158, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1aeb3f76, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@1d3bc78f, org.springframework.security.web.session.SessionManagementFilter@2c318030, org.springframework.security.web.access.ExceptionTranslationFilter@299d31d9, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4e9b110f] 2020-12-17 12:18:09.721 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:09.721 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:09.723 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 2 ms 2020-12-17 12:18:09.729 INFO 35972 --- [ main] org.uoc.tfg.sel.web.EventControllerTest : Started EventControllerTest in 0.362 seconds (JVM running for 6.993) 2020-12-17 12:18:09.736 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getJobsByEventId(Integer) 2020-12-17 12:18:09.738 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.738 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:09.745 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getById(Integer) 2020-12-17 12:18:09.748 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.748 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:09.755 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getJobsByEventId(Integer) 2020-12-17 12:18:09.756 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.756 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:09.761 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getAllEventTypes() 2020-12-17 12:18:09.762 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.762 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:09.769 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getMyJobsByEventId(Integer, Authentication) 2020-12-17 12:18:09.770 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.770 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:09.789 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getAllEventTypes() 2020-12-17 12:18:09.790 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.790 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[EventType [id=null, name=null, evaluable=false]]] 2020-12-17 12:18:09.798 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.EventController#getAllEventsPaged(Integer, Integer, Integer) 2020-12-17 12:18:09.802 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:09.802 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.448 s - in org.uoc.tfg.sel.web.EventControllerTest [INFO] Running org.uoc.tfg.sel.web.MessagesControllerTest 2020-12-17 12:18:09.807 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.MessagesControllerTest], using SpringBootContextLoader 2020-12-17 12:18:09.808 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.MessagesControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:09.808 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.MessagesControllerTest]: MessagesControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:09.811 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.MessagesControllerTest 2020-12-17 12:18:09.811 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:09.812 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@f8c5aac, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3404218b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2f6aa448, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@25fc8da, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6febbb07, org.springframework.test.context.transaction.TransactionalTestExecutionListener@7af6c708, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@c464fa, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@7ca16520, org.springframework.test.context.event.EventPublishingTestExecutionListener@4ea0da30, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@2a29a6b, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2162dd71, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@569d2418, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1ea415a1, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@843b5dc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@3f7d68f0, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@ff26e3] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:09.839 INFO 35972 --- [ main] o.u.tfg.sel.web.MessagesControllerTest : Starting MessagesControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:09.839 DEBUG 35972 --- [ main] o.u.tfg.sel.web.MessagesControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:09.840 INFO 35972 --- [ main] o.u.tfg.sel.web.MessagesControllerTest : The following profiles are active: test 2020-12-17 12:18:09.842 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6b279d22 2020-12-17 12:18:10.013 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 9 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:10.043 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:10.047 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:10.087 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: 9701971e-82e4-4d51-8cf6-2b2341297436 2020-12-17 12:18:10.101 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3a4049fd, org.springframework.security.web.context.SecurityContextPersistenceFilter@f5c44d0, org.springframework.security.web.header.HeaderWriterFilter@72353b2, org.springframework.security.web.csrf.CsrfFilter@1e65f2d9, org.springframework.security.web.authentication.logout.LogoutFilter@7d919466, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@74d33ed9, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@c984aee, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@6ac4bc4f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@76b59fc, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5b38e751, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@469b8147, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@70c6238, org.springframework.security.web.session.SessionManagementFilter@3e9e9ae0, org.springframework.security.web.access.ExceptionTranslationFilter@6a27c2e8, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@46e2c6dc] 2020-12-17 12:18:10.106 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:10.106 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:10.108 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 2 ms 2020-12-17 12:18:10.116 INFO 35972 --- [ main] o.u.tfg.sel.web.MessagesControllerTest : Started MessagesControllerTest in 0.301 seconds (JVM running for 7.38) 2020-12-17 12:18:10.127 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getMessage(Integer, Authentication) 2020-12-17 12:18:10.135 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.135 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:10.143 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getUsersAvailableToSend(Authentication) 2020-12-17 12:18:10.144 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.144 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:10.152 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getAllChildMessages(Integer, Authentication) 2020-12-17 12:18:10.153 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.153 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[org.uoc.tfg.sel.repository.model.Message@6421d9dc]] 2020-12-17 12:18:10.159 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#setReaded(Integer, Authentication) 2020-12-17 12:18:10.161 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.161 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [true] 2020-12-17 12:18:10.165 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getAllRootMessages(Authentication) 2020-12-17 12:18:10.166 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.166 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[org.uoc.tfg.sel.repository.model.Message@4fdbd7c5]] 2020-12-17 12:18:10.170 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getAllRootMessages(Authentication) 2020-12-17 12:18:10.171 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.171 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:10.176 WARN 35972 --- [ main] o.s.web.servlet.PageNotFound : No mapping for GET /messages/1/thread 2020-12-17 12:18:10.181 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.MessagesController#getPendingMessages(Authentication) 2020-12-17 12:18:10.182 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.182 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [0] [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.376 s - in org.uoc.tfg.sel.web.MessagesControllerTest [INFO] Running org.uoc.tfg.sel.web.SubjectClassControllerTest 2020-12-17 12:18:10.186 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.SubjectClassControllerTest], using SpringBootContextLoader 2020-12-17 12:18:10.187 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.SubjectClassControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:10.187 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.SubjectClassControllerTest]: SubjectClassControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:10.189 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.SubjectClassControllerTest 2020-12-17 12:18:10.189 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:10.190 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@74106c6c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@64a65f68, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@270eb225, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@38a1eb27, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4f258353, org.springframework.test.context.transaction.TransactionalTestExecutionListener@19aec8c0, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4b63de4a, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@7c2cecd2, org.springframework.test.context.event.EventPublishingTestExecutionListener@1f70c71f, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@7077e4f9, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2533e533, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3e62d73b, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@27b3a7d7, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@68accff4, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@520cb5af, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@7aff6bda] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:10.221 INFO 35972 --- [ main] o.u.t.s.web.SubjectClassControllerTest : Starting SubjectClassControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:10.221 DEBUG 35972 --- [ main] o.u.t.s.web.SubjectClassControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:10.221 INFO 35972 --- [ main] o.u.t.s.web.SubjectClassControllerTest : The following profiles are active: test 2020-12-17 12:18:10.223 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@224dde2c 2020-12-17 12:18:10.420 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 9 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:10.465 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:10.473 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:10.532 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: 1cebabe6-a648-490f-a32d-0388b5567204 2020-12-17 12:18:10.547 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@28ea5c4a, org.springframework.security.web.context.SecurityContextPersistenceFilter@1fa9583e, org.springframework.security.web.header.HeaderWriterFilter@370bada7, org.springframework.security.web.csrf.CsrfFilter@7a1a5608, org.springframework.security.web.authentication.logout.LogoutFilter@31c4fc57, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@37230db, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@17e54304, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@4ef4609c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@5b358ec8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@153cca78, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@7fb03bed, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5c126571, org.springframework.security.web.session.SessionManagementFilter@372bf2c5, org.springframework.security.web.access.ExceptionTranslationFilter@7daef62d, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6270910a] 2020-12-17 12:18:10.551 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:10.551 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:10.553 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 2 ms 2020-12-17 12:18:10.559 INFO 35972 --- [ main] o.u.t.s.web.SubjectClassControllerTest : Started SubjectClassControllerTest in 0.366 seconds (JVM running for 7.823) 2020-12-17 12:18:10.566 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectClassController#getById(Integer, boolean, Authentication) 2020-12-17 12:18:10.572 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.572 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:10.578 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectClassController#getById(Integer, boolean, Authentication) 2020-12-17 12:18:10.579 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.579 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:10.586 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectClassController#getAll() 2020-12-17 12:18:10.587 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.588 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:10.595 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectClassController#getMyClasses(Authentication) 2020-12-17 12:18:10.596 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.596 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 s - in org.uoc.tfg.sel.web.SubjectClassControllerTest [INFO] Running org.uoc.tfg.sel.web.SubjectControllerTest 2020-12-17 12:18:10.601 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.SubjectControllerTest], using SpringBootContextLoader 2020-12-17 12:18:10.602 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.SubjectControllerTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:10.603 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.SubjectControllerTest]: SubjectControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:10.605 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.SubjectControllerTest 2020-12-17 12:18:10.605 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:10.606 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@74108db5, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3b072ec8, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@251916d3, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2074263, org.springframework.test.context.support.DirtiesContextTestExecutionListener@720a1ab3, org.springframework.test.context.transaction.TransactionalTestExecutionListener@70790b54, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@1dbb2406, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@25976988, org.springframework.test.context.event.EventPublishingTestExecutionListener@76a300b, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@3ff1b819, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7bae20f5, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@65ebdd21, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@335743ff, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@15414fc, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@bf725ab, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@304ee321] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:10.635 INFO 35972 --- [ main] o.uoc.tfg.sel.web.SubjectControllerTest : Starting SubjectControllerTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:10.635 DEBUG 35972 --- [ main] o.uoc.tfg.sel.web.SubjectControllerTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:10.635 INFO 35972 --- [ main] o.uoc.tfg.sel.web.SubjectControllerTest : The following profiles are active: test 2020-12-17 12:18:10.637 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@6b1b9944 2020-12-17 12:18:10.820 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 6 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:10.859 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:10.864 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:10.901 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: 39205555-105b-4435-81b1-2cd3b7488c95 2020-12-17 12:18:10.913 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5bb82485, org.springframework.security.web.context.SecurityContextPersistenceFilter@3810046c, org.springframework.security.web.header.HeaderWriterFilter@186fbbd3, org.springframework.security.web.csrf.CsrfFilter@2e2cb8e5, org.springframework.security.web.authentication.logout.LogoutFilter@529cd010, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@7c4535ee, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@9005147, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@542781ec, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2209d045, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1c9fed7b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@79cb7c18, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@11824c3, org.springframework.security.web.session.SessionManagementFilter@73b0716f, org.springframework.security.web.access.ExceptionTranslationFilter@2a81c550, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@26652eb0] 2020-12-17 12:18:10.918 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:10.918 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:10.919 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2020-12-17 12:18:10.924 INFO 35972 --- [ main] o.uoc.tfg.sel.web.SubjectControllerTest : Started SubjectControllerTest in 0.315 seconds (JVM running for 8.188) 2020-12-17 12:18:10.930 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectController#getById(Integer) 2020-12-17 12:18:10.932 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.933 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Nothing to write: null body 2020-12-17 12:18:10.937 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.SubjectController#getAll() 2020-12-17 12:18:10.938 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:10.939 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.339 s - in org.uoc.tfg.sel.web.SubjectControllerTest [INFO] Running org.uoc.tfg.sel.web.UserControllerClientTest 2020-12-17 12:18:10.943 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [org.uoc.tfg.sel.web.UserControllerClientTest], using SpringBootContextLoader 2020-12-17 12:18:10.943 INFO 35972 --- [ main] o.s.t.c.support.AbstractContextLoader : Could not detect default resource locations for test class [org.uoc.tfg.sel.web.UserControllerClientTest]: no resource found for suffixes {-context.xml, Context.groovy}. 2020-12-17 12:18:10.944 INFO 35972 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.uoc.tfg.sel.web.UserControllerClientTest]: UserControllerClientTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2020-12-17 12:18:10.947 INFO 35972 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.uoc.tfg.sel.SchoolelearningApplication for test class org.uoc.tfg.sel.web.UserControllerClientTest 2020-12-17 12:18:10.947 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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.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] 2020-12-17 12:18:10.948 INFO 35972 --- [ main] .b.t.a.w.s.WebMvcTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@7ea250e6, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@276a1e3b, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4331efd5, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@2f8b1f0f, org.springframework.test.context.support.DirtiesContextTestExecutionListener@43c25f78, org.springframework.test.context.transaction.TransactionalTestExecutionListener@342e0afd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@78ad04ea, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@fa90f97, org.springframework.test.context.event.EventPublishingTestExecutionListener@5ec1b885, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@1afc3842, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@ae6f5a3, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@4df496df, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1e221a74, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@65670fda, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5811a538, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@313a828b] __ _ _ _ _ / _\ ___| |__ ___ ___ | | ___ | | ___ __ _ _ __ _ __ (_)_ __ __ _ \ \ / __| '_ \ / _ \ / _ \| | / _ \_____| |/ _ \/ _` | '__| '_ \| | '_ \ / _` | _\ \ (__| | | | (_) | (_) | | | __/_____| | __/ (_| | | | | | | | | | | (_| | \__/\___|_| |_|\___/ \___/|_| \___| |_|\___|\__,_|_| |_| |_|_|_| |_|\__, | |___/ -------------------------------------------------------------------------------- 2020-12-17 12:18:10.968 INFO 35972 --- [ main] o.u.t.sel.web.UserControllerClientTest : Starting UserControllerClientTest on ARACELI-PC2 with PID 35972 (started by dubas in C:\uoc\workspace\schoolelearning) 2020-12-17 12:18:10.969 DEBUG 35972 --- [ main] o.u.t.sel.web.UserControllerClientTest : Running with Spring Boot v2.3.4.RELEASE, Spring v5.2.9.RELEASE 2020-12-17 12:18:10.969 INFO 35972 --- [ main] o.u.t.sel.web.UserControllerClientTest : The following profiles are active: test 2020-12-17 12:18:10.970 DEBUG 35972 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@12689059 2020-12-17 12:18:11.134 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 12 mappings in 'requestMappingHandlerMapping' 2020-12-17 12:18:11.170 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2020-12-17 12:18:11.176 DEBUG 35972 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2020-12-17 12:18:11.219 INFO 35972 --- [ main] .s.s.UserDetailsServiceAutoConfiguration : Using generated security password: f4edbb9a-2c54-4efa-9831-a8f7cdf6eb3f 2020-12-17 12:18:11.232 INFO 35972 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@7eaa4f2d, org.springframework.security.web.context.SecurityContextPersistenceFilter@6a96d1, org.springframework.security.web.header.HeaderWriterFilter@452e88a3, org.springframework.security.web.csrf.CsrfFilter@214de096, org.springframework.security.web.authentication.logout.LogoutFilter@6d448dcd, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@6ee87c28, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@2e262f1d, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@3f4b138, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@54b76e47, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3d055f19, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@cdfa38a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2e508452, org.springframework.security.web.session.SessionManagementFilter@4eed96ca, org.springframework.security.web.access.ExceptionTranslationFilter@7e086b5e, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@47375282] 2020-12-17 12:18:11.236 INFO 35972 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2020-12-17 12:18:11.237 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-17 12:18:11.238 INFO 35972 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2020-12-17 12:18:11.245 INFO 35972 --- [ main] o.u.t.sel.web.UserControllerClientTest : Started UserControllerClientTest in 0.296 seconds (JVM running for 8.509) 2020-12-17 12:18:11.254 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getUsersTutors() 2020-12-17 12:18:11.255 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.255 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[User [id=null, login=null, name=null, surname=null, email=null, active=null, type=null]]] 2020-12-17 12:18:11.262 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getStudents() 2020-12-17 12:18:11.263 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.263 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[User [id=null, login=null, name=null, surname=null, email=null, active=null, type=null]]] 2020-12-17 12:18:11.267 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getUsersTeachers() 2020-12-17 12:18:11.268 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.268 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[User [id=null, login=null, name=null, surname=null, email=null, active=null, type=null]]] 2020-12-17 12:18:11.273 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getUserTypes() 2020-12-17 12:18:11.274 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.274 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[]] 2020-12-17 12:18:11.278 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getUsersById(Integer) 2020-12-17 12:18:11.280 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.280 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [User [id=null, login=null, name=null, surname=null, email=null, active=null, type=null]] 2020-12-17 12:18:11.285 DEBUG 35972 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to org.uoc.tfg.sel.web.UserController#getUsersAll() 2020-12-17 12:18:11.286 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2020-12-17 12:18:11.286 DEBUG 35972 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [[User [id=null, login=null, name=null, surname=null, email=null, active=null, type=null]]] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 s - in org.uoc.tfg.sel.web.UserControllerClientTest 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@224dde2c, started on Thu Dec 17 12:18:10 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@5ed1e210, started on Thu Dec 17 12:18:08 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@6b1b9944, started on Thu Dec 17 12:18:10 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@2fc529fc, started on Thu Dec 17 12:18:09 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@2dda91b3, started on Thu Dec 17 12:18:06 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@6b279d22, started on Thu Dec 17 12:18:09 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@12689059, started on Thu Dec 17 12:18:10 CST 2020 2020-12-17 12:18:11.304 DEBUG 35972 --- [extShutdownHook] o.s.w.c.s.GenericWebApplicationContext : Closing org.springframework.web.context.support.GenericWebApplicationContext@7f25bfb6, started on Thu Dec 17 12:18:08 CST 2020 [INFO] [INFO] Results: [INFO] [INFO] Tests run: 221, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (jacoco-site) @ schoolelearning --- [INFO] Loading execution data file C:\uoc\workspace\schoolelearning\target\jacoco.exec [INFO] Analyzed bundle 'schoolelearning' with 56 classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ schoolelearning --- [INFO] Building jar: C:\uoc\workspace\schoolelearning\target\schoolelearning-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:repackage (repackage) @ schoolelearning --- [INFO] Replacing main artifact with repackaged archive [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (jacoco-initialize) @ schoolelearning --- [INFO] argLine set to -javaagent:C:\\Users\\dubas\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\uoc\\workspace\\schoolelearning\\target\\jacoco.exec [INFO] [INFO] --- frontend-maven-plugin:1.7.6:install-node-and-npm (install node and npm) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Node v10.16.0 is already installed. [INFO] NPM 6.10.2 is already installed. [INFO] [INFO] --- frontend-maven-plugin:1.7.6:npm (npm install) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Running 'npm install' in C:\uoc\workspace\schoolelearning\src\main\client [INFO] [INFO] > client@1.0.0 postinstall C:\uoc\workspace\schoolelearning\src\main\client [INFO] > ngcc [INFO] [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of @angular/compiler-cli@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of @angular/localize@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of karma@~5.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @angular-devkit/build-angular@0.1100.0 requires a peer of ng-packagr@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN @ngtools/webpack@11.0.0 requires a peer of @angular/compiler-cli@^11.0.0 || ^11.0.0-next but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN icss-utils@5.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-extract-imports@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-local-by-default@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-scope@3.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN postcss-modules-values@4.0.0 requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN sass-loader@10.0.5 requires a peer of node-sass@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN sass-loader@10.0.5 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself. [WARNING] npm WARN webpack-subresource-integrity@1.5.1 requires a peer of html-webpack-plugin@>= 2.21.0 < 5 but none is installed. You must install peer dependencies yourself. [ERROR] [INFO] removed 1 package and audited 1554 packages in 7.084s [INFO] found 3 low severity vulnerabilities [INFO] run `npm audit fix` to fix them, or `npm audit` for details [INFO] [INFO] --- frontend-maven-plugin:1.7.6:npm (npm run build) @ schoolelearning --- [INFO] testFailureIgnore property is ignored in non test phases [INFO] Running 'npm run build-prod' in C:\uoc\workspace\schoolelearning\src\main\client [INFO] [INFO] > client@1.0.0 build-prod C:\uoc\workspace\schoolelearning\src\main\client [INFO] > ng build --prod [INFO] [ERROR] Option "extractCss" is deprecated: Deprecated since version 11.0. No longer required to disable CSS extraction for HMR. [ERROR] - Generating browser application bundles... [ERROR] √ Browser application bundle generation complete. [ERROR] - Copying assets... [ERROR] √ Copying assets complete. [ERROR] - Generating index html... [ERROR] √ Index html generation complete. [INFO] [INFO] Initial Chunk Files | Names | Size [INFO] vendor.bdac3a934a77a58ef3e5.js | vendor | 719.84 kB [INFO] main.faa8b885d0b079d8af92.js | main | 130.84 kB [INFO] styles.3ee77c41f707d6c0081f.css | styles | 75.17 kB [INFO] polyfills.9bf4dad123bd95dda86e.js | polyfills | 36.00 kB [INFO] runtime.359d5ee4682f20e936e9.js | runtime | 1.45 kB [INFO] [INFO] | Initial Total | 963.30 kB [INFO] [INFO] Build at: 2020-12-17T18:18:44.017Z - Hash: c6bd2f192169aee0e3e7 - Time: 17925ms [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ schoolelearning --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 22 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ schoolelearning --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ schoolelearning --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\uoc\workspace\schoolelearning\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ schoolelearning --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 29 source files to C:\uoc\workspace\schoolelearning\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ schoolelearning --- [INFO] Skipping execution of surefire because it has already been run for this configuration [INFO] [INFO] --- jacoco-maven-plugin:0.8.5:report (jacoco-site) @ schoolelearning --- [INFO] Loading execution data file C:\uoc\workspace\schoolelearning\target\jacoco.exec [INFO] Analyzed bundle 'schoolelearning' with 56 classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ schoolelearning --- [INFO] Building jar: C:\uoc\workspace\schoolelearning\target\schoolelearning-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:repackage (repackage) @ schoolelearning --- [INFO] Replacing main artifact with repackaged archive [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:59 min [INFO] Finished at: 2020-12-17T12:18:45-06:00 [INFO] ------------------------------------------------------------------------