[jira] [Comment Edited] (MEAR-284) Tests fail at HEAD on Linux

2020-09-15 Thread Marat Abrarov (Jira)


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

Marat Abrarov edited comment on MEAR-284 at 9/15/20, 9:00 AM:
--

This issue looks like the only blocker for release of 3.1.0 version. Is 
somebody working on [that 
workaround|https://issues.apache.org/jira/browse/MEAR-284?focusedCommentId=17194817&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17194817]?


was (Author: abrarovm):
This issue looks like the only blocker for release of 3.1.0 version. Is 
somebody working on that workaround?

> Tests fail at HEAD on Linux
> ---
>
> Key: MEAR-284
> URL: https://issues.apache.org/jira/browse/MEAR-284
> Project: Maven Ear Plugin
>  Issue Type: Test
>Affects Versions: 3.1.0
>Reporter: Elliotte Rusty Harold
>Priority: Blocker
> Fix For: 3.1.0
>
>
> Possibly on other systems:
> {noformat}[INFO] Building: packaging-includes/pom.xml
> [INFO] run post-build script verify.bsh
> [INFO]   The post-build script did not succeed. Missing archive entry: 
> META-INF/application.xml
> [INFO]   packaging-includes/pom.xml  FAILED (1.4 s)
> ...
> [ERROR] The following builds failed:
> [ERROR] *  packaging-includes/pom.xml
> [ERROR] *  basic/pom.xml{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (MEAR-284) Tests fail at HEAD on Linux

2020-09-12 Thread Herve Boutemy (Jira)


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

Herve Boutemy edited comment on MEAR-284 at 9/12/20, 5:47 PM:
--

perhaps cause by this bug on Java 8 on Linux, where last modified date of a 
File is rounded to second [https://bugs.openjdk.java.net/browse/JDK-8177809] ...

what is interesting is
{quote}CUSTOMER SUBMITTED WORKAROUND :
Call Files.getLastModifiedTime(f.toPath()).toMillis() instead of 
f.lastModified()
{quote}


was (Author: hboutemy):
perhaps cause by this bug on Java 8 on Linux, where last modified date of a 
File is rounded to second https://bugs.openjdk.java.net/browse/JDK-8177809 ...

> Tests fail at HEAD on Linux
> ---
>
> Key: MEAR-284
> URL: https://issues.apache.org/jira/browse/MEAR-284
> Project: Maven Ear Plugin
>  Issue Type: Test
>Affects Versions: 3.1.0
>Reporter: Elliotte Rusty Harold
>Priority: Blocker
> Fix For: 3.1.0
>
>
> Possibly on other systems:
> {noformat}[INFO] Building: packaging-includes/pom.xml
> [INFO] run post-build script verify.bsh
> [INFO]   The post-build script did not succeed. Missing archive entry: 
> META-INF/application.xml
> [INFO]   packaging-includes/pom.xml  FAILED (1.4 s)
> ...
> [ERROR] The following builds failed:
> [ERROR] *  packaging-includes/pom.xml
> [ERROR] *  basic/pom.xml{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Comment Edited] (MEAR-284) Tests fail at HEAD on Linux

2020-09-12 Thread Herve Boutemy (Jira)


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

Herve Boutemy edited comment on MEAR-284 at 9/12/20, 5:36 PM:
--

trying to understand, and with past experience on maven-war-plugin when such 
file was disappearing after a feature like MEAR-278 was added, I added a log 
when deleting outdated resource in 
[6a5ec7360101ca4e174cbf523b13264ca3da5695|https://github.com/apache/maven-ear-plugin/commit/6a5ec7360101ca4e174cbf523b13264ca3da5695]

then it seems the missing application.xml is *sometimes* deleted by the 
outdated resource process:
{noformat}
[INFO] Copy ear sources to /maven-ear-plugin/target/it/basic/target/test-1.0
[INFO] deleting outdated resource META-INF/application.xml{noformat}

I add the *sometimes* because on my computer, the list of failing ITs varies 
from execution to execution, and there even no issue with JDK 11...


was (Author: hboutemy):
trying to understand, and with past experience on maven-war-plugin when such 
file was disappearing after a feature like MEAR-278 was added, I added a log 
when deleting outdated resource in 
[6a5ec7360101ca4e174cbf523b13264ca3da5695|https://github.com/apache/maven-ear-plugin/commit/6a5ec7360101ca4e174cbf523b13264ca3da5695]

then it seems the missing application.xml is *sometimes* deleted by the 
outdated resource process:
{noformat}
 [INFO] Copy ear sources to 
/maven-ear-plugin/target/it/basic/target/test-1.0[INFO] deleting outdated 
resource META-INF/application.xml{noformat}

I add the *sometimes* because on my computer, the list of failing ITs varies 
from execution to execution, and there even no issue with JDK 11...

> Tests fail at HEAD on Linux
> ---
>
> Key: MEAR-284
> URL: https://issues.apache.org/jira/browse/MEAR-284
> Project: Maven Ear Plugin
>  Issue Type: Test
>Reporter: Elliotte Rusty Harold
>Priority: Blocker
>
> Possibly on other systems:
> {noformat}[INFO] Building: packaging-includes/pom.xml
> [INFO] run post-build script verify.bsh
> [INFO]   The post-build script did not succeed. Missing archive entry: 
> META-INF/application.xml
> [INFO]   packaging-includes/pom.xml  FAILED (1.4 s)
> ...
> [ERROR] The following builds failed:
> [ERROR] *  packaging-includes/pom.xml
> [ERROR] *  basic/pom.xml{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)