Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 916186

Summary: Errai sources emits errors while testing Navigation 2.2.0.Final-redhat-1
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Stefan Miklosovic <smikloso>
Component: ErraiAssignee: Pavel SLegr <pslegr>
Status: CLOSED CURRENTRELEASE QA Contact: Stefan Miklosovic <smikloso>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: cbrock, csadilek, jfuerth, kpiwko, mnovotny, myarboro, oskutka, pslegr
Target Milestone: ---   
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-14 14:51:42 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
errors while building errai sources from scratch none

Description Stefan Miklosovic 2013-02-27 13:45:45 UTC
Created attachment 703441 [details]
errors while building errai sources from scratch

Description of problem:
Compilation of the Errai sources from scratch for 2.2.0.ER1 is successful but errors in the attachments are shown and some tests are failing but surprisingly the build as such seems to be ok. Please check the attachments.

Version-Release number of selected component (if applicable):
2.2.0.ER1

How reproducible:
Always.

Steps to Reproduce:
1. FRAMEWORK=errai wfk2env
2. FRAMEWORK=errai wfk2maven clean package
  
Actual results:
Build is ok but errors are shown during the compilation. To be more concrete, it seems that Navigation 2.2.0.Final-redhat-1 testing suite fails 16 out of 23 tests.

Expected results:
No failing tests.

Additional info:
see also #912708

Comment 1 Jonathan Fuerth 2013-02-27 15:33:12 UTC
I believe these test failures have the same cause as bug 914646 (incorrect scope of errai-data-binding dependency in weld-integration/pom.xml).

Comment 2 Marek Novotny 2013-02-28 09:22:06 UTC
First what I don't get why tests are invoked while it should be only while profile integration-test is used. So Stefan didn't write correctly the description or I don't get that.

Next it is true that the attached error log should be affected by 914646, but I tried the build after the fix and it still fails with different test errors.

I will let Pavel to discovery the test errors and fix them if he reproduce them too.

Comment 5 Stefan Miklosovic 2013-03-19 09:49:13 UTC
I am able to build navigation module as such but I am not able test it since the following error, I am pretty sure it is similar to bug #912408

Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
Caused by: java.lang.ClassNotFoundException: ${argLine}
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ${argLine}.  Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
Caused by: java.lang.ClassNotFoundException: ${argLine}
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ${argLine}.  Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
Caused by: java.lang.ClassNotFoundException: ${argLine}
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ${argLine}.  Program will exit.
Exception in thread "main" java.lang.NoClassDefFoundError: ${argLine}
Caused by: java.lang.ClassNotFoundException: ${argLine}
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ${argLine}.  Program will exit.

Comment 9 Karel Piwko 2013-05-14 14:51:42 UTC
Closed as CURRENTRELEASE, part of WFK 2.2.0 distributables.