[JBoss JIRA] (SHRINKWRAP-433) Race condition deadlock in TarGz Exporter
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/SHRINKWRAP-433?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on SHRINKWRAP-433:
----------------------------------------------------
Marek Novotny <mnovotny(a)redhat.com> made a comment on [bug 875031|https://bugzilla.redhat.com/show_bug.cgi?id=875031]
This issue was resolved in upstream version 1.1.1 according to https://issues.jboss.org/browse/SHRINKWRAP-433, but that version is not available right now.
Andrew, could you shed some light on it?
> Race condition deadlock in TarGz Exporter
> -----------------------------------------
>
> Key: SHRINKWRAP-433
> URL: https://issues.jboss.org/browse/SHRINKWRAP-433
> Project: ShrinkWrap
> Issue Type: Bug
> Components: impl-base
> Affects Versions: 1.0.1
> Environment: RHEL6 32bit + Oracle JDK 6, Oracle JDK 7, OpenJDK 7
> Windows 2008 32 bit + Oracle JDK 7
> Solaris 10 32 bit + Oracle JDK 6, Oracle JDK 7
> Reporter: Karel Piwko
> Assignee: Michal Matloka
> Fix For: 1.1.1
>
>
> There is a deadlock which is triggered on various platforms concerning handling of TarGz archives. Concerned environments are listed in the environment field.
> Following error is logged by Jenkins
> {code}
> 11:48:05 Running org.jboss.shrinkwrap.impl.base.exporter.TarGzExporterTestCase
> 16:45:04 Build timed out (after 300 minutes). Marking the build as aborted.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 2 months
[JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6
by Michal Matloka (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plug... ]
Michal Matloka commented on SHRINKRES-93:
-----------------------------------------
Yes, the same type. The feature I mentioned is 'autotunnel apps' function which should automatically tunnel connections from browsers, but same time it influenced Maven and Shrinkres.
> Tests fails under windows and RHEL 6
> ------------------------------------
>
> Key: SHRINKRES-93
> URL: https://issues.jboss.org/browse/SHRINKRES-93
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha-5
> Environment: win7 x64
> RHEL 6
> Reporter: Michal Matloka
> Assignee: Michal Matloka
>
> I've tried to build today resolvers from both linux and windows.
>
> On Linux build successfully! On Eclipse on windows all tests passes! but, when building on windows from maven (cmd/cygwin) some tests fails.
> {noformat}
> Tests in error:
> shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> shouldFailWhileNotReadingReactor(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
> shouldHaveCentralMavenRepositoryDisabled(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
> control(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> offlineProgramatically(org.jboss.shrinkwrap.resolver.impl.maven.integration.OfflineRepositoryTestCase): Unable to collect dependency tree for given dependencies, reason: Failed to collect dependencies for [junit:junit:jar:3.8.2 (compile)]
> {noformat}
> e.g.
> {noformat}
> shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase) Time elapsed: 0.696 sec <<< ERROR!
> org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException: Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> 1/ [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not find artifact org.jboss:jboss-parent:pom:8 in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT, I:\Dev\JBoss\shrinkwrap resolver\pom.xml
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (SHRINKRES-93) Tests fails under windows and RHEL 6
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/SHRINKRES-93?page=com.atlassian.jira.plug... ]
Karel Piwko commented on SHRINKRES-93:
--------------------------------------
Just wondering, did that VPN software cause problems of the same type for both Maven and Shrinkres? Answer to this question is interesting as Shrinkres has a different (read more lightweight) way how to bootstrap Maven session and thus there might be something we omitted.
> Tests fails under windows and RHEL 6
> ------------------------------------
>
> Key: SHRINKRES-93
> URL: https://issues.jboss.org/browse/SHRINKRES-93
> Project: ShrinkWrap Resolvers
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha-5
> Environment: win7 x64
> RHEL 6
> Reporter: Michal Matloka
> Assignee: Michal Matloka
>
> I've tried to build today resolvers from both linux and windows.
>
> On Linux build successfully! On Eclipse on windows all tests passes! but, when building on windows from maven (cmd/cygwin) some tests fails.
> {noformat}
> Tests in error:
> shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> shouldFailWhileNotReadingReactor(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
> shouldHaveCentralMavenRepositoryDisabled(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Unexpected exception, expected<org.jboss.shrinkwrap.resolver.api.NoResolvedResultException> but was<org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException>
> control(org.jboss.shrinkwrap.resolver.impl.maven.integration.DisabledCentralRepositoryTestCase): Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> offlineProgramatically(org.jboss.shrinkwrap.resolver.impl.maven.integration.OfflineRepositoryTestCase): Unable to collect dependency tree for given dependencies, reason: Failed to collect dependencies for [junit:junit:jar:3.8.2 (compile)]
> {noformat}
> e.g.
> {noformat}
> shouldBeAbleToLoadArtifactDirectlyFromClassPath(org.jboss.shrinkwrap.resolver.impl.maven.integration.ClasspathWorkspaceReaderTestCase) Time elapsed: 0.696 sec <<< ERROR!
> org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException: Found 1 problems while building POM model from I:\Dev\JBoss\shrinkwrap resolver\impl-maven\pom.xml
> 1/ [FATAL] Non-resolvable parent POM for org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT: Failed to resolve POM for org.jboss:jboss-parent:8 due to Could not find artifact org.jboss:jboss-parent:pom:8 in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-parent:2.0.0-alpha-6-SNAPSHOT, I:\Dev\JBoss\shrinkwrap resolver\pom.xml
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (SHRINKDESC-127) Fixed values doesn't get applied as constant value
by Ralf Battenfeld (JIRA)
[ https://issues.jboss.org/browse/SHRINKDESC-127?page=com.atlassian.jira.pl... ]
Ralf Battenfeld commented on SHRINKDESC-127:
--------------------------------------------
Hi Jesper
I have problems to find a suitable API for the fixed attributes. So far, I added the constant fields as you have suggested:
final ApplicationDescriptor app6Descr = create();
app6Descr.version(ApplicationDescriptor.VERSION);
The fixed attributes are defined in the corresponding descriptor interfaces or other classes. I am not sure that further actions are a good idea. The only thing I can imagine is that we don't allow to enter a value for such fixed attributes:
app6Descr.version(); // set automatically the correct version
Let me know your opinions.
Ralf
> Fixed values doesn't get applied as constant value
> --------------------------------------------------
>
> Key: SHRINKDESC-127
> URL: https://issues.jboss.org/browse/SHRINKDESC-127
> Project: ShrinkWrap Descriptors
> Issue Type: Bug
> Components: metadata-parser
> Affects Versions: 2.0.0-alpha-3
> Reporter: Jesper Pedersen
> Assignee: Ralf Battenfeld
> Fix For: 2.0.0-alpha-5
>
>
> The following
> {noformat}
> <xsd:attribute name="version"
> type="j2ee:dewey-versionType"
> fixed="1.5"
> use="required">
> {noformat}
> definition doesn't define "version" as being a constant in the generated code
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months
[JBoss JIRA] (SHRINKWRAP-243) Dependencies does not find remote repositories set in settings.xml
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/SHRINKWRAP-243?page=com.atlassian.jira.pl... ]
Karel Piwko commented on SHRINKWRAP-243:
----------------------------------------
Jay,
I'm not able to find the commit in the repository, we migrated the project to standalone repo so maybe it was merged. However, it is possible that you hit another error related to settings.xml parsing, such as <mirror> support or activation based on file, etc. added later on. Can you provided more details about your test/settings.xml?
Version 1.0.0-X as well as 1.1.0-X is obsolete. Can you migrate to 2.0.0-alpha-7 (https://community.jboss.org/wiki/HowToIAddMavenArtifactsToMyShrinkWrapArc...) and see if error still occurs there and if so, file a new jira with more details in SHRINKRES project?
> Dependencies does not find remote repositories set in settings.xml
> ------------------------------------------------------------------
>
> Key: SHRINKWRAP-243
> URL: https://issues.jboss.org/browse/SHRINKWRAP-243
> Project: ShrinkWrap
> Issue Type: Feature Request
> Components: ext-resolver
> Reporter: Aslak Knutsen
> Assignee: Karel Piwko
> Fix For: 1.0.0-alpha-12
>
>
> Using activeDefault profiles in settings.xml does not seem to be included in the remote repository resolution in Dependencies.
> e.g.
> .m2/settings.xml
> <profiles>
> <profile>
> <activation>
> <activeByDefault>true</activeByDefault>
> </activation>
> <repositories>
> <repository>
> <id>jboss-public-repository-group</id>
> <name>JBoss Public Repository Group</name>
> <url>http://repository.jboss.org/nexus/content/groups/public/</url>
> <layout>default</layout>
> <releases>
> <enabled>true</enabled>
> <updatePolicy>never</updatePolicy>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> <updatePolicy>never</updatePolicy>
> </snapshots>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>jboss-public-repository-group</id>
> <name>JBoss Public Repository Group</name>
> <url>http://repository.jboss.org/nexus/content/groups/public/</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
> </profile>
> </profiles>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 3 months