lineageos4microg / docker-lineage-cicd

Docker microservice for LineageOS Continuous Integration and Continous Deployment
https://hub.docker.com/r/lineageos4microg/docker-lineage-cicd
GNU General Public License v3.0
490 stars 193 forks source link

July 2024 build run status #648

Closed petefoth closed 2 months ago

petefoth commented 3 months ago

Full run

Note we are now down to 14GB free space on the download server /dev/vdb1 590G 546G 14G 98% /mnt/archive


21.0 devices (145): a52q,a52sxq,a72q,a73xq,akari,akatsuki,akita,alioth,aura,aurora,axolotl,barbet,beckham,berlin,berlna,beryllium,bluejay,blueline,bonito,bramble,beyond0lte,beyond1lte,beyond2lte,beyondx,caprip,channel,cheeseburger,cheetah,cheryl,chiron,coral,crosshatch,d1,d2s,d2x,davinci,deadpool,devon,dipper,discovery,dopinder,dre,DRG,dubai,dumpling,earth,enchilada,equuleus,evert,f62,fajita,felix,flame,FP4,FP5,gemini,gta4xl,gta4xlwifi,gts4lv,gts4lvwifi,guacamole,guacamoleb,guamp,hawao,haydn,hotdog,hotdogb,husky,ingot,instantnoodle,instantnoodlep,kane,kebab,kirin,lake,lemonade,lemonadep,lemonades,lisa,lmi,lynx,m5,m5_tab,m52xq,marlin,mars,martini,mata,mermaid,messi,Mi439,Mi8917,Mi8937,miatoll,nash,natrium,nio,nx,nx_tab,ocean,odroidc4,odroidc4_tab,oriole,panther,payton,pdx203,pdx206,pdx214,pdx215,pdx234,perseus,pioneer,PL2,polaris,pro1,pro1x,pstar,r8q,radxa0,radxa0_tab,raven,redfin,renoir,rhode,river,rtwo,sabrina,sagit,sailfish,sargo,shiba,sunfish,surya,sweet,taimen,tangorpro,TP1803,troika,umi,ursa,voyager,wade,walleye,xpeng,xz2c

20.0 devices: (37-ish) alphaplus,apollon,bardock,bardockpro,betalm,crownlte,foster,foster_tab,G,gauguin,kiev,lancelot,liber,merlinx,mh2lm,nairo,nx659j,onclite,parker,porg,porg_tab,quill,quill_tab,racer,sake,sif,star2lte,starlte,tissot,vayu,violet,X00TD,xmsirius,z2_plus,zangya,zangyapro

petefoth commented 3 months ago
Error log ``` [ 99% 195067/195376] Extracting apexes... (priority: 5) FAILED: out/target/product/cheetah/obj/PACKAGING/check_vintf_all_intermediates/apex/apex-info-list.xml /bin/bash -c "(echo out/target/product/cheetah/vendor/apex/com.android.hardware.cas.apex out/target/product/cheetah/vendor/apex/com.google.android.hardware.biometrics.face.pixel22.apex out/target/product/cheetah/vendor/apex/com.google.android.widevine-wv_341113000.apex out/target/product/cheetah/vendor/apex/com.google.pixel.camera.hal.apex out/target/product/cheetah/vendor/apex/com.google.pixel.euicc.update.apex out/target/product/cheetah/vendor/apex/com.google.pixel.wifi.ext.apex > /dev/null ) && (rm -rf out/target/product/cheetah/obj/PACKAGING/check_vintf_all_intermediates/apex ) && (mkdir -p out/target/product/cheetah/obj/PACKAGING/check_vintf_all_intermediates/apex ) && (out/host/linux-x86/bin/apexd_host --vendor_path out/target/product/cheetah/vendor --apex_path out/target/product/cheetah/obj/PACKAGING/check_vintf_all_intermediates/apex )" Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/srv/tmp/merged/out/host/linux-x86/bin/apexd_host/__main__.py", line 12, in File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "apexd_host.py", line 204, in File "apexd_host.py", line 200, in main File "apexd_host.py", line 162, in ActivateApexes File "apexd_host.py", line 149, in ScanApexes File "apexd_host.py", line 86, in __init__ File "apex_manifest.py", line 51, in fromApex File "internal/python3.11/zipfile.py", line 1302, in __init__ File "internal/python3.11/zipfile.py", line 1369, in _RealGetContents zipfile.BadZipFile: File is not a zip file ```
petefoth commented 2 months ago
olokelo commented 2 months ago

Oneplus 7T (hotdogb) works flawlessly with the new update. Thankfully I haven't noticed any problems with WiFi or broadband like in Oneplus 6 (enchilada).

Thanks for maintaining the project. By the way, how can I donate financially? Link on your site redirects to microg's liberapay (which I already donated to).

petefoth commented 2 months ago

By the way, how can I donate financially?

Thanks for the thought, but I do this for fun, in my spare time when Iโ€™m not playing golf. I donโ€™t want or need payment :slight_smile: If you really want to express your appreciation with money, then please donate something to a charity local to you

petefoth commented 2 months ago

nio failed. . With luck it's transient. Retry

[100% 1565/1565] writing legacy Make module rules ...
FAILED:
build/make/core/Makefile:161: error: overriding commands for target `out/target/product/nio/vendor/lib/libqti-perfd-client.so', previously defined at out/soong/installs-lineage_nio.mk:372369
01:33:56 ckati failed with: exit status 1
Komprogue commented 2 months ago

EDIT: Unnnecessary quote lines removed

21.0 devices (145): a52q,a52sxq,a72q,a73xq,akari,akatsuki,akita,alioth,aura,aurora,axolotl,barbet,beckham,berlin,berlna,beryllium,bluejay,blueline,bonito,bramble,beyond0lte,beyond1lte,beyond2lte,beyondx,caprip,channel,cheeseburger,cheetah,cheryl,chiron,coral,crosshatch,d1,d2s,d2x,davinci,deadpool,devon,dipper,discovery,dopinder,dre,DRG,dubai,dumpling,earth,enchilada,equuleus,evert,f62,fajita,felix,flame,FP4,FP5,gemini,gta4xl,gta4xlwifi,gts4lv,gts4lvwifi,guacamole,guacamoleb,guamp,hawao,haydn,hotdog,hotdogb,husky,ingot,instantnoodle,instantnoodlep,kane,kebab,kirin,lake,lemonade,lemonadep,lemonades,lisa,lmi,lynx,m5,m5_tab,m52xq,marlin,mars,martini,mata,mermaid,messi,Mi439,Mi8917,Mi8937,miatoll,nash,natrium,nio,nx,nx_tab,ocean,odroidc4,odroidc4_tab,oriole,panther,payton,pdx203,pdx206,pdx214,pdx215,pdx234,perseus,pioneer,PL2,polaris,pro1,pro1x,pstar,r8q,radxa0,radxa0_tab,raven,redfin,renoir,rhode,river,rtwo,sabrina,sagit,sailfish,sargo,shiba,sunfish,surya,sweet,taimen,tangorpro,TP1803,troika,umi,ursa,voyager,wade,walleye,xpeng,xz2c

walleye build folder has only the old one from February, is it failed or what is wrong with it?

petefoth commented 2 months ago

walleye build folder has only the old one from February, is it failed or what is wrong with it?

Good spot - thanks!

walleye was not in the target list for April, May, or June and the March build failed because of the QPR2 changes. The July build was made OK, but was not copied over to the upload server. I don't know why, but I have copied the files across manually.

I'll try to remember to check on this in the August build run, but I may forget, so please feel free to remind me or let me know if the problem recurs

petefoth commented 2 months ago

The July build was made OK, but was not copied over to the upload server. I don't know why,

The walleye log file shows it was an rsync error - maybe caused by lack of disk space, may be by transient comms error - broken pipe

rsync: [receiver] write failed on "/mnt/archive/zips/walleye/lineage-21.0-20240718-microG-walleye-boot.img": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(380) [receiver=3.2.7]
rsync: [sender] write error: Broken pipe (32)

We don't currently check for this in post-build.sh and flag it up to Matrix

petefoth commented 2 months ago

Mon 22 Jul 24

Machion commented 2 months ago

I only want to mention, if I understand correct, the builds get build in alphabetic order, right? So for my nio I have to wait half of the whole build run to get a new build (thats around the 10th of a month). This month the build failed and second try would be at the end of the whole run (that would be around 20th of a month).

I can't come up with a better/more fair way of ordering the build priority, but just want to say, that it is a little frustrating, when waiting for a new, maybe urgent build.

petefoth commented 2 months ago

I can't come up with a better/more fair way of ordering the build priority, but just want to say, that it is a little frustrating, when waiting for a new, maybe urgent build.

Try looking at it this way:

Machion commented 2 months ago

Yes of course ๐Ÿ˜„ ๐Ÿ‘ When the nio build had the problem of random reboots (it was a LOS problem), that was urgent ๐Ÿ˜ฎโ€๐Ÿ’จ but you tried to make in-between builds as I remember correctly ๐Ÿ‘ Unfortunatelly with nio since the beginning I had more problems, then I ever had with my former MotoX4/payton. Otherwise it's a good phone.

petefoth commented 2 months ago

@Machion Your nio build should be available now :)

petefoth commented 2 months ago
  • enchilada build: mobile data and wifi not working - see Oneplus 6 latest build broken #651: working on upstream LOS. Build removed to not_working directory. Maybe retry when build run is finished

New builds for fajita and enchilada are now available: see https://github.com/lineageos4microg/docker-lineage-cicd/issues/651#issuecomment-2248623774

petefoth commented 2 months ago

I failed to retry the 21.0 build for pdx234: I'll do that now

Looking at the log for the original failed build, it failed due to OOM when building Setup Wizard app?!!! (see details below). If the retry fails we'll have to look at either adding some swap, or trying some of the other suggestions in the error message

Error details ``` [ 33% 64639/194494] //packages/apps/SetupWizard:LineageSetupWizard r8 [common] (priority: 60011) FAILED: ... OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000700000000, 1056964608, 0) failed; error='Not enough space' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 1056964608 bytes for committing reserved memory. # An error report file with more information is saved as: # /srv/tmp/merged/hs_err_pid27343.log # # -XX:OnError="cat hs_err_pid%p.log" # Executing /bin/sh -c "cat hs_err_pid27343.log" ... # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 1056964608 bytes for committing reserved memory. # Possible reasons: # The system is out of physical RAM or swap space # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap # Possible solutions: # Reduce memory load on the system # Increase physical memory or swap space # Check if swap backing store is full # Decrease Java heap size (-Xmx/-Xms) # Decrease number of Java threads # Decrease Java thread stack sizes (-Xss) # Set larger code cache with -XX:ReservedCodeCacheSize= # JVM is running with Zero Based Compressed Oops mode in which the Java heap is # placed in the first 32GB address space. The Java Heap base address is the # maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress # to set the Java Heap base and to place the Java Heap above 32GB virtual address. # This output file may be truncated or incomplete. # # Out of Memory Error (os_linux.cpp:2784), pid=27343, tid=27344 # # JRE version: (17.0.4.1) (build ) # Java VM: OpenJDK 64-Bit Server VM (17.0.4.1+0-11116395, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Core dump will be written. Default location: /srv/tmp/merged/core # ```
petefoth commented 2 months ago

The retried pdx234 build succeeded, and is now available at https://download.lineage.microg.org/pdx234/

I'll close this issue again :)