See
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/173/changes>
Changes:
[Julien Carsique] Won't stop an existing emulator; allow to manage Nuxeo server
outside Maven
------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Building AutomationNonRegTests
[INFO] task-segment: [clean, deploy]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target>
[TASKS] Scanning folder
'<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/'>
for tasks ...
[TASKS] Found 0 open tasks.
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[INFO] [android:generate-sources {execution: default-generate-sources}]
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] ANDROID-904-002: Found aidl files: Count = 0
[INFO] /opt/build/tools/android/platform-tools/aapt [package, -m, -J,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/generated-sources/r,>
-M,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/AndroidManifest.xml,>
-S,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/res,>
--auto-add-overlay, -I,
/opt/build/tools/android/platforms/android-8/android.jar]
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/src/main/resources>
[INFO] skip non existing resourceDirectory
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/generated-sources/extracted-dependencies/src/main/resources>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] snapshot org.nuxeo.android:nuxeo-android-connector:2.0-SNAPSHOT:
checking for updates from internal-snapshots
[INFO] snapshot org.nuxeo.android:nuxeo-android-connector:2.0-SNAPSHOT:
checking for updates from public-snapshot
[INFO] snapshot org.nuxeo.android:nuxeo-android-connector-ui:2.0-SNAPSHOT:
checking for updates from internal-snapshots
[INFO] snapshot org.nuxeo.android:nuxeo-android-connector-ui:2.0-SNAPSHOT:
checking for updates from public-snapshot
[INFO] [compiler:compile {execution: default-compile}]
[TASKS] Skipping maven reporter: there is already a result available.[INFO]
Compiling 7 source files to
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/classes>
[INFO] [jar:jar {execution: default-jar}]
[TASKS] Skipping maven reporter: there is already a result available.[INFO]
Building jar:
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.jar>
[INFO] [android:unpack {execution: default-unpack}]
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [resources:testResources {execution: default-testResources}]
[TASKS] Skipping maven reporter: there is already a result available.[INFO]
Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/src/test/resources>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [compiler:testCompile {execution: default-testCompile}]
[TASKS] Skipping maven reporter: there is already a result available.[INFO] No
sources to compile
[INFO] [surefire:test {execution: default-test}]
[JENKINS] Recording test results
[INFO] No tests to run.
[INFO] [android:dex {execution: default-dex}]
[INFO] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java [-jar,
/opt/build/tools/android/platform-tools/lib/dx.jar, --dex,
--output=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/classes.dex,>
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/android-classes]>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [android:apk {execution: default-apk}]
[INFO] /opt/build/tools/android/platform-tools/aapt [package, -f, -M,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/AndroidManifest.xml,>
-S,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/res,>
--auto-add-overlay, -I,
/opt/build/tools/android/platforms/android-8/android.jar, -F,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.ap_]>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [jarsigner:sign {execution: signing}]
[INFO] 2 archive(s) processed
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [android:zipalign {execution: alignApk}]
[INFO] Running command: /opt/build/tools/android/tools/zipalign
[INFO] with parameters: [-v, -f, 4,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk,>
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT-signed-aligned.apk]>
Verifying alignment of
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT-signed-aligned.apk>
(4)...
50 META-INF/MANIFEST.MF (OK - compressed)
460 META-INF/NUXEO-SH.SF (OK - compressed)
937 META-INF/NUXEO-SH.RSA (OK - compressed)
2054 res/layout/main.xml (OK - compressed)
2376 AndroidManifest.xml (OK - compressed)
3288 resources.arsc (OK)
4468 res/drawable-hdpi/icon.png (OK)
8492 res/drawable-ldpi/icon.png (OK)
10088 res/drawable-mdpi/icon.png (OK)
12329 classes.dex (OK - compressed)
Verification succesful
[INFO] Attach
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT-signed-aligned.apk>
to the project
[TASKS] Skipping maven reporter: there is already a result available.[INFO]
[android:internal-pre-integration-test {execution:
default-internal-pre-integration-test}]
[INFO] /opt/build/tools/android/platform-tools/aapt [dump, xmltree,
/home/hudson/tmp/workspace/nuxeo-android-master/nuxeo-automation-sample/target/nuxeo-automation-sample-2.0-SNAPSHOT.apk,
AndroidManifest.xml]
N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x1
A: android:versionName(0x0101021c)="1.0" (Raw: "1.0")
A: package="org.nuxeo.android.automationsample" (Raw:
"org.nuxeo.android.automationsample")
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x8
E: uses-permission (line=10)
A: android:name(0x01010003)="android.permission.INTERNET" (Raw:
"android.permission.INTERNET")
E: uses-permission (line=11)
A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE"
(Raw: "android.permission.ACCESS_NETWORK_STATE")
E: uses-permission (line=12)
A: android:name(0x01010003)="android.permission.WRITE_EXTERNAL_STORAGE"
(Raw: "android.permission.WRITE_EXTERNAL_STORAGE")
E: application (line=14)
A: android:label(0x01010001)=@0x7f040001
A: android:icon(0x01010002)=@0x7f020000
A:
android:name(0x01010003)="org.nuxeo.android.automationsample.NuxeoSampleApplication"
(Raw: "org.nuxeo.android.automationsample.NuxeoSampleApplication")
E: activity (line=15)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)=@0x7f040001
A: android:name(0x01010003)="HomeSampleActivity" (Raw:
"HomeSampleActivity")
E: intent-filter (line=17)
E: action (line=18)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw:
"android.intent.action.MAIN")
E: category (line=19)
A: android:name(0x01010003)="android.intent.category.LAUNCHER"
(Raw: "android.intent.category.LAUNCHER")
E: activity (line=22)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Connect to Nuxeo Server" (Raw: "Connect
to Nuxeo Server")
A: android:name(0x01010003)="ConnectSampleActivity" (Raw:
"ConnectSampleActivity")
E: activity (line=25)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Simple Data retrieval" (Raw: "Simple Data
retrieval")
A: android:name(0x01010003)="SimpleFetchSampleActivty" (Raw:
"SimpleFetchSampleActivty")
E: activity (line=28)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Sample for using Document Lists" (Raw:
"Sample for using Document Lists")
A: android:name(0x01010003)="SimpleDocumentsListSampleActivity" (Raw:
"SimpleDocumentsListSampleActivity")
E: activity (line=31)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Browse the repository" (Raw: "Browse the
repository")
A: android:name(0x01010003)="GetChildrenSampleActivity" (Raw:
"GetChildrenSampleActivity")
E: activity (line=34)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Sample for DocumentProviders" (Raw:
"Sample for DocumentProviders")
A: android:name(0x01010003)="DocumentProviderSampleActivity" (Raw:
"DocumentProviderSampleActivity")
E: activity (line=37)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Browse a DocumentProvider" (Raw: "Browse
a DocumentProvider")
A: android:name(0x01010003)="DocumentProviderViewActivity" (Raw:
"DocumentProviderViewActivity")
E: activity (line=41)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Cursor sample" (Raw: "Cursor sample")
A: android:name(0x01010003)="ContentProviderSampleActivity" (Raw:
"ContentProviderSampleActivity")
E: activity (line=44)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="CreateEditActivity" (Raw:
"CreateEditActivity")
A: android:name(0x01010003)="DocumentLayoutActivity" (Raw:
"DocumentLayoutActivity")
E: activity (line=47)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Nuxeo Offline Settings" (Raw: "Nuxeo
Offline Settings")
A:
android:name(0x01010003)="org.nuxeo.android.automation.NetworkSettingsActivity"
(Raw: "org.nuxeo.android.automation.NetworkSettingsActivity")
E: activity (line=50)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Settings" (Raw: "Settings")
A:
android:name(0x01010003)="org.nuxeo.android.automation.ServerSettingsActivity"
(Raw: "org.nuxeo.android.automation.ServerSettingsActivity")
E: activity (line=53)
A: android:theme(0x01010000)=@0x7f050000
A: android:label(0x01010001)="Document History" (Raw: "Document
History")
A: android:name(0x01010003)="HistorySampleActivity" (Raw:
"HistorySampleActivity")
E: provider (line=58)
A:
android:name(0x01010003)="org.nuxeo.android.contentprovider.NuxeoDocumentContentProvider"
(Raw: "org.nuxeo.android.contentprovider.NuxeoDocumentContentProvider")
A: android:authorities(0x01010018)="nxsample" (Raw: "nxsample")
[ERROR]
[INFO] /opt/build/tools/android/platform-tools/adb [uninstall,
org.nuxeo.android.automationsample]
Failure
[INFO] /opt/build/tools/android/platform-tools/adb [install, -r,
/home/hudson/tmp/workspace/nuxeo-android-master/nuxeo-automation-sample/target/nuxeo-automation-sample-2.0-SNAPSHOT.apk]
[INFO] 2263 KB/s (153947 bytes in 0.066s)
pkg: /data/local/tmp/nuxeo-automation-sample-2.0-SNAPSHOT.apk
Success
[INFO] /opt/build/tools/android/platform-tools/adb [install, -r,
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk]>
[INFO] 1072 KB/s (42067 bytes in 0.038s)
pkg: /data/local/tmp/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk
Success
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [android:internal-integration-test {execution:
default-internal-integration-test}]
[INFO] /opt/build/tools/android/platform-tools/adb [shell, am, instrument, -w,
org.nuxeo.android.automationsample.test/android.test.InstrumentationTestRunner]
org.nuxeo.android.automationsample.test.BrowseTest:
Failure in testCreateEdit:
junit.framework.AssertionFailedError
at
org.nuxeo.android.automationsample.test.BaseBrowsingTest.browseAndCreate(BaseBrowsingTest.java:32)
at
org.nuxeo.android.automationsample.test.BrowseTest.doOnlineTests(BrowseTest.java:57)
at
org.nuxeo.android.automationsample.test.BrowseTest.testCreateEdit(BrowseTest.java:42)
at java.lang.reflect.Method.invokeNative(Native Method)
at
android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204)
at
android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194)
at
android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:520)
at
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)
.
Test results for InstrumentationTestRunner=.F.
Time: 16.822
FAILURES!!!
Tests run: 2, Failures: 1, Errors: 0
[TASKS] Skipping maven reporter: there is already a result available.
[JENKINS] Archiving
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/pom.xml>
to
/home/hudson/.jenkins/jobs/nuxeo-android-master/modules/org.nuxeo.android$nuxeo-automation-browse-test/builds/2011-10-31_18-25-23/archive/org.nuxeo.android/nuxeo-automation-browse-test/2.0-SNAPSHOT/nuxeo-automation-browse-test-2.0-SNAPSHOT.pom
[JENKINS] Archiving
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk>
to
/home/hudson/.jenkins/jobs/nuxeo-android-master/modules/org.nuxeo.android$nuxeo-automation-browse-test/builds/2011-10-31_18-25-23/archive/org.nuxeo.android/nuxeo-automation-browse-test/2.0-SNAPSHOT/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk
[JENKINS] Archiving
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.jar>
to
/home/hudson/.jenkins/jobs/nuxeo-android-master/modules/org.nuxeo.android$nuxeo-automation-browse-test/builds/2011-10-31_18-25-23/archive/org.nuxeo.android/nuxeo-automation-browse-test/2.0-SNAPSHOT/nuxeo-automation-browse-test-2.0-SNAPSHOT.jar
[JENKINS] Archiving
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/org.nuxeo.android$nuxeo-automation-browse-test/ws/target/nuxeo-automation-browse-test-2.0-SNAPSHOT-signed-aligned.apk>
to
/home/hudson/.jenkins/jobs/nuxeo-android-master/modules/org.nuxeo.android$nuxeo-automation-browse-test/builds/2011-10-31_18-25-23/archive/org.nuxeo.android/nuxeo-automation-browse-test/2.0-SNAPSHOT/nuxeo-automation-browse-test-2.0-SNAPSHOT-aligned.apk
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Tests failed on device.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 17 seconds
[INFO] Finished at: Mon Oct 31 18:28:46 CET 2011
[INFO] Final Memory: 77M/469M
[INFO] ------------------------------------------------------------------------
_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa