Commit 57064c0d authored by Raphael Defosseux's avatar Raphael Defosseux

CI: Adapting scripts to new Rel15 extension on log files

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent e3e1fa2a
...@@ -179,7 +179,7 @@ echo "############################################################" ...@@ -179,7 +179,7 @@ echo "############################################################"
echo "Checking build status" echo "Checking build status"
echo "############################################################" echo "############################################################"
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
LOG_FILES=`ls $ARCHIVES_LOC/*.txt` LOG_FILES=`ls $ARCHIVES_LOC/*.txt`
......
...@@ -91,7 +91,7 @@ BUILD_ID=XX ...@@ -91,7 +91,7 @@ BUILD_ID=XX
VM_NAME=ci-enb-usrp VM_NAME=ci-enb-usrp
VM_MEMORY=2048 VM_MEMORY=2048
ARCHIVES_LOC=enb_usrp ARCHIVES_LOC=enb_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--eNB -w USRP" BUILD_OPTIONS="--eNB -w USRP"
KEEP_VM_ALIVE=0 KEEP_VM_ALIVE=0
...@@ -128,7 +128,7 @@ case $key in ...@@ -128,7 +128,7 @@ case $key in
-v1) -v1)
VM_NAME=ci-enb-usrp VM_NAME=ci-enb-usrp
ARCHIVES_LOC=enb_usrp ARCHIVES_LOC=enb_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--eNB -w USRP" BUILD_OPTIONS="--eNB -w USRP"
shift shift
...@@ -144,7 +144,7 @@ case $key in ...@@ -144,7 +144,7 @@ case $key in
-v3) -v3)
VM_NAME=ci-phy-sim VM_NAME=ci-phy-sim
ARCHIVES_LOC=phy_sim ARCHIVES_LOC=phy_sim
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=3 NB_PATTERN_FILES=3
BUILD_OPTIONS="--phy_simulators" BUILD_OPTIONS="--phy_simulators"
shift shift
...@@ -161,7 +161,7 @@ case $key in ...@@ -161,7 +161,7 @@ case $key in
-v5) -v5)
VM_NAME=ci-gnb-usrp VM_NAME=ci-gnb-usrp
ARCHIVES_LOC=gnb_usrp ARCHIVES_LOC=gnb_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--gNB -w USRP" BUILD_OPTIONS="--gNB -w USRP"
shift shift
...@@ -169,7 +169,7 @@ case $key in ...@@ -169,7 +169,7 @@ case $key in
-v6) -v6)
VM_NAME=ci-ue-nr-usrp VM_NAME=ci-ue-nr-usrp
ARCHIVES_LOC=nrue_usrp ARCHIVES_LOC=nrue_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--nrUE -w USRP" BUILD_OPTIONS="--nrUE -w USRP"
shift shift
...@@ -177,7 +177,7 @@ case $key in ...@@ -177,7 +177,7 @@ case $key in
-v7) -v7)
VM_NAME=ci-enb-ethernet VM_NAME=ci-enb-ethernet
ARCHIVES_LOC=enb_eth ARCHIVES_LOC=enb_eth
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=6 NB_PATTERN_FILES=6
BUILD_OPTIONS="--eNB -t ETHERNET --noS1" BUILD_OPTIONS="--eNB -t ETHERNET --noS1"
shift shift
...@@ -185,7 +185,7 @@ case $key in ...@@ -185,7 +185,7 @@ case $key in
-v8) -v8)
VM_NAME=ci-ue-ethernet VM_NAME=ci-ue-ethernet
ARCHIVES_LOC=ue_eth ARCHIVES_LOC=ue_eth
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=6 NB_PATTERN_FILES=6
BUILD_OPTIONS="--UE -t ETHERNET --noS1" BUILD_OPTIONS="--UE -t ETHERNET --noS1"
shift shift
...@@ -196,7 +196,7 @@ case $key in ...@@ -196,7 +196,7 @@ case $key in
enb-usrp) enb-usrp)
VM_NAME=ci-enb-usrp VM_NAME=ci-enb-usrp
ARCHIVES_LOC=enb_usrp ARCHIVES_LOC=enb_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--eNB -w USRP" BUILD_OPTIONS="--eNB -w USRP"
;; ;;
...@@ -210,7 +210,7 @@ case $key in ...@@ -210,7 +210,7 @@ case $key in
phy-sim) phy-sim)
VM_NAME=ci-phy-sim VM_NAME=ci-phy-sim
ARCHIVES_LOC=phy_sim ARCHIVES_LOC=phy_sim
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=3 NB_PATTERN_FILES=3
BUILD_OPTIONS="--phy_simulators" BUILD_OPTIONS="--phy_simulators"
;; ;;
...@@ -225,28 +225,28 @@ case $key in ...@@ -225,28 +225,28 @@ case $key in
gnb-usrp) gnb-usrp)
VM_NAME=ci-gnb-usrp VM_NAME=ci-gnb-usrp
ARCHIVES_LOC=gnb_usrp ARCHIVES_LOC=gnb_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--gNB -w USRP" BUILD_OPTIONS="--gNB -w USRP"
;; ;;
nu-ue-usrp) nu-ue-usrp)
VM_NAME=ci-ue-nr-usrp VM_NAME=ci-ue-nr-usrp
ARCHIVES_LOC=nrue_usrp ARCHIVES_LOC=nrue_usrp
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=4 NB_PATTERN_FILES=4
BUILD_OPTIONS="--nrUE -w USRP" BUILD_OPTIONS="--nrUE -w USRP"
;; ;;
enb-ethernet) enb-ethernet)
VM_NAME=ci-enb-ethernet VM_NAME=ci-enb-ethernet
ARCHIVES_LOC=enb_eth ARCHIVES_LOC=enb_eth
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=6 NB_PATTERN_FILES=6
BUILD_OPTIONS="--eNB -t ETHERNET --noS1" BUILD_OPTIONS="--eNB -t ETHERNET --noS1"
;; ;;
ue-ethernet) ue-ethernet)
VM_NAME=ci-ue-ethernet VM_NAME=ci-ue-ethernet
ARCHIVES_LOC=ue_eth ARCHIVES_LOC=ue_eth
LOG_PATTERN=.Rel14.txt LOG_PATTERN=.Rel15.txt
NB_PATTERN_FILES=6 NB_PATTERN_FILES=6
BUILD_OPTIONS="--UE -t ETHERNET --noS1" BUILD_OPTIONS="--UE -t ETHERNET --noS1"
;; ;;
...@@ -396,7 +396,7 @@ do ...@@ -396,7 +396,7 @@ do
if [[ $FULLFILE == *"$LOG_PATTERN"* ]] if [[ $FULLFILE == *"$LOG_PATTERN"* ]]
then then
filename=$(basename -- "$FULLFILE") filename=$(basename -- "$FULLFILE")
if [ "$LOG_PATTERN" == ".Rel14.txt" ] if [ "$LOG_PATTERN" == ".Rel15.txt" ]
then then
PASS_PATTERN=`echo $filename | sed -e "s#$LOG_PATTERN##"` PASS_PATTERN=`echo $filename | sed -e "s#$LOG_PATTERN##"`
fi fi
......
...@@ -110,7 +110,7 @@ MODIFIED_FILES=`git log $TARGET_INIT_COMMIT..$MERGE_COMMMIT --oneline --name-sta ...@@ -110,7 +110,7 @@ MODIFIED_FILES=`git log $TARGET_INIT_COMMIT..$MERGE_COMMMIT --oneline --name-sta
NB_WARNINGS_FILES=0 NB_WARNINGS_FILES=0
# Retrieve list of warnings # Retrieve list of warnings
LIST_WARNING_FILES=`egrep "error:|warning:" archives/*/*.Rel14.txt archives/*/basic_simulator_*txt | egrep -v "jobserver unavailable|Clock skew detected.|flexran.proto" | sed -e "s#^.*/home/ubuntu/tmp/##" -e "s#^.*/tmp/CI-eNB/##" -e "s#common/utils/.*/itti#common/utils/itti#" | awk -F ":" '{print $1}' | sort | uniq` LIST_WARNING_FILES=`egrep "error:|warning:" archives/*/*.Rel15.txt archives/*/basic_simulator_*txt | egrep -v "jobserver unavailable|Clock skew detected.|flexran.proto" | sed -e "s#^.*/home/ubuntu/tmp/##" -e "s#^.*/tmp/CI-eNB/##" -e "s#common/utils/.*/itti#common/utils/itti#" | awk -F ":" '{print $1}' | sort | uniq`
echo "" echo ""
echo "List of files that have been modified by the Merge Request AND" echo "List of files that have been modified by the Merge Request AND"
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment