Q docker build for LOS officially supported device FAIL
- /e/ version: 0.11
- Device model: lenovo kuntao
- When it started to occur: first attempt
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS:
Summary
Docker Build for LOS supported device fails. Manifest files appears to be not correctly compiled.
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third-party application -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
sudo docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
sudo docker run
-v "/srv/e/src:/srv/src"
-v "/srv/e/zips:/srv/zips"
-v "/srv/e/logs:/srv/logs"
-v "/srv/e/ccache:/srv/ccache"
-e "BRANCH_NAME=v1-q"
-e "DEVICE_LIST=kuntao"
-e "OTA_URL=https://ota.ecloud.global/api"
-e "REPO=https://gitlab.e.foundation/e/os/android.git"
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community What is the current behavior?
What is the expected correct behavior?
Technical informations
Relevant logs (adb logcat
)
e@e-desktop:~$ sudo docker pull registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
[sudo] password for e:
community: Pulling from e/os/docker-lineage-cicd
Digest: sha256:2b02ab92e106840efff24ae7ddc796fee734830772526daf123a41d42bced9e2
Status: Image is up to date for registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
e@e-desktop:~$ sudo docker run -v "/srv/e/src:/srv/src" -v "/srv/e/zips:/srv/zips" -v "/srv/e/logs:/srv/logs" -v "/srv/e/ccache:/srv/ccache" -e "BRANCH_NAME=v1-q" -e "DEVICE_LIST=kuntao" -e "OTA_URL=https://ota.ecloud.global/api" -e "REPO=https://gitlab.e.foundation
/e/os/android.git" registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community Set cache size limit to 50.0 GB
[Fri Sep 11 08:25:27 UTC 2020] Branch: v1-q
[Fri Sep 11 08:25:27 UTC 2020] Devices: kuntao,
[Fri Sep 11 08:25:39 UTC 2020] (Re)initializing branch repository
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 31081 100 31081 0 0 88298 0 --:--:-- --:--:-- --:--:-- 88048
[Fri Sep 11 08:25:45 UTC 2020] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
Traceback (most recent call last):
File "/root/build_manifest.py", line 61, in f.write(xmlstr) TypeError: write() argument must be str, not bytes
[Fri Sep 11 08:25:46 UTC 2020] Syncing branch repository
[Fri Sep 11 08:25:46 UTC 2020] Setting "UNOFFICIAL" as release type
[Fri Sep 11 08:25:46 UTC 2020] Adding OTA URL overlay (for custom URL https://ota.ecloud.global/api)
[Fri Sep 11 08:25:46 UTC 2020] Preparing build environment
[Fri Sep 11 08:25:54 UTC 2020] Starting build for kuntao, v1-q branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G Switch to Python2
[Fri Sep 11 08:29:46 UTC 2020] Failed build for kuntao
[Fri Sep 11 08:29:46 UTC 2020] Finishing build for kuntao
[Fri Sep 11 08:29:46 UTC 2020] Cleaning source dir for device kuntao
Switch back to Python3
Relevant screenshots
Solutions
Workaround
Possible fixes