VDT results page broken when APK installation failed


#1

Bitrise Build Issue Report template

Description of the issue

When installation fails due to INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2 then VDT results page is broken. Video and logs section show infinite loaders. Duration section is empty.

Error in JS console:

angular.js:14525 Error: [$http:badreq] Http request configuration url must be a string or a $sce trusted object. Received: undefined
http://errors.angularjs.org/1.6.4/$http/badreq?p0=undefined
at angular.js:66
at $http (angular.js:11967)
at Function.$http.(anonymous function) [as get] (https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.js:12237:18)
at BitriseAddonFirebaseApp.js:87
at $Q (angular.js:17129)
at Object.requestService.getLogfromURL (BitriseAddonFirebaseApp.js:86)
at loadLogs (Logs.js:59)
at Logs.js:43
at Scope.$digest (angular.js:17999)
at Scope.$apply (angular.js:18269)

Environment:

Where did the issue happen?

on Bitrise.io: Android (non-LTS) stack

Which build Step causes the issue and which version of the step?

virtual-device-testing-for-android v1.0.5

Reproducibility

  • _Does a “Rebuild” help?: NO
  • _Does a rebuild without caches help?: NO
  • Does the issue happen sporadically, or every time? : every time
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : First observed 11.02.2019.

Local reproduction

Unavailble due to VDT

Local reproduction: Linux / Android (docker based) stack builds

Unavailble due to VDT

Build log


#2

Hi @koral!

Thanks for the report, we’ve taken note and are beginning to investigate, will let you know the details further on!