I’m getting an intermittent test failure on the 4.2 build that doesn’t look to be caused by me?
Error Message
Unexpected ERROR logged: Writing of table to file encountered error: IOException: Workflow temp directory /var/lib/jenkins/jobs/org.lhasalimited.knime.update-4.2/workspace/tmp/knime_temp/knime_TableToHtmlStri65919 has been deleted.
Stacktrace
junit.framework.AssertionFailedError: Unexpected ERROR logged: Writing of table to file encountered error: IOException: Workflow temp directory /var/lib/jenkins/jobs/org.lhasalimited.knime.update-4.2/workspace/tmp/knime_temp/knime_TableToHtmlStri65919 has been deleted.
at org.knime.testing.core.ng.WorkflowLogMessagesTest.checkLogMessages(WorkflowLogMessagesTest.java:243)
at org.knime.testing.core.ng.WorkflowLogMessagesTest.run(WorkflowLogMessagesTest.java:138)
at org.knime.testing.core.ng.WorkflowTestSuite.run(WorkflowTestSuite.java:250)
at org.knime.testing.core.ng.WorkflowTestSuite.runTest(WorkflowTestSuite.java:368)
at org.knime.testing.core.ng.TestflowRunnerApplication.runAllTests(TestflowRunnerApplication.java:271)
at org.knime.testing.core.ng.TestflowRunnerApplication.access$1(TestflowRunnerApplication.java:243)
at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:190)
at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
The issue still arises when the “check log messages” checkbox is ticked and when the testflow is not launched directly (right click on its name) but when it’s launched from the folder containing it (red boxed text)
I hope it will help to solve this issue.
junit.framework.AssertionFailedError: Unexpected ERROR logged: Failed to parse the workflow metadata file.
at org.knime.testing.core.ng.WorkflowLogMessagesTest.checkLogMessages(WorkflowLogMessagesTest.java:243)
at org.knime.testing.core.ng.WorkflowLogMessagesTest.run(WorkflowLogMessagesTest.java:138)
at org.knime.testing.core.ng.WorkflowTestSuite.run(WorkflowTestSuite.java:250)
at org.knime.testing.core.ng.WorkflowTestSuite.runTest(WorkflowTestSuite.java:368)
at org.knime.testing.internal.ui.TestflowJob.executeTestflow(TestflowJob.java:175)
at org.knime.testing.internal.ui.TestflowJob.run(TestflowJob.java:131)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Have you tried recreating that testworkflow? Just creating a new workflow and copying all nodes from the old ones to the new one? Maybe the workflow.metadata file of that workflow is corrupted, and that would be the quickest way to recreate it.
I forgot to answer that.
Yes, I tried to create another empty workflow and copy/paste nodes in it.
I still have the same issue. I’m currently doing my tests on a nightly build of Knime4.4.
It’s really arising when the workflow is in a workflow group withing another workflow group.
Here is the trace I got today after creating a new empy workflow and pasted nodes…
junit.framework.AssertionFailedError: Unexpected ERROR logged: Failed to parse the workflow metadata file.
at org.knime.testing.core.ng.WorkflowLogMessagesTest.checkLogMessages(WorkflowLogMessagesTest.java:243)
at org.knime.testing.core.ng.WorkflowLogMessagesTest.run(WorkflowLogMessagesTest.java:138)
at org.knime.testing.core.ng.WorkflowTestSuite.run(WorkflowTestSuite.java:250)
at org.knime.testing.core.ng.WorkflowTestSuite.runTest(WorkflowTestSuite.java:368)
at org.knime.testing.internal.ui.TestflowJob.executeTestflow(TestflowJob.java:175)
at org.knime.testing.internal.ui.TestflowJob.run(TestflowJob.java:131)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Then even after deleting the original workflow with the metadata parsing issue, I still got the error message from the new workflow.
Do you also have that problem if you run the testflows headlessly using the testflowrunner application?
If you need help setting that up you can contact me at gabriel.einsdorf@knime.com
That application requires some configuration, it will tell you about it when miss configured, but with the following parameters you can get started with running testflows from a local directory: