See <https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/161/changes>

Changes:

[Thierry Delprat] Get ridd of DisconenctedSession and be sure that Session is 
always lazy created except for first call

[Thierry Delprat] work on testing

------------------------------------------
[...truncated 660 lines...]
    8484 res/drawable-ldpi/icon.png (OK)
   10080 res/drawable-mdpi/icon.png (OK)
   12321 classes.dex (OK - compressed)
Verification succesful
[INFO] Attach 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/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, 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/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]
Success
[INFO] /opt/build/tools/android/platform-tools/adb [install, -r, 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-sample/target/nuxeo-automation-sample-2.0-SNAPSHOT.apk]>
[INFO] 1539 KB/s (154034 bytes in 0.097s)
        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/ws/nuxeo-automation-browse-test/target/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk]>
[INFO] 1289 KB/s (41615 bytes in 0.031s)
        pkg: /data/local/tmp/nuxeo-automation-browse-test-2.0-SNAPSHOT.apk
Success
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [nuxeo-distribution-tools:build {execution: start-tomcat}]
Activating profile: dev
Activating profile: qa
Downloading: 
http://maven.in.nuxeo.com/nexus/content/groups/internal-releases/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip
8K downloaded  (nuxeo-ftest-1.6.4.zip)
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

_init:

prepare-tomcat:
     [echo] Prepare Tomcat...
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

download:
    [unzip] [INFO] snapshot 
org.nuxeo.ecm.distribution:nuxeo-distribution-tomcat:5.4.3-SNAPSHOT: checking 
for updates from internal-snapshots
    [unzip] [INFO] snapshot 
org.nuxeo.ecm.distribution:nuxeo-distribution-tomcat:5.4.3-SNAPSHOT: checking 
for updates from public-snapshot
Downloading: 
http://maven.in.nuxeo.com/nexus/content/repositories/public-snapshots/org/nuxeo/ecm/distribution/nuxeo-distribution-tomcat/5.4.3-SNAPSHOT/nuxeo-distribution-tomcat-5.4.3-20111023.063901-98-nuxeo-dm.zip
140840K downloaded  
(nuxeo-distribution-tomcat-5.4.3-20111023.063901-98-nuxeo-dm.zip)
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/ecm/distribution/nuxeo-distribution-tomcat/5.4.3-SNAPSHOT/nuxeo-distribution-tomcat-5.4.3-SNAPSHOT-nuxeo-dm.zip
 into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat>
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

unzip-local:
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

_init:

set-java-home:

nuxeo-conf:
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

_init:

set-conf:
    [unzip] Expanding: 
/home/hudson/.m2/repository/org/nuxeo/nuxeo-ftest/1.6.4/nuxeo-ftest-1.6.4.zip 
into 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target>

_init:

set-nuxeoconf-db:

prepare-environment:

_init:

stop-unix:
     [exec] Launcher command: java -Dlauncher.java.opts=-server -Xms512m 
-Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat>
 
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo.conf>
 
-Dnuxeo.log.dir=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/log>
 -jar 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo-launcher.jar>
 stop
     [exec] Nuxeo home:          
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat>
     [exec] Nuxeo configuration: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo.conf>
     [exec] Include template: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/templates/common>
     [exec] Include template: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/templates/default>
     [exec] Server is not running.

stop-windows:

stop:

start-unix:
     [exec] Launcher command: java -Dlauncher.java.opts=-server -Xms512m 
-Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true 
-Dnuxeo.home=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat>
 
-Dnuxeo.conf=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo.conf>
 
-Dnuxeo.log.dir=<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/log>
 -jar 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo-launcher.jar>
 start
     [exec] Nuxeo home:          
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat>
     [exec] Nuxeo configuration: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/bin/nuxeo.conf>
     [exec] Include template: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/templates/common>
     [exec] Include template: 
<https://qa.nuxeo.org/jenkins/job/nuxeo-android-master/ws/nuxeo-automation-browse-test/target/tomcat/templates/default>
     [exec] Detected Tomcat server.
     [exec] No current configuration, generating files...
     [exec] Configuration files generated.
     [exec] Server started with process ID 1406.
     [exec] .........................................................
     [exec] 
======================================================================
     [exec] = Nuxeo EP Started
     [exec] 
======================================================================
     [exec] = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 455
     [exec] 
======================================================================
     [exec] Started in 0min57s

start-windows:

start:

BUILD SUCCESSFUL
Total time: 1 minute 21 seconds
[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.BaseBrowsingTest:.
org.nuxeo.android.automationsample.test.BrowseTest:
Failure in testCreateEdit:
junit.framework.AssertionFailedError: ListView is null!
        at 
com.jayway.android.robotium.solo.Clicker.clickInList(Clicker.java:371)
        at 
com.jayway.android.robotium.solo.Clicker.clickInList(Clicker.java:347)
        at com.jayway.android.robotium.solo.Solo.clickInList(Solo.java:982)
        at 
org.nuxeo.android.automationsample.test.BaseBrowsingTest.browseAndCreate(BaseBrowsingTest.java:35)
        at 
org.nuxeo.android.automationsample.test.BrowseTest.doOnlineTests(BrowseTest.java:53)
        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)
.
org.nuxeo.android.automationsample.test.StartActivityForResultTest:..
Test results for InstrumentationTestRunner=..F...
Time: 61.909

FAILURES!!!
Tests run: 5,  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/ws/nuxeo-automation-browse-test/pom.xml>
 to 
/home/hudson/.jenkins/jobs/nuxeo-android-master/modules/org.nuxeo.android$nuxeo-automation-browse-test/builds/2011-10-23_18-16-05/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/ws/nuxeo-automation-browse-test/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-23_18-16-05/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/ws/nuxeo-automation-browse-test/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-23_18-16-05/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/ws/nuxeo-automation-browse-test/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-23_18-16-05/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: 4 minutes 33 seconds
[INFO] Finished at: Sun Oct 23 18:20:45 CEST 2011
[INFO] Final Memory: 79M/488M
[INFO] ------------------------------------------------------------------------
[TASKS] Aggregating results of Nuxeo Android parent project
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Nuxeo Android Connector
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Nuxeo Automation Thin Client
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Nuxeo Android Connector UI
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of HomeSampleActivity
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of NuxeoAppraisalClient
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Nuxeo Android simple client
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
[TASKS] Aggregating results of Unit test browsing of nuxeo-automation-sample
[TASKS] Using set difference to compute new warnings
[TASKS] Not changing build status, since no threshold has been exceeded
Sending e-mails to: [email protected] [email protected]
channel stopped
[android] Stopping Android emulator
[android] Archiving emulator log
Archiving artifacts

_______________________________________________
ECM-QA mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-qa

Reply via email to