Closed Bug 1891906 Opened 1 year ago Closed 1 year ago

Perma [tier 2] startup-* Exception: Something went wrong downloading the apk check to make sure you have entered a date that is valid and that the apk for the date you have requested(2024.04.16) is available and that the URL(https://firefox-ci-tc.services

Categories

(Testing :: mozperftest, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=454782212&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RhnkxMS-TpW1WrxgeyOC3g/runs/0/artifacts/public/logs/live_backing.log


[task 2024-04-17T04:27:40.740Z] Connecting to Android device R58R37N8A7D
[task 2024-04-17T04:27:40.740Z] 2024-04-17 04:27:40,739 INFO Using adb 1.0.41
[task 2024-04-17T04:27:41.006Z] 2024-04-17 04:27:41,006 INFO /system/bin/ls -1A supported
[task 2024-04-17T04:27:44.822Z] 2024-04-17 04:27:44,822 INFO Native cp support: True
[task 2024-04-17T04:27:44.879Z] 2024-04-17 04:27:44,879 INFO Native chmod -R support: True
[task 2024-04-17T04:27:44.935Z] 2024-04-17 04:27:44,935 INFO Native chown -R support: True
[task 2024-04-17T04:27:45.168Z] 2024-04-17 04:27:45,168 INFO Native normal pidof support: True
[task 2024-04-17T04:27:45.348Z] 2024-04-17 04:27:45,347 INFO adbd not restarted as root
[task 2024-04-17T04:27:45.489Z] 2024-04-17 04:27:45,489 INFO su -c setenforce 0 exitcode 0, stdout: None
[task 2024-04-17T04:27:45.590Z] 2024-04-17 04:27:45,590 INFO su -c supported
[task 2024-04-17T04:27:46.042Z] 2024-04-17 04:27:46,042 INFO Setting SELinux Permissive
[task 2024-04-17T04:27:56.131Z] Android device version (ro.build.version.release):  11
[task 2024-04-17T04:27:56.131Z] Android device datetime:  Wed Apr 17 04:27:46 UTC 2024
[task 2024-04-17T04:27:56.131Z] environment = {
[task 2024-04-17T04:27:56.131Z]     "ANDROID_DEVICE": "R58R37N8A7D",
[task 2024-04-17T04:27:56.131Z]     "HOST_IP": "10.7.205.146",
[task 2024-04-17T04:27:56.131Z]     "HOSTNAME": "bitbar-ubuntu-146",
[task 2024-04-17T04:27:56.131Z]     "TESTDROID_RUN_ID": "106405502",
[task 2024-04-17T04:27:56.131Z]     "PERFTEST_OPTIONS": "null",
[task 2024-04-17T04:27:56.131Z]     "PATH": "/builds/task_171332777062541/fetches/python/bin:/builds/worker/.pyenv/shims:/builds/worker/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/builds/worker/bin:/usr/local/bin:/builds/worker/android-sdk-linux/platform-tools:/builds/worker/android-sdk-linux/platform-tools/bin:/builds/worker/android-sdk-linux/tools:/builds/worker/android-sdk-linux/tools/bin:/builds/worker/android-sdk-linux/build-tools/27.0.3:/builds/worker/android-sdk-linux/tools/bin:/builds/worker/android-sdk-linux/platform-tools",
[task 2024-04-17T04:27:56.131Z]     "TC_WORKER_TYPE": "gecko-t-bitbar-gw-perf-a51",
[task 2024-04-17T04:27:56.131Z]     "USER": "root",
[task 2024-04-17T04:27:56.131Z]     "GECKO_PATH": "/builds/task_171332777062541/checkouts/gecko",
[task 2024-04-17T04:27:56.131Z]     "PYTHONPATH": "testing/mozbase/mozdevice:third_party/python/six",
[task 2024-04-17T04:27:56.131Z]     "MOZ_FETCHES_DIR": "/builds/task_171332777062541/fetches",
[task 2024-04-17T04:27:56.131Z]     "DEVICE_NAME": "a51-01",
[task 2024-04-17T04:27:56.131Z]     "HOME": "/builds/worker",
[task 2024-04-17T04:27:56.131Z]     "TC_WORKER_GROUP": "bitbar",
[task 2024-04-17T04:27:56.131Z]     "TESTDROID_PROJECT_ID": "2200320",
[task 2024-04-17T04:27:56.131Z]     "MOZ_SCM_LEVEL": "3",
[task 2024-04-17T04:27:56.131Z]     "TASK_ID": "O9EHpLj1Rry1-SHJ5ghiDA",
[task 2024-04-17T04:27:56.131Z]     "DEVICE_IP": "10.7.205.41",
[task 2024-04-17T04:27:56.131Z]     "DOCKER_IMAGE_VERSION": "",
[task 2024-04-17T04:27:56.131Z]     "MOZ_PYTHON_HOME": "/builds/task_171332777062541/fetches/python",
[task 2024-04-17T04:27:56.131Z]     "HOSTUTILS_MANIFEST_PATH": "testing/config/tooltool-manifests/linux64/hostutils.manifest",
[task 2024-04-17T04:27:56.131Z]     "GECKO_HEAD_REPOSITORY": "https://hg.mozilla.org/mozilla-central",
[task 2024-04-17T04:27:56.131Z]     "MOZ_FETCHES": "[{\"artifact\": \"public/build/geckodriver.tar.gz\", \"extract\": true, \"task\": \"aRWEZzr2SaSU_zOG3_kn0Q\"}, {\"artifact\": \"public/build/node.tar.zst\", \"extract\": true, \"task\": \"Wx75sMh0SceATvlGrsCOhQ\"}, {\"artifact\": \"public/build/python.tar.zst\", \"extract\": true, \"task\": \"Fs1iNivPTdKrnCigzwnhZg\"}]",
[task 2024-04-17T04:27:56.131Z]     "SCCACHE_DISABLE": "1",
[task 2024-04-17T04:27:56.131Z]     "GECKO_BASE_REPOSITORY": "https://hg.mozilla.org/mozilla-unified",
[task 2024-04-17T04:27:56.131Z]     "GECKO_HEAD_REV": "23ea0b523dc64764ee4168ae860a009c43e00244",
[task 2024-04-17T04:27:56.131Z]     "MOZ_AUTOMATION": "1",
[task 2024-04-17T04:27:56.131Z]     "TASKCLUSTER_ROOT_URL": "https://firefox-ci-tc.services.mozilla.com",
[task 2024-04-17T04:27:56.131Z]     "DEVICE_SERIAL": "R58R37N8A7D",
[task 2024-04-17T04:27:56.131Z]     "HG_STORE_PATH": "./checkouts/hg-shared",
[task 2024-04-17T04:27:56.131Z]     "RUN_ID": "0",
[task 2024-04-17T04:27:56.131Z]     "PYTHONIOENCODING": "utf-8",
[task 2024-04-17T04:27:56.131Z]     "TESTDROID_BUILD_ID": "4120780",
[task 2024-04-17T04:27:56.131Z]     "USE_ARTIFACT": "1",
[task 2024-04-17T04:27:56.131Z]     "TASKCLUSTER_PROXY_URL": "http://localhost:8099",
[task 2024-04-17T04:27:56.131Z]     "LC_CTYPE": "C.UTF-8",
[task 2024-04-17T04:27:56.131Z]     "MOZPYTHONHOME": "/builds/task_171332777062541/fetches/python",
[task 2024-04-17T04:27:56.131Z]     "NEED_XVFB": "false",
[task 2024-04-17T04:27:56.131Z]     "DEBUG": "*"
[task 2024-04-17T04:27:56.131Z] }
[task 2024-04-17T04:27:56.131Z] script.py: running command 'bash -cx mkdir -p $MOZ_FETCHES_DIR/../artifacts && cd $GECKO_PATH && python3 python/mozperftest/mozperftest/runner.py --flavor=mobile-browser --AndroidStartUp testing/performance/perftest_android_startup.js --browsertime-cycles=0 --AndroidStartUp-test-name=cold_view_nav_start --perfherder --hooks testing/performance/hooks_android_startup.py --AndroidStartUp-product=focus --AndroidStartUp-release-channel=nightly'
[task 2024-04-17T04:27:56.131Z] + mkdir -p /builds/task_171332777062541/fetches/../artifacts
[task 2024-04-17T04:27:56.131Z] + cd /builds/task_171332777062541/checkouts/gecko
[task 2024-04-17T04:27:56.131Z] + python3 python/mozperftest/mozperftest/runner.py --flavor=mobile-browser --AndroidStartUp testing/performance/perftest_android_startup.js --browsertime-cycles=0 --AndroidStartUp-test-name=cold_view_nav_start --perfherder --hooks testing/performance/hooks_android_startup.py --AndroidStartUp-product=focus --AndroidStartUp-release-channel=nightly
[task 2024-04-17T04:27:56.131Z] Creating local state directory: /builds/worker/.mozbuild/srcdirs/gecko-6fc5226915af
[task 2024-04-17T04:27:56.131Z] Fetching focus_nightly_arm64-v8a.apk...Traceback (most recent call last):
[task 2024-04-17T04:27:56.131Z]   File "python/mozperftest/mozperftest/runner.py", line 299, in <module>
[task 2024-04-17T04:27:56.131Z]     sys.exit(main())
[task 2024-04-17T04:27:56.131Z]   File "python/mozperftest/mozperftest/runner.py", line 295, in main
[task 2024-04-17T04:27:56.131Z]     run_tests(mach_cmd, args, user_args)
[task 2024-04-17T04:27:56.131Z]   File "python/mozperftest/mozperftest/runner.py", line 158, in run_tests
[task 2024-04-17T04:27:56.131Z]     hooks.run("before_iterations", kwargs)
[task 2024-04-17T04:27:56.131Z]   File "/builds/task_171332777062541/checkouts/gecko/python/mozperftest/mozperftest/hooks.py", line 63, in run
[task 2024-04-17T04:27:56.131Z]     return getattr(self._hooks, name)(*args, **kw)
[task 2024-04-17T04:27:56.131Z]   File "/builds/task_171332777062541/checkouts/gecko/testing/performance/hooks_android_startup.py", line 49, in before_iterations
[task 2024-04-17T04:27:56.131Z]     download_apk_as_date(nightly_url, download_date, filename)
[task 2024-04-17T04:27:56.131Z]   File "/builds/task_171332777062541/checkouts/gecko/testing/performance/hooks_android_startup.py", line 65, in download_apk_as_date
[task 2024-04-17T04:27:56.131Z]     raise Exception(
[task 2024-04-17T04:27:56.131Z] Exception: Something went wrong downloading the apk check to make sure you have entered a date that is valid and that the apk for the date you have requested(2024.04.16) is available and that the URL(https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/gecko.v2.mozilla-central.pushdate.2024.04.16.latest.mobile.focus-nightly/artifacts/public%2Fbuild%2Ftarget.arm64-v8a.apk) is also valid
[task 2024-04-17T04:27:56.131Z] script.py: command finished
[task 2024-04-17T04:27:56.131Z] 
[task 2024-04-17T04:27:56.131Z] netstat -aop
[task 2024-04-17T04:27:56.131Z] Active Internet connections (servers and established)
[task 2024-04-17T04:27:56.131Z] Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name     Timer
[task 2024-04-17T04:27:56.131Z] tcp        0      0 localhost:8099          0.0.0.0:*               LISTEN      62/taskcluster-prox  off (0.00/0/0)
[task 2024-04-17T04:27:56.131Z] tcp        0      0 127.0.0.11:45679        0.0.0.0:*               LISTEN      -                    off (0.00/0/0)
[task 2024-04-17T04:27:56.131Z] tcp        0      0 localhost:5037          localhost:40509         TIME_WAIT   -                    timewait (47.48/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:54425         TIME_WAIT   -                    timewait (48.54/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:47783         TIME_WAIT   -                    timewait (48.79/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:48985         TIME_WAIT   -                    timewait (48.27/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:46091         TIME_WAIT   -                    timewait (45.71/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:60147         TIME_WAIT   -                    timewait (51.42/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:52493         TIME_WAIT   -                    timewait (45.24/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:48671         TIME_WAIT   -                    timewait (45.96/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 bitbar-ubuntu-146:43510 182.5.190.35.bc.g:https TIME_WAIT   -                    timewait (54.72/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:41803         TIME_WAIT   -                    timewait (48.92/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:47563         TIME_WAIT   -                    timewait (47.90/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:33489         TIME_WAIT   -                    timewait (48.92/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:60759         TIME_WAIT   -                    timewait (49.15/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:56065         TIME_WAIT   -                    timewait (49.26/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:38589         TIME_WAIT   -                    timewait (49.04/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:52521         TIME_WAIT   -                    timewait (45.24/0/0)
[task 2024-04-17T04:27:56.132Z] tcp        0      0 localhost:5037          localhost:56611         TIME_WAIT   -                    timewait (45.30/0/0)
Flags: needinfo?(kshampur)

possibly a network error earlier?
will cancel ni? for now as it seems it hasn't happened since the 16th.

Flags: needinfo?(kshampur)
Flags: needinfo?(aglavic)

Closing bug as we are updating how we install and pull apks

Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(aglavic)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.