[JBoss JIRA] (SHRINKRES-298) Various test failures in impl-maven-embedded on Windows
by Falko Modler (Jira)
[ https://issues.redhat.com/browse/SHRINKRES-298?page=com.atlassian.jira.pl... ]
Falko Modler updated SHRINKRES-298:
-----------------------------------
Summary: Various test failures in impl-maven-embedded on Windows (was: Various test failures in impl-maven-embedded on Windws)
> Various test failures in impl-maven-embedded on Windows
> -------------------------------------------------------
>
> Key: SHRINKRES-298
> URL: https://issues.redhat.com/browse/SHRINKRES-298
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: EmbeddedMaven
> Affects Versions: 3.1.3
> Reporter: Falko Modler
> Assignee: Matous Jobanek
> Priority: Minor
> Attachments: org.jboss.shrinkwrap.resolver.impl.maven.embedded.BuildOutputTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.invoker.equipped.InvokerEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenRunningAsDaemonTestCase.txt
>
>
> Building the project in this environment:
> {noformat}
> $ ./mvnw -version
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
> Maven home: C:\Users\Falko\.m2\wrapper\dists\apache-maven-3.5.2-bin\28qa8v9e2mq69covern8vmdkj0\apache-maven-3.5.2
> Java version: 1.8.0_202, vendor: Oracle Corporation
> Java home: C:\_dev\Java\jdk1.8.0_202\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> {noformat}
> yields multiple test failures which can be broken down into two cause categories:
> - log output matching with {{/}} instead of {{File.separatorChar}}
> - failing {{clean}} due to still opened jar files (Windows is very picky about that)
> The second category is mainly caused by Shrinkwrap leaving {{ZipFile}} objects open after they have been parsed into {{Archive}}s (which makes sense if you'd want to modify them) in combination with each test operating on the same test project in {{src/it}}.
> The second aspect is not a good idea in terms of test separation, either.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (SHRINKRES-298) Various test failures in impl-maven-embedded on Windws
by Falko Modler (Jira)
[ https://issues.redhat.com/browse/SHRINKRES-298?page=com.atlassian.jira.pl... ]
Falko Modler commented on SHRINKRES-298:
----------------------------------------
I have attached the surefire reports of the failing tests.
Important note: Most of those failures a shadowed by the {{maven.home}} problem that is fixed by this PR: https://github.com/shrinkwrap/resolver/pull/139
So you need to execute the tests on top of PR 139 to see those Windows related failures.
> Various test failures in impl-maven-embedded on Windws
> ------------------------------------------------------
>
> Key: SHRINKRES-298
> URL: https://issues.redhat.com/browse/SHRINKRES-298
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: EmbeddedMaven
> Affects Versions: 3.1.3
> Reporter: Falko Modler
> Assignee: Matous Jobanek
> Priority: Minor
> Attachments: org.jboss.shrinkwrap.resolver.impl.maven.embedded.BuildOutputTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.invoker.equipped.InvokerEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenRunningAsDaemonTestCase.txt
>
>
> Building the project in this environment:
> {noformat}
> $ ./mvnw -version
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
> Maven home: C:\Users\Falko\.m2\wrapper\dists\apache-maven-3.5.2-bin\28qa8v9e2mq69covern8vmdkj0\apache-maven-3.5.2
> Java version: 1.8.0_202, vendor: Oracle Corporation
> Java home: C:\_dev\Java\jdk1.8.0_202\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> {noformat}
> yields multiple test failures which can be broken down into two cause categories:
> - log output matching with {{/}} instead of {{File.separatorChar}}
> - failing {{clean}} due to still opened jar files (Windows is very picky about that)
> The second category is mainly caused by Shrinkwrap leaving {{ZipFile}} objects open after they have been parsed into {{Archive}}s (which makes sense if you'd want to modify them) in combination with each test operating on the same test project in {{src/it}}.
> The second aspect is not a good idea in terms of test separation, either.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (SHRINKRES-298) Various test failures in impl-maven-embedded on Windws
by Falko Modler (Jira)
[ https://issues.redhat.com/browse/SHRINKRES-298?page=com.atlassian.jira.pl... ]
Falko Modler updated SHRINKRES-298:
-----------------------------------
Attachment: org.jboss.shrinkwrap.resolver.impl.maven.embedded.BuildOutputTestCase.txt
org.jboss.shrinkwrap.resolver.impl.maven.embedded.invoker.equipped.InvokerEquippedEmbeddedMavenForJarSampleTestCase.txt
org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenForJarSampleTestCase.txt
org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenRunningAsDaemonTestCase.txt
> Various test failures in impl-maven-embedded on Windws
> ------------------------------------------------------
>
> Key: SHRINKRES-298
> URL: https://issues.redhat.com/browse/SHRINKRES-298
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Components: EmbeddedMaven
> Affects Versions: 3.1.3
> Reporter: Falko Modler
> Assignee: Matous Jobanek
> Priority: Minor
> Attachments: org.jboss.shrinkwrap.resolver.impl.maven.embedded.BuildOutputTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.invoker.equipped.InvokerEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenForJarSampleTestCase.txt, org.jboss.shrinkwrap.resolver.impl.maven.embedded.pom.equipped.PomEquippedEmbeddedMavenRunningAsDaemonTestCase.txt
>
>
> Building the project in this environment:
> {noformat}
> $ ./mvnw -version
> Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
> Maven home: C:\Users\Falko\.m2\wrapper\dists\apache-maven-3.5.2-bin\28qa8v9e2mq69covern8vmdkj0\apache-maven-3.5.2
> Java version: 1.8.0_202, vendor: Oracle Corporation
> Java home: C:\_dev\Java\jdk1.8.0_202\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
> {noformat}
> yields multiple test failures which can be broken down into two cause categories:
> - log output matching with {{/}} instead of {{File.separatorChar}}
> - failing {{clean}} due to still opened jar files (Windows is very picky about that)
> The second category is mainly caused by Shrinkwrap leaving {{ZipFile}} objects open after they have been parsed into {{Archive}}s (which makes sense if you'd want to modify them) in combination with each test operating on the same test project in {{src/it}}.
> The second aspect is not a good idea in terms of test separation, either.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (SHRINKRES-298) Various test failures in impl-maven-embedded on Windws
by Falko Modler (Jira)
Falko Modler created SHRINKRES-298:
--------------------------------------
Summary: Various test failures in impl-maven-embedded on Windws
Key: SHRINKRES-298
URL: https://issues.redhat.com/browse/SHRINKRES-298
Project: ShrinkWrap Resolvers
Issue Type: Bug
Components: EmbeddedMaven
Affects Versions: 3.1.3
Reporter: Falko Modler
Assignee: Matous Jobanek
Building the project in this environment:
{noformat}
$ ./mvnw -version
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T09:58:13+02:00)
Maven home: C:\Users\Falko\.m2\wrapper\dists\apache-maven-3.5.2-bin\28qa8v9e2mq69covern8vmdkj0\apache-maven-3.5.2
Java version: 1.8.0_202, vendor: Oracle Corporation
Java home: C:\_dev\Java\jdk1.8.0_202\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{noformat}
yields multiple test failures which can be broken down into two cause categories:
- log output matching with {{/}} instead of {{File.separatorChar}}
- failing {{clean}} due to still opened jar files (Windows is very picky about that)
The second category is mainly caused by Shrinkwrap leaving {{ZipFile}} objects open after they have been parsed into {{Archive}}s (which makes sense if you'd want to modify them) in combination with each test operating on the same test project in {{src/it}}.
The second aspect is not a good idea in terms of test separation, either.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months