Integrated code lifecycle
: Improve build status updates for users
#9818
GitHub Actions / H2 Tests
failed
Dec 11, 2024 in 0s
8545 passed, 2 failed and 1 skipped
Annotations
github-actions / H2 Tests
de.tum.cit.aet.artemis.communication.MessageIntegrationTest ► testDecreaseUnreadMessageCountWhenDeletingMessage()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.MessageIntegrationTest.xml
Error:
org.opentest4j.AssertionFailedError:
Raw output
org.opentest4j.AssertionFailedError:
expected: 0L
but was: 1L
at app//de.tum.cit.aet.artemis.communication.MessageIntegrationTest.lambda$testDecreaseUnreadMessageCountWhenDeletingMessage$28(MessageIntegrationTest.java:725)
at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
github-actions / H2 Tests
de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCIIntegrationTest ► testFetchPush_assignmentRepository_examMode()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.icl.LocalVCLocalCIIntegrationTest.xml
Error:
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
Raw output
org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "reason.getMessage()" (template: "mail/dataExportFailedAdminEmail" - line 16, col 8)
at app//org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:292)
at app//org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166)
at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
at app//org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256)
at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
at app//org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144)
at app//org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74)
at app//org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95)
at app//org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633)
at app//org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314)
at app//org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205)
at app//org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136)
at app//org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1064)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1053)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.prepareTemplateAndSendEmailWithArgumentInSubject(MailService.java:152)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:135)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:131)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:181)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:180)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at app//org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
at app//org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:723)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService$$SpringCGLIB$$0.sendDataExportFailedEmailToAdmin(<generated>)
at app//de.tum.cit.aet.artemis.core.service.export.DataExportCreationService.handleCreationFailure(DataExportCreationService.java:174)
at app//de.tum.cit.aet.artemis.core.service.export.DataExportCreationService.createDataExport(DataExportCreationService.java:142)
at app//de.tum.cit.aet.artemis.core.service.DataExportScheduleService.createDataExport(DataExportScheduleService.java:106)
at app//de.tum.cit.aet.artemis.core.service.DataExportScheduleService.lambda$createDataExportsAndDeleteOldOnes$0(DataExportScheduleService.java:76)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
Caused by: org.springframework.expression.EvaluationException: Calling method 'getMessage' is forbidden for type 'class java.lang.RuntimeException' in this expression context.
at app//org.thymeleaf.spring6.expression.ThymeleafEvaluationContext$ThymeleafEvaluationContextACLMethodResolver.resolve(ThymeleafEvaluationContext.java:276)
at app//org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod(MethodReference.java:218)
at app//org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:148)
at app//org.springframework.expression.spel.ast.MethodReference$MethodValueRef.getValue(MethodReference.java:398)
at app//org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:97)
at app//org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:116)
at app//org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:338)
at app//org.thymeleaf.spring6.expression.SPELVariableExpressionEvaluator.evaluate(SPELVariableExpressionEvaluator.java:265)
at app//org.thymeleaf.standard.expression.VariableExpression.executeVariableExpression(VariableExpression.java:166)
at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:66)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
at app//org.thymeleaf.standard.expression.MessageExpression.executeMessageExpression(MessageExpression.java:256)
at app//org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:69)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:109)
at app//org.thymeleaf.standard.expression.Expression.execute(Expression.java:138)
at app//org.thymeleaf.standard.processor.AbstractStandardExpressionAttributeTagProcessor.doProcess(AbstractStandardExpressionAttributeTagProcessor.java:144)
at app//org.thymeleaf.processor.element.AbstractAttributeTagProcessor.doProcess(AbstractAttributeTagProcessor.java:74)
at app//org.thymeleaf.processor.element.AbstractElementTagProcessor.process(AbstractElementTagProcessor.java:95)
at app//org.thymeleaf.util.ProcessorConfigurationUtils$ElementTagProcessorWrapper.process(ProcessorConfigurationUtils.java:633)
at app//org.thymeleaf.engine.ProcessorTemplateHandler.handleOpenElement(ProcessorTemplateHandler.java:1314)
at app//org.thymeleaf.engine.OpenElementTag.beHandled(OpenElementTag.java:205)
at app//org.thymeleaf.engine.TemplateModel.process(TemplateModel.java:136)
at app//org.thymeleaf.engine.TemplateManager.parseAndProcess(TemplateManager.java:661)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1103)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1064)
at app//org.thymeleaf.TemplateEngine.process(TemplateEngine.java:1053)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.prepareTemplateAndSendEmailWithArgumentInSubject(MailService.java:152)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:135)
at [email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$FnFR8l1c.invokeWithArguments(Unknown Source)
at app//org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251)
at app//org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234)
at app//org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142)
at app//org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45)
at app//org.mockito.Answers.answer(Answers.java:90)
at app//org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111)
at app//org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at app//org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
at app//org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailForAdmin(MailService.java:131)
at app//de.tum.cit.aet.artemis.communication.service.notifications.MailService.sendDataExportFailedEmailToAdmin(MailService.java:181)
at [email protected]/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:733)
at org.mockito.internal.util.reflection.InstrumentationMemberAccessor$Dispatcher$ByteBuddy$FnFR8l1c.invokeWithArguments(Unknown Source)
at app//org.mockito.internal.util.reflection.InstrumentationMemberAccessor.invoke(InstrumentationMemberAccessor.java:251)
at app//org.mockito.internal.util.reflection.ModuleMemberAccessor.invoke(ModuleMemberAccessor.java:55)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.tryInvoke(MockMethodAdvice.java:314)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice$RealMethodCall.invoke(MockMethodAdvice.java:234)
at app//org.mockito.internal.invocation.InterceptedInvocation.callRealMethod(InterceptedInvocation.java:142)
at app//org.mockito.internal.stubbing.answers.CallsRealMethods.answer(CallsRealMethods.java:45)
at app//org.mockito.Answers.answer(Answers.java:90)
at app//org.mockito.internal.handler.MockHandlerImpl.handle(MockHandlerImpl.java:111)
at app//org.mockito.internal.handler.NullResultGuardian.handle(NullResultGuardian.java:29)
at app//org.mockito.internal.handler.InvocationNotifierHandler.handle(InvocationNotifierHandler.java:34)
at app//org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:82)
at app//org.mockito.internal.creation.bytebuddy.MockMethodAdvice.handle(MockMethodAdvice.java:134)
... 12 more
Loading