Loading .gitlab-ci.yml +21 −61 Original line number Diff line number Diff line Loading @@ -1198,79 +1198,39 @@ test-be-to-release: # encoder, constant brate - $zero_errors_enc_const_br=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder\test_encoder_constant_bitrate.py --update_ref 1 --html=report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - $zero_failures_enc_const_br_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder --ignore=.\tests\codec_be_to_accepted_release\encoder\test_encoder_bitrate_switching.py --update_ref 1 --reduction_level reduced --html=report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'errors="0"')){$zero_errors_enc_const_br=1; echo "Errors encountered"} - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'failures="0"')){$zero_failures_enc_const_br_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-enc-const_br.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-enc-const_br.html $BE_LOGS/report-enc-const_br--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural - $zero_errors_dec_head_rot_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural.py --update_ref 1 --html=report-dec-head_rot_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural=1; echo "Errors encountered"} # decoder multi channel only - $zero_errors_dec_mc=0 - $zero_failures_dec_mc_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_dec_const_br_multichannel.py --update_ref 1 --reduction_level reduced --html=report-dec-mc.html --self-contained-html --junit-xml=logs/report-junit-dec-mc.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-mc.xml -Pattern 'errors="0"')){$zero_errors_dec_mc=1; echo "Errors encountered in ref generation"} - IF (!(Select-String logs/report-junit-enc-mc.xml -Pattern 'failures="0"')){$zero_failures_dec_mc_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural.xml) -split 'name="pytest" ')[1] - $tmp=((Get-content logs/report-junit-dec-mc.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural.html $BE_LOGS/report-dec-head_rot_binaural--sha-$CI_COMMIT_SHORT_SHA.html - cp report-dec-mc.html $BE_LOGS/report-dec-mc--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural_room_ir - $zero_errors_dec_head_rot_binaural_room_ir=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural_room_ir.py --update_ref 1 --html=report-dec-head_rot_binaural_room_ir.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural_room_ir.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural_room_ir.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural_room_ir=1; echo "Errors encountered"} # decoder stereo - $zero_errors_dec_stereo=0 - $zero_failures_dec_stereo_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_dec_const_br_stereo.py --update_ref 1 --reduction_level reduced --html=report-dec-stereo.html --self-contained-html --junit-xml=logs/report-junit-dec-stereo.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-stereo.xml -Pattern 'errors="0"')){$zero_errors_dec_stereo=1; echo "Errors encountered"} - IF (!(Select-String logs/report-junit-enc-stereo.xml -Pattern 'failures="0"')){$zero_failures_dec_stereo_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural_room_ir.xml) -split 'name="pytest" ')[1] - $tmp=((Get-content logs/report-junit-dec-stereo.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural_room_ir.html $BE_LOGS/report-dec-head_rot_binaural_room_ir--sha-$CI_COMMIT_SHORT_SHA.html - cp report-dec-stereo.html $BE_LOGS/report-dec-stereo--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural_room_reverb - $zero_errors_dec_head_rot_binaural_room_reverb=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural_room_reverb.py --update_ref 1 --html=report-dec-head_rot_binaural_room_reverb.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural_room_reverb.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural_room_reverb.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural_room_reverb=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural_room_reverb.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural_room_reverb.html $BE_LOGS/report-dec-head_rot_binaural_room_reverb--sha-$CI_COMMIT_SHORT_SHA.html # decoder, no-binaural, constant brate - $zero_errors_dec_const_br_no_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-no_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_no_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-no_binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-const_br-no_binaural.html $BE_LOGS/report-dec-const_br-no_binaural--sha-$CI_COMMIT_SHORT_SHA.html # decoder, binaural, constant brate - $zero_errors_dec_const_br_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-const_br-binaural.html $BE_LOGS/report-dec-const_br-binaural--sha-$CI_COMMIT_SHORT_SHA.html # decoder, non-diegetic - $zero_errors_dec_non_diegetic=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_non_diegetic_pan.py --update_ref 1 --html=report-dec-non_diegetic.html --self-contained-html --junit-xml=logs/report-junit-dec-non_diegetic.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-non_diegetic.xml -Pattern 'errors="0"')){$zero_errors_dec_non_diegetic=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-non_diegetic.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-non_diegetic.html $BE_LOGS/report-dec-non_diegetic--sha-$CI_COMMIT_SHORT_SHA.html # decoder, render_conf - $zero_errors_dec_render_conf=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_render_config.py --update_ref 1 --html=report-dec-render_conf.html --self-contained-html --junit-xml=logs/report-junit-dec-render_conf.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-render_conf.xml -Pattern 'errors="0"')){$zero_errors_dec_render_conf1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-render_conf.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-render_conf.html $BE_LOGS/report-dec-render_conf--sha-$CI_COMMIT_SHORT_SHA.html - IF($zero_errors_dec_head_rot_binaural -ne 0 -or $zero_errors_dec_head_rot_binaural_room_ir -ne 0 -or $zero_errors_dec_head_rot_binaural_room_reverb -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_no_binaural -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_dec_non_diegetic -ne 0 -or $zero_errors_dec_render_conf -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_mc -ne 0 -or $zero_errors_dec_stereo -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_failures_enc_const_br_ref -ne 0 -or $zero_failures_dec_mc_ref -ne 0 -or $zero_failures_dec_stereo_ref -ne 0 ) {echo "Failed tests encountered"; exit $EXIT_CODE_FAIL} artifacts: name: "test-be-to-release--sha-$CI_COMMIT_SHORT_SHA--results" Loading Loading
.gitlab-ci.yml +21 −61 Original line number Diff line number Diff line Loading @@ -1198,79 +1198,39 @@ test-be-to-release: # encoder, constant brate - $zero_errors_enc_const_br=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder\test_encoder_constant_bitrate.py --update_ref 1 --html=report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - $zero_failures_enc_const_br_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder --ignore=.\tests\codec_be_to_accepted_release\encoder\test_encoder_bitrate_switching.py --update_ref 1 --reduction_level reduced --html=report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'errors="0"')){$zero_errors_enc_const_br=1; echo "Errors encountered"} - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'failures="0"')){$zero_failures_enc_const_br_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-enc-const_br.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-enc-const_br.html $BE_LOGS/report-enc-const_br--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural - $zero_errors_dec_head_rot_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural.py --update_ref 1 --html=report-dec-head_rot_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural=1; echo "Errors encountered"} # decoder multi channel only - $zero_errors_dec_mc=0 - $zero_failures_dec_mc_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_dec_const_br_multichannel.py --update_ref 1 --reduction_level reduced --html=report-dec-mc.html --self-contained-html --junit-xml=logs/report-junit-dec-mc.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-mc.xml -Pattern 'errors="0"')){$zero_errors_dec_mc=1; echo "Errors encountered in ref generation"} - IF (!(Select-String logs/report-junit-enc-mc.xml -Pattern 'failures="0"')){$zero_failures_dec_mc_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural.xml) -split 'name="pytest" ')[1] - $tmp=((Get-content logs/report-junit-dec-mc.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural.html $BE_LOGS/report-dec-head_rot_binaural--sha-$CI_COMMIT_SHORT_SHA.html - cp report-dec-mc.html $BE_LOGS/report-dec-mc--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural_room_ir - $zero_errors_dec_head_rot_binaural_room_ir=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural_room_ir.py --update_ref 1 --html=report-dec-head_rot_binaural_room_ir.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural_room_ir.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural_room_ir.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural_room_ir=1; echo "Errors encountered"} # decoder stereo - $zero_errors_dec_stereo=0 - $zero_failures_dec_stereo_ref=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_dec_const_br_stereo.py --update_ref 1 --reduction_level reduced --html=report-dec-stereo.html --self-contained-html --junit-xml=logs/report-junit-dec-stereo.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-stereo.xml -Pattern 'errors="0"')){$zero_errors_dec_stereo=1; echo "Errors encountered"} - IF (!(Select-String logs/report-junit-enc-stereo.xml -Pattern 'failures="0"')){$zero_failures_dec_stereo_ref=1; echo "Failed tests encountered in ref generation"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural_room_ir.xml) -split 'name="pytest" ')[1] - $tmp=((Get-content logs/report-junit-dec-stereo.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural_room_ir.html $BE_LOGS/report-dec-head_rot_binaural_room_ir--sha-$CI_COMMIT_SHORT_SHA.html - cp report-dec-stereo.html $BE_LOGS/report-dec-stereo--sha-$CI_COMMIT_SHORT_SHA.html # decoder, head_rot_binaural_room_reverb - $zero_errors_dec_head_rot_binaural_room_reverb=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_head_rotation_binaural_room_reverb.py --update_ref 1 --html=report-dec-head_rot_binaural_room_reverb.html --self-contained-html --junit-xml=logs/report-junit-dec-head_rot_binaural_room_reverb.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-head_rot_binaural_room_reverb.xml -Pattern 'errors="0"')){$zero_errors_dec_head_rot_binaural_room_reverb=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-head_rot_binaural_room_reverb.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-head_rot_binaural_room_reverb.html $BE_LOGS/report-dec-head_rot_binaural_room_reverb--sha-$CI_COMMIT_SHORT_SHA.html # decoder, no-binaural, constant brate - $zero_errors_dec_const_br_no_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-no_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_no_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-no_binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-const_br-no_binaural.html $BE_LOGS/report-dec-const_br-no_binaural--sha-$CI_COMMIT_SHORT_SHA.html # decoder, binaural, constant brate - $zero_errors_dec_const_br_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-const_br-binaural.html $BE_LOGS/report-dec-const_br-binaural--sha-$CI_COMMIT_SHORT_SHA.html # decoder, non-diegetic - $zero_errors_dec_non_diegetic=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_non_diegetic_pan.py --update_ref 1 --html=report-dec-non_diegetic.html --self-contained-html --junit-xml=logs/report-junit-dec-non_diegetic.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-non_diegetic.xml -Pattern 'errors="0"')){$zero_errors_dec_non_diegetic=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-non_diegetic.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-non_diegetic.html $BE_LOGS/report-dec-non_diegetic--sha-$CI_COMMIT_SHORT_SHA.html # decoder, render_conf - $zero_errors_dec_render_conf=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_render_config.py --update_ref 1 --html=report-dec-render_conf.html --self-contained-html --junit-xml=logs/report-junit-dec-render_conf.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-render_conf.xml -Pattern 'errors="0"')){$zero_errors_dec_render_conf1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-render_conf.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - cp report-dec-render_conf.html $BE_LOGS/report-dec-render_conf--sha-$CI_COMMIT_SHORT_SHA.html - IF($zero_errors_dec_head_rot_binaural -ne 0 -or $zero_errors_dec_head_rot_binaural_room_ir -ne 0 -or $zero_errors_dec_head_rot_binaural_room_reverb -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_no_binaural -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_dec_non_diegetic -ne 0 -or $zero_errors_dec_render_conf -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_mc -ne 0 -or $zero_errors_dec_stereo -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - IF($zero_failures_enc_const_br_ref -ne 0 -or $zero_failures_dec_mc_ref -ne 0 -or $zero_failures_dec_stereo_ref -ne 0 ) {echo "Failed tests encountered"; exit $EXIT_CODE_FAIL} artifacts: name: "test-be-to-release--sha-$CI_COMMIT_SHORT_SHA--results" Loading