Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lectures: Fix file names for downloads with chromium browsers #9899

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

fix tests and improve coverage

c3f3601
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Lectures: Fix file names for downloads with chromium browsers #9899

fix tests and improve coverage
c3f3601
Select commit
Loading
Failed to load commit list.
GitHub Actions / Junit Results failed Dec 1, 2024 in 0s

Junit Results

Junit Results ran 8493 in 1263.8129999999994 seconds 0 Errored, 3 Failed, 2 Skipped

Annotations

Check failure on line 0 in test

See this annotation in the file changed.

@github-actions github-actions / Junit Results

test#L0

Junit Results ran 8493 in 1263.8129999999994 seconds 0 Errored, 3 Failed, 2 Skipped

Check failure on line 221 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/assessment/ParticipantScoreIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

getCourseScores_asInstructorOfCourseWithGradedPresentations_shouldReturnCourseScores()

Junit test getCourseScores_asInstructorOfCourseWithGradedPresentations_shouldReturnCourseScores() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.assessment.ParticipantScoreIntegrationTest was not fulfilled within 10 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.assessment.ParticipantScoreIntegrationTest was not fulfilled within 10 seconds.
	at app//org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at app//org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at app//org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
	at app//org.awaitility.core.ConditionFactory.until(ConditionFactory.java:975)
	at app//de.tum.cit.aet.artemis.assessment.ParticipantScoreIntegrationTest.setupTestScenario(ParticipantScoreIntegrationTest.java:140)
	at java.base@21.0.5/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base@21.0.5/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base@21.0.5/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)

Check failure on line 213 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/GitServiceTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testGetExistingCheckedOutRepositoryByLocalPathRemovesEmptyRepo()

Junit test testGetExistingCheckedOutRepositoryByLocalPathRemovesEmptyRepo() failed org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: IOException #3: Cannot delete file: repos/server-integration-test/test-repository/.git]
Raw output
org.apache.commons.io.IOExceptionList: 1 exception(s): [org.apache.commons.io.IOIndexedException: IOException #3: Cannot delete file: repos/server-integration-test/test-repository/.git]
	at org.apache.commons.io.IOExceptionList.checkEmpty(IOExceptionList.java:50)
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:357)
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:42)
	at org.apache.commons.io.function.IOStreams.forAll(IOStreams.java:36)
	at org.apache.commons.io.function.IOConsumer.forAll(IOConsumer.java:80)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:367)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1242)
	at de.tum.cit.aet.artemis.programming.GitServiceTest.testGetExistingCheckedOutRepositoryByLocalPathRemovesEmptyRepo(GitServiceTest.java:224)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Caused by: org.apache.commons.io.IOIndexedException: IOException #3: Cannot delete file: repos/server-integration-test/test-repository/.git
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:352)
	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
	at org.apache.commons.io.function.IOStream.forAll(IOStream.java:343)
	... 12 more
Caused by: java.io.IOException: Cannot delete file: repos/server-integration-test/test-repository/.git
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1392)
	at org.apache.commons.io.function.IOStream.lambda$forAll$11(IOStream.java:345)
	... 15 more
Caused by: java.nio.file.NoSuchFileException: repos/server-integration-test/test-repository/.git/gc.log.lock
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
	at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
	at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2820)
	at java.base/java.nio.file.Files.walkFileTree(Files.java:2857)
	at org.apache.commons.io.file.PathUtils.visitFileTree(PathUtils.java:1730)
	at org.apache.commons.io.file.PathUtils.deleteDirectory(PathUtils.java:518)
	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:477)
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1388)
	... 16 more

Check failure on line 17 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/icl/SharedQueueManagementServiceTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testPushDockerImageCleanupInfo()

Junit test testPushDockerImageCleanupInfo() failed org.opentest4j.AssertionFailedError: 
expected: 3
 but was: 4
Raw output
org.opentest4j.AssertionFailedError: 
expected: 3
 but was: 4
	at app//de.tum.cit.aet.artemis.programming.icl.SharedQueueManagementServiceTest.testPushDockerImageCleanupInfo(SharedQueueManagementServiceTest.java:42)
	at java.base@21.0.5/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base@21.0.5/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
	at java.base@21.0.5/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
	at java.base@21.0.5/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)