[ 
https://issues.apache.org/jira/browse/MDEP-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899582#comment-16899582
 ] 

Pim Moerenhout commented on MDEP-655:
-------------------------------------

I have MacOS 10.14.6, 2.8 GHz i7 with 16GB RAM

Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 
2019-04-04T21:00:29+02:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 1.8.0_221, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/jre
Default locale: en_NL, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"

The log after mvn clean verify -o -Prun-its -Dinvoker.test=unpack,setup* shows:

[INFO] Running org.apache.maven.plugins.dependency.tree.TestTreeMojo
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 s 
- in org.apache.maven.plugins.dependency.tree.TestTreeMojo
[INFO] Running 
org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo
unpackedFile 2019-08-04T09:59:39 
/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt
artifact     2019-08-04T09:59:44 
/target/unit-tests/unpack/localTestRepo/testGroupId/snapshot/2.0-SNAPSHOT/snapshot-2.0-SNAPSHOT.jar
marker       2019-08-04T09:59:39 
/target/unit-tests/unpack/markers/testGroupId-snapshot-jar-2.0-SNAPSHOT.marker
mojo.execute()
unpackedFile 2019-08-04T09:59:44 
/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt
artifact     2019-08-04T09:59:44 
/target/unit-tests/unpack/localTestRepo/testGroupId/snapshot/2.0-SNAPSHOT/snapshot-2.0-SNAPSHOT.jar
marker       2019-08-04T09:59:44 
/target/unit-tests/unpack/markers/testGroupId-snapshot-jar-2.0-SNAPSHOT.marker
marker.lastModified() = 1564905584000
unpackedFile.lastModified() = 1564905584000
[ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.985 
s <<< FAILURE! - in 
org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo
[ERROR] 
testUnpackOverWriteIfNewer(org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo)
  Time elapsed: 0.128 s  <<< FAILURE!
junit.framework.AssertionFailedError: unpackedFile 
'/Users/pim/github/apache/maven-dependency-plugin/target/unit-tests/unpack/outputDirectory/testGroupId-snapshot-2.0-SNAPSHOT-null-jar.txt'
 lastModified() == 1564905584000: should be different
    at 
org.apache.maven.plugins.dependency.fromConfiguration.TestUnpackMojo.testUnpackOverWriteIfNewer(TestUnpackMojo.java:572)

> The unpack integration test fails intermittent.
> -----------------------------------------------
>
>                 Key: MDEP-655
>                 URL: https://issues.apache.org/jira/browse/MDEP-655
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: unpack
>    Affects Versions: 3.1.1
>         Environment: Mac OS
>            Reporter: Pim Moerenhout
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When doing a clean integration test, the test case fails intermittent on Mac 
> OS. The command executed are:
> mvn clean verify -Prun-its -Dinvoker.test=unpack,setup*
> or
> mvn clean install



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to