t@gddlZddlZddlZddlZddlZddlZddlZddlZddl Zda da da da dadadZdZdZdZdZdZdZd Zd Zd Zd ZdS) Nctjtjjdatjt datjtdatjtda tjt da tj dza tjt ddS) Ngitz osmocom-bbzsrc/host/trxconzsrc/host/virt_phyzlibosmo-sigtranT)exist_ok)ospathjointestenvargscachegit_dirbb_dir trxcon_dir virtphy_dirsccp_dirmultiprocessing cpu_countjobsmakedirs`/home/osmocom-build/jenkins/workspace/ttcn3-stp-test-io_uring/_testenv/testenv/podman_install.pyinitrsgll7<-u55G W\\'< 0 0Ff&788J',,v':;;Kw||G%677H  $ & & *DK$''''''rc~|d|dg}|tj}||kr ||d|dgz }|S)Nz-dbgz-dbgsym)rstripstringdigits)depret dep_nodigitss r get_dbg_pkgsr!'s^<< z apt-rdepends)stdoutzutf-8 z  rrgrep-q^$z -> z : installing )rrr r r r cmdrunshlexquote subprocessPIPEr%decodesplit startswithrr! returncodeloggingdebugitems) pkgsr$dbg_pkgspkgrdepslinerdbg_pkgr(rdbgs rapt_get_dbg_pkgsr@2s7<< 2HnMMLH KOOV5;|;T;TVVWWWMM   5joNNL''0066t<< M MDt$$ ++--%%c1--a0C(""+C00G&>64W*VWWD!++(/ ,h&&$(HSM} M KK#KKHSMKKLLL' M* CNN$$S   C5LC Jrc|sdStt|}|t|z }tjdd|t jgd|zdS)NzInstalling packages: z, )zapt-getr)installz-yz--no-install-recommends) listsetr@r6infor r r,r-)r9s r apt_installrF[s  D ??D T " ""D L:4::;;; KOOQQQTXXYYYYYrc tjtrt jddSt jddtddddgdS)Nzosmocom-bb: already clonedr-Cclone--depth1z%https://gerrit.osmocom.org/osmocom-bb) rrexistsrr6r7r r,r-r rrrclone_osmocom_bbrMhsj w~~f 2333 KOO       3      rc tjtrt jddSt jddtddddgdS)Nzlibosmo-sigtran: already clonedrrHrIrJrKz*https://gerrit.osmocom.org/libosmo-sigtran) rrrLrr6r7r r,r-r rrrclone_libosmo_sigtranrOzsj w~~h 7888 KOO       8      rc4tjtd}tj|st t dgtjdtj ddgttj dgttj dd tgttj d d |d gdS) Nz src/trxconlibosmocore-devzBuilding trxcon autoreconf-ficwd ./configuremake-jln-sz/usr/local/bin/trxcon) rrr rrLrMrFr6rEr r,r-r)trxcon_in_srcdirs rfrom_source_trxconr\sw||J == 7>>* + +C&'((( &''' u-:>>> Z888 $y1zBBB KOOT4!13JKLLLLLrc4tjtd}tj|st t dgtjdtj ddgttj dgttj dd tgttj d d |d gdS) Nz src/virtphyrQzBuilding virtphyrRrSrTrVrWrXrYrZz/usr/local/bin/virtphy) rrr rrLrMrFr6rEr r,r-r)virtphy_in_srcdirs rfrom_source_virtphyr_s [-@@ 7>>+ , ,D&'((( '((( u-;??? [999 $y1{CCC KOOT4!24LMNNNNNrctjtd}t ddgtj|s t tjdtj ddgttj dgttj d d td gtjtd tj d d td gtjtdtj dd|dgdS)Nzexamples/sccp_demo_userzlibosmo-netif-devrQzBuilding sccp_demo_userrRrSrTrVrWrXzlibosmo-sigtran.lasrcsccp_demo_userexamplesrYrZz/usr/local/bin/sccp_demo_user) rrr rrFrLrOr6rEr r,r-r)sccp_demo_user_paths rfrom_source_sccp_demo_userresL',,x1JKK    7>>- . .   ./// u-8<<< X666  Td9&: ; Xu--       Td9&6 7 Xz22     KOOT4!46UVWWWWWrc||dddd}|dkrtS|dkrtS|dkrtS|dkrt St jd |d t jd |d |t jd t jdtjddS)Nprogramr'rrtrxconvirtphyzrun_fake_trx.shzrun_sccp_demo_user.shzCan't install z! Fix this by either:z* Adding package= to [z] in z/ (if it can be installed from binary packages)z4* Editing from_source() in testenv/podman_install.py) r3r\r_rMrer6errorsysexit)cfgcfg_namesectionrgs r from_sourcerps'l9%++C33A6G(!###)"$$$###!!!))))+++ MA7AAABBB MC7CCCCDDD MCDDD MHIIIHQKKKKKrcg}|D]P}|dvr||}d|vr,|ddkr ||ddz }?t|||Qt|dS)N)DEFAULT testsuitepackagenor')r3rprF)rmrnpackagesro section_datas rrvrvsH 0 0 . . . 7|  $ $I&$..  Y/55c:: :HH Xw / / / /r)r6rrr.rr0rk testenv.cmdr testenv.podmanr rrrrrrr!r@rFrMrOr\r_rerprvrrrrzs>        ((($&&&R Z Z Z$$ M M M O O OXXX:$r