gpddlZddlZddlZddlZddlZddlZiadadZdZ idfdZ didej fdZ dS)NctjjrBtjjs0tjtjjddan0tjtjjddatrtjtd}dtj vr%|dtj dz }|dz }tjtd}d tj vr%|dtj d z }|d z }|td<|td <tjj td <tjjtd <tj td <tj ddtd<tjjrtjjtd<ntjjr9tjtjjddtd<n8tjtjjddtd<tjjdkr dtd<n)tjjdkrtjtd<tjjr4tjtjdtd<dSdS)Npodmanusrhostz lib/pkgconfigPKG_CONFIG_PATH:z:/usr/lib/pkgconfiglibLD_LIBRARY_PATHz :/usr/lib CCACHE_DIRTESTENV_CACHE_DIRTESTENV_SRC_DIRTERMdumbTESTENV_GIT_DIRmakeOSMO_DEV_MAKE_DIRdebianTESTENV_QEMU_KERNELcustom scripts/qemuTESTENV_QEMU_SCRIPTS)testenvargsr binary_repoospathjoincacheusr_direnvironget env_extraccachesrc_dirpodman_installgit_dirkernelcustom_kernel_pathdata_dir)pkg_config_pathld_library_paths N/home/osmocom-build/jenkins/workspace/ttcn3-hnbgw-test/_testenv/testenv/cmd.pyinit_envr-sM|B|' Hgll7<#5xGGG',,w|165AA 7',,w@@  * * F2:>>2C#D#DFF FO00',,w66  * * F2:>>2C#D#DFF FO;&'6 #$'6 #$%l1Il%,\%7I!"#*?I  vv66If|^'.'='E #$$ <  ^-/W\\',:LhX^-_-_I) * *-/W\\',:LfV\-]-]I) *|h&&+3 '((   ( (+2+E '(|[,.GLL9I>,Z,Z ()))[[ctj|tjd|jtjd|jt d)z-:param completed: return from run_cmd() belowz Command: z Returncode: zGshell command related error, find details right above this python trace)loggingerrordebugr returncode RuntimeError) completed error_msgs r,exit_error_cmdr7<sZ M) M.in../// M7!577888 ` a aar.Fc&tt}tjt jd}|dtjt jdz }t jjrD|dtjt jjt j jz }tr+|dtjtdz }|r|dz }n%|dtj dz }||d<tj d|d<|D] }||||<|s5tj D](}||vr"tj |||<)|S)Nscriptsrrbinz-:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binPATHHOME) dictr"rrrrr) testsuitettcn3_hacks_dirrrr r!)envrretrvars r, generate_envrCEsh y//C 7<<() 4 4D @ W-~>> @ @@D(^ ]BGLL!2!BGLDZ[[]]]3 2BGLL%00222 - ?? ,BJNN6**,,,CK*..((CKs8C /: / /C#~~:>>#..C Jr.TcD|s.tjjrtjj|g|R||d|St jd|t j|g|Rt|t|t|d|}|j dks|s|St|ddS)N)checkr@z+ )r@shellstdinrzCommand failed unexpectedly) rrrexec_cmdr0r2 subprocessrunrC isinstancestrr3r7)cmdrEr@ no_podmanrGrkwargsps r,rJrJcs S,S~&sR4RR%SRR6RRR M*s**          c""       A |q1344444r.) r0ros.pathrIrtestenv.testsuiter"rr-r7rCDEVNULLrJr.r,rUs   +[+[+[\bbb<R5 8J555555r.