Skip to content

Commit

Permalink
Fix Android CI log output and uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
complexspaces committed Mar 12, 2024
1 parent 5b0b8a0 commit 112d8ae
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ jobs:
env | grep '^JAVA'
touch emulator.log
chmod 770 emulator.log
adb logcat >> emulator.log &
adb logcat -c
adb logcat | grep 'rustls' | tee emulator.log &
./gradlew connectedDebugAndroidTest
- name: Upload Android test results
Expand All @@ -167,7 +168,7 @@ jobs:
name: android-test-results
retention-days: 7
path: |
emulator.log
./android/emulator.log
/Users/runner/work/rustls-platform-verifier/rustls-platform-verifier/android/rustls-platform-verifier/build/outputs/androidTest-results/connected/test-result.pb
# TODO: Test iOS in CI too.
Expand Down
99 changes: 99 additions & 0 deletions android/emulator.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
03-11 18:56:29.020 505 553 I ActivityManager: Force stopping org.rustls.platformverifier.test appid=10146 user=-1: installPackageLI
03-11 18:56:29.020 505 574 I PackageManager: Update package org.rustls.platformverifier.test code path from /data/app/~~ofqaBBqWw95QK9fbrXHutg==/org.rustls.platformverifier.test-j0YSdDgTyqaWYuQqTcEuSQ== to /data/app/~~DfyCA_BxcYeWAf6-lmncCQ==/org.rustls.platformverifier.test-4gxlt5Pmd3dkNFSFmRQIcA==; Retain data and using new
03-11 18:56:29.034 505 574 I ActivityManager: Force stopping org.rustls.platformverifier.test appid=10146 user=0: pkg removed
03-11 18:56:29.036 1392 1392 I MediaProvider: Invalidating LocalCallingIdentity cache for package org.rustls.platformverifier.test. Reason: package android.intent.action.PACKAGE_REMOVED
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemonitor.impl.PackageMonitorReceiverImpl$RegisteredReceiver
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemonitor.backgroundimpl.BackgroundPackageMonitorReceiverImpl$RegisteredReceiver
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.instantapps.appmanagement.InstantAppRemoveMonitor
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.games.chimera.GamesSystemBroadcastReceiverProxy
03-11 18:56:29.036 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
03-11 18:56:29.037 3729 3729 I GsaVoiceInteractionSrv: O received Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) }
03-11 18:56:29.041 505 505 I Telecom : CarModeTracker: Package org.rustls.platformverifier.test is not tracked.: SSH.oR@Ahs
03-11 18:56:29.044 10042 10042 I Finsky : [2] saf.aif(67): IQ: onPackageRemoved org.rustls.platformverifier.test, replacing=true, uninstallingFromPlay=false
03-11 18:56:29.045 10042 10113 I Finsky : [60] kpn.a(55): AIM: AppInfoManager-Perf > OnDeviceAppInfo > cacheHitCount=0, cacheMissCount=1. Missed in cache (limit 10) : [org.rustls.platformverifier.test]
03-11 18:56:29.049 10042 10148 I Finsky : [77] kpj.a(206): AIM: AppInfoManager-Perf > ItemModel > CacheSize=0, cacheHitCount=0, cacheMissCount=1, total appsWithNoServerDataCount=0. Missed in cache (limit 10) : [org.rustls.platformverifier.test]
03-11 18:56:29.050 10042 10150 I Finsky : [76] tdk.apply(427): ItemStore: Not cached: org.rustls.platformverifier.test
03-11 18:56:29.050 505 542 D CompanionDeviceManagerService: onPackageModified(packageName = org.rustls.platformverifier.test)
03-11 18:56:29.050 1392 1392 I MediaProvider: Invalidating LocalCallingIdentity cache for package org.rustls.platformverifier.test. Reason: package android.intent.action.PACKAGE_ADDED
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.packageinstaller/com.android.packageinstaller.PackageInstalledReceiver
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemonitor.impl.PackageMonitorReceiverImpl$RegisteredReceiver
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.android.vending/com.google.android.finsky.packagemonitor.backgroundimpl.BackgroundPackageMonitorReceiverImpl$RegisteredReceiver
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.games.chimera.GamesSystemBroadcastReceiverProxy
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.gass.chimera.PackageChangeBroadcastReceiver
03-11 18:56:29.052 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
03-11 18:56:29.052 3729 3729 I GsaVoiceInteractionSrv: O received Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) }
03-11 18:56:29.054 749 749 D MediaPlayerList: Name of package changed: org.rustls.platformverifier.test
03-11 18:56:29.068 505 571 E VerityUtils: Failed to measure fs-verity, errno 1: /data/app/~~DfyCA_BxcYeWAf6-lmncCQ==/org.rustls.platformverifier.test-4gxlt5Pmd3dkNFSFmRQIcA==/base.apk
03-11 18:56:29.080 10042 10150 I Finsky : [76] kpn.a(55): AIM: AppInfoManager-Perf > OnDeviceAppInfo > cacheHitCount=0, cacheMissCount=1. Missed in cache (limit 10) : [org.rustls.platformverifier.test]
03-11 18:56:29.084 9787 23834 W SQLiteLog: (28) double-quoted string literal: "org.rustls.platformverifier.test"
03-11 18:56:29.086 10042 10148 I Finsky : [77] kpj.a(206): AIM: AppInfoManager-Perf > ItemModel > CacheSize=0, cacheHitCount=0, cacheMissCount=1, total appsWithNoServerDataCount=0. Missed in cache (limit 10) : [org.rustls.platformverifier.test]
03-11 18:56:29.086 10042 10148 I Finsky : [77] tdk.apply(427): ItemStore: Not cached: org.rustls.platformverifier.test
03-11 18:56:29.091 3729 3729 I GsaVoiceInteractionSrv: O received Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) }
03-11 18:56:29.097 505 3204 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
03-11 18:56:29.098 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.gms/.gass.chimera.PackageChangeBroadcastReceiver
03-11 18:56:29.098 505 553 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REPLACED dat=package:org.rustls.platformverifier.test flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
03-11 18:56:29.102 505 571 E VerityUtils: Failed to measure fs-verity, errno 1: /data/app/~~DfyCA_BxcYeWAf6-lmncCQ==/org.rustls.platformverifier.test-4gxlt5Pmd3dkNFSFmRQIcA==/base.apk
03-11 18:56:29.115 959 959 D ImsResolver: maybeAddedImsService, packageName: org.rustls.platformverifier.test
03-11 18:56:29.651 505 4286 I ActivityManager: Force stopping org.rustls.platformverifier.test appid=10146 user=0: start instr
03-11 18:56:29.654 505 554 I ActivityManager: Start proc 23903:org.rustls.platformverifier.test/u0a146 for added application org.rustls.platformverifier.test
03-11 18:56:29.704 23903 23903 V GraphicsEnvironment: ANGLE Developer option for 'org.rustls.platformverifier.test' set to: 'default'
03-11 18:56:29.753 23903 23922 I TestRequestBuilder: Scanning classpath to find tests in paths [/data/app/~~DfyCA_BxcYeWAf6-lmncCQ==/org.rustls.platformverifier.test-4gxlt5Pmd3dkNFSFmRQIcA==/base.apk]
03-11 18:56:29.839 23903 23922 I TestRunner: started: runMockTestSuite(org.rustls.platformverifier.CertificateVerifierTests)
03-11 18:56:29.842 23903 23924 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.860 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.860 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.860 23903 23925 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.865 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.865 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.865 23903 23926 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.871 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.871 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.871 23903 23927 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.879 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.879 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.879 23903 23928 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.888 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.888 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.888 23903 23929 I rustls_platform_verif..: verifying Ok(())
03-11 18:56:29.896 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.896 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.896 23903 23930 I rustls_platform_verif..: verifying Err(InvalidCertificate(Revoked))
03-11 18:56:29.906 23903 23930 W rustls_platform_verif..: certificate was revoked: java.security.cert.CertPathValidatorException: Certificate has been revoked, reason: UNSPECIFIED, revocation date: Mon Jul 31 09:27:00 PDT 2023, authority: O=root1-int1, extension OIDs: []
03-11 18:56:29.906 23903 23930 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: Revoked
03-11 18:56:29.906 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.906 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.906 23903 23931 I rustls_platform_verif..: verifying Err(InvalidCertificate(Revoked))
03-11 18:56:29.914 23903 23931 W rustls_platform_verif..: certificate was revoked: java.security.cert.CertPathValidatorException: Certificate has been revoked, reason: UNSPECIFIED, revocation date: Mon Jul 31 09:27:00 PDT 2023, authority: O=root1-int1, extension OIDs: []
03-11 18:56:29.914 23903 23931 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: Revoked
03-11 18:56:29.914 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.915 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.915 23903 23932 I rustls_platform_verif..: verifying Err(InvalidCertificate(Revoked))
03-11 18:56:29.923 23903 23932 W rustls_platform_verif..: certificate was revoked: java.security.cert.CertPathValidatorException: Certificate has been revoked, reason: UNSPECIFIED, revocation date: Mon Jul 31 09:27:00 PDT 2023, authority: O=root1-int1, extension OIDs: []
03-11 18:56:29.923 23903 23932 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: Revoked
03-11 18:56:29.923 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.923 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.923 23903 23933 I rustls_platform_verif..: verifying Err(InvalidCertificate(UnknownIssuer))
03-11 18:56:29.924 23903 23933 W rustls_platform_verif..: certificate was not trusted: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
03-11 18:56:29.924 23903 23933 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: UnknownIssuer
03-11 18:56:29.924 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.924 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.924 23903 23934 I rustls_platform_verif..: verifying Err(InvalidCertificate(UnknownIssuer))
03-11 18:56:29.925 23903 23934 W rustls_platform_verif..: certificate was not trusted: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
03-11 18:56:29.925 23903 23934 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: UnknownIssuer
03-11 18:56:29.925 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.925 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.926 23903 23935 I rustls_platform_verif..: verifying Err(InvalidCertificate(UnknownIssuer))
03-11 18:56:29.927 23903 23935 W rustls_platform_verif..: certificate was not trusted: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
03-11 18:56:29.927 23903 23935 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: UnknownIssuer
03-11 18:56:29.927 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.927 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.927 23903 23936 I rustls_platform_verif..: verifying Err(InvalidCertificate(NotValidForName))
03-11 18:56:29.931 23903 23936 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: NotValidForName
03-11 18:56:29.931 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.931 23903 23922 I rustls_platform_verif..: -----------------------------------------------------------------------------
03-11 18:56:29.931 23903 23937 I rustls_platform_verif..: verifying Err(InvalidCertificate(NotValidForName))
03-11 18:56:29.935 23903 23937 E rustls_platform_verif..: failed to verify TLS certificate: invalid peer certificate: NotValidForName
03-11 18:56:29.935 23903 23922 I rustls_platform_verif..: mock tests: test passed
03-11 18:56:29.935 23903 239

0 comments on commit 112d8ae

Please sign in to comment.