PIE docker build for LOS officially supported device FAIL
- /e/ version: 0.11
- Device model: lenovo kuntao
- When it started to occur: 30 August 2020
- Reproducible with the last /e/ version: Actually present
- Reproducible with LineageOS:
Summary
<Docker Build for LOS supported device fails. Manifest files appears to be not correctly compiled.
Error reported: 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>
-
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-pie"
-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-pie" -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
[Wed Sep 9 21:52:27 UTC 2020] Branch: v1-pie
[Wed Sep 9 21:52:27 UTC 2020] Devices: kuntao,
[Wed Sep 9 21:52:35 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 87552 0 --:--:-- --:--:-- --:--:-- 87552
[Wed Sep 9 21:52:37 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
[Wed Sep 9 21:52:38 UTC 2020] Syncing branch repository
[Wed Sep 9 21:52:39 UTC 2020] Setting "UNOFFICIAL" as release type
[Wed Sep 9 21:52:39 UTC 2020] Adding OTA URL overlay (for custom URL https://ota.ecloud.global/api)
[Wed Sep 9 21:52:39 UTC 2020] Preparing build environment
[Wed Sep 9 21:52:40 UTC 2020] Starting build for kuntao, v1-pie branch
ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G
Switch to Python2>
Relevant screenshots
Solutions
Workaround
Possible fixes
<Something changed in the period from August 30 2020(last correct log) to September 4 2020(first incorrect log I own. See Attached files.eelo-0.11-20200909-UNOFFICIAL-kuntao.log