[MAGNOLIA-4465] Unable to build core because test cannot delete lock file Created: 29/Jun/12  Updated: 20/Jul/20  Resolved: 20/Jul/20

Status: Closed
Project: Magnolia
Component/s: testing
Affects Version/s: 4.5.3
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Horst Krause Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: cleanup, improvement
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Win7


Issue Links:
relation
is related to MAGNOLIA-4464 Core Tests not running on win system ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Story Points: 3

 Description   

checking out core, trying: mvn package

Result will be:

[...many more...]
testSettingAnUtf8NodeData(info.magnolia.utf8.Utf8ContentTest): Unable to delete file: target\repositories\magnolia\.lock
testSettingAnUtf8NodeData(info.magnolia.utf8.Utf8ContentTest): Unable to delete file: target\repositories\magnolia\.lock
testSettingNewUtf8ContentNode(info.magnolia.utf8.Utf8ContentTest): Unable to delete file: target\repositories\magnolia\.lock
testSettingNewUtf8ContentNode(info.magnolia.utf8.Utf8ContentTest): Unable to delete file: target\repositories\magnolia\.lock

Tests run: 1165, Failures: 0, Errors: 151, Skipped: 3

All 151 errors have the same reason. The mentioned file does not reside in the mentioned folder. Don't know if it was ever created.



 Comments   
Comment by Ondrej Chytil [ 02/Jul/12 ]

Thanks for reporting Horst. Confirmed and added to changelog.

Comment by Horst Krause [ 06/Jul/12 ]

Additional info: If you want to build the core and ignore the current errors, try this:
mvn clean install -DskipTests -Dmaven.clover.skip=true -Dmaven.checkstyle.skip=true

Generated at Mon Feb 12 03:56:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.