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

Tests failing because of deleted mets.xml file #3939

Open
henning-gerhardt opened this issue Aug 13, 2020 · 0 comments
Open

Tests failing because of deleted mets.xml file #3939

henning-gerhardt opened this issue Aug 13, 2020 · 0 comments
Labels

Comments

@henning-gerhardt
Copy link
Collaborator

henning-gerhardt commented Aug 13, 2020

If I execute tests with mvn clean verify -Pall-test,!development' to check my changes or even on current master the integration tests are constantly failing on my two local development systems.

[ERROR] Tests run: 15, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 87.398 s <<< FAILURE! - in org.kitodo.production.services.workflow.WorkflowControllerServiceIT
[ERROR] shouldCloseAndAssignNextForProcessWithParallelTasks  Time elapsed: 5.788 s  <<< ERROR!
java.io.IOException: Metadata file not found : 9/meta.xml
	at org.kitodo.production.services.workflow.WorkflowControllerServiceIT.shouldCloseAndAssignNextForProcessWithParallelTasks(WorkflowControllerServiceIT.java:259)

While WorkflowControllerServiceIT test is executed a lot of Metadata file not found : 9/meta.xml or Metadata file not found : 6/meta.xml are displayed. Previous test ProcessServiceIT is even complaining about missing 9/meta.xml file but the tests are not failing.

Even git status is telling that file 9/meta.xml is deleted

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    Kitodo/src/test/resources/metadata/9/meta.xml

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	Kitodo/src/test/resources/metadata/8/

Looks for me that one integration tests deleting the mets.xml file of process 9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants