Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
40efa2a5
Commit
40efa2a5
authored
Aug 06, 2025
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove LogCollectBuild step: not used by any pipeline
parent
cc0d0ae0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
96 deletions
+1
-96
ci-scripts/Jenkinsfile-tmp-full-ran
ci-scripts/Jenkinsfile-tmp-full-ran
+0
-18
ci-scripts/Jenkinsfile-tmp-multi-enb
ci-scripts/Jenkinsfile-tmp-multi-enb
+0
-18
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
+0
-18
ci-scripts/Jenkinsfile-tmp-ran
ci-scripts/Jenkinsfile-tmp-ran
+0
-18
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+0
-18
ci-scripts/main.py
ci-scripts/main.py
+1
-6
No files found.
ci-scripts/Jenkinsfile-tmp-full-ran
View file @
40efa2a5
...
@@ -216,24 +216,6 @@ pipeline {
...
@@ -216,24 +216,6 @@ pipeline {
}
}
stage
(
'Log Collection'
)
{
stage
(
'Log Collection'
)
{
parallel
{
parallel
{
stage
(
'Log Collection (eNB - Build)'
)
{
steps
{
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
]
])
{
echo
'\u2705 \u001B[32mLog Collection (eNB - Build)\u001B[0m'
sh
"python3 ci-scripts/main.py --mode=LogCollectBuild --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --eNBSourceCodePath=${params.eNB_SourceCodePath}"
echo
'\u2705 \u001B[32mLog Transfer (eNB - Build)\u001B[0m'
sh
"sshpass -p \'${eNB_Password}\' scp -o 'StrictHostKeyChecking no' -o 'ConnectTimeout 10' ${eNB_Username}@${params.eNB_IPAddress}:${eNB_SourceCodePath}/cmake_targets/build.log.zip ./build.log.${env.BUILD_ID}.zip || true"
}
script
{
if
(
fileExists
(
"build.log.${env.BUILD_ID}.zip"
))
{
archiveArtifacts
"build.log.${env.BUILD_ID}.zip"
}
}
}
}
stage
(
'Log Collection (eNB - Run)'
)
{
stage
(
'Log Collection (eNB - Run)'
)
{
steps
{
steps
{
withCredentials
([
withCredentials
([
...
...
ci-scripts/Jenkinsfile-tmp-multi-enb
View file @
40efa2a5
...
@@ -222,24 +222,6 @@ pipeline {
...
@@ -222,24 +222,6 @@ pipeline {
}
}
stage
(
'Log Collection'
)
{
stage
(
'Log Collection'
)
{
parallel
{
parallel
{
stage
(
'Log Collection (eNB - Build)'
)
{
steps
{
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
]
])
{
echo
'\u2705 \u001B[32mLog Collection (eNB - Build)\u001B[0m'
sh
"python3 ci-scripts/main.py --mode=LogCollectBuild --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --eNBSourceCodePath=${params.eNB_SourceCodePath}"
echo
'\u2705 \u001B[32mLog Transfer (eNB - Build)\u001B[0m'
sh
"sshpass -p \'${eNB_Password}\' scp -o 'StrictHostKeyChecking no' -o 'ConnectTimeout 10' ${eNB_Username}@${params.eNB_IPAddress}:${eNB_SourceCodePath}/cmake_targets/build.log.zip ./build.log.${env.BUILD_ID}.zip || true"
}
script
{
if
(
fileExists
(
"build.log.${env.BUILD_ID}.zip"
))
{
archiveArtifacts
"build.log.${env.BUILD_ID}.zip"
}
}
}
}
stage
(
'Log Collection (eNB - Run)'
)
{
stage
(
'Log Collection (eNB - Run)'
)
{
steps
{
steps
{
withCredentials
([
withCredentials
([
...
...
ci-scripts/Jenkinsfile-tmp-multi-enb-nsa
View file @
40efa2a5
...
@@ -210,24 +210,6 @@ pipeline {
...
@@ -210,24 +210,6 @@ pipeline {
}
}
stage
(
'Log Collection'
)
{
stage
(
'Log Collection'
)
{
parallel
{
parallel
{
stage
(
'Log Collection (eNB - Build)'
)
{
steps
{
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
]
])
{
echo
'\u2705 \u001B[32mLog Collection (eNB - Build)\u001B[0m'
sh
"python3 ci-scripts/main.py --mode=LogCollectBuild --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --eNBSourceCodePath=${params.eNB_SourceCodePath}"
echo
'\u2705 \u001B[32mLog Transfer (eNB - Build)\u001B[0m'
sh
"sshpass -p \'${eNB_Password}\' scp -o 'StrictHostKeyChecking no' -o 'ConnectTimeout 10' ${eNB_Username}@${params.eNB_IPAddress}:${eNB_SourceCodePath}/cmake_targets/build.log.zip ./build.log.${env.BUILD_ID}.zip || true"
}
script
{
if
(
fileExists
(
"build.log.${env.BUILD_ID}.zip"
))
{
archiveArtifacts
"build.log.${env.BUILD_ID}.zip"
}
}
}
}
stage
(
'Log Collection (eNB - Run)'
)
{
stage
(
'Log Collection (eNB - Run)'
)
{
steps
{
steps
{
withCredentials
([
withCredentials
([
...
...
ci-scripts/Jenkinsfile-tmp-ran
View file @
40efa2a5
...
@@ -227,24 +227,6 @@ pipeline {
...
@@ -227,24 +227,6 @@ pipeline {
}
}
stage
(
'Log Collection'
)
{
stage
(
'Log Collection'
)
{
parallel
{
parallel
{
stage
(
'Log Collection (eNB - Build)'
)
{
steps
{
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.eNB_Credentials}"
,
usernameVariable:
'eNB_Username'
,
passwordVariable:
'eNB_Password'
]
])
{
echo
'\u2705 \u001B[32mLog Collection (eNB - Build)\u001B[0m'
sh
"python3 ci-scripts/main.py --mode=LogCollectBuild --eNBIPAddress=${params.eNB_IPAddress} --eNBUserName=${eNB_Username} --eNBPassword=${eNB_Password} --eNBSourceCodePath=${params.eNB_SourceCodePath}"
echo
'\u2705 \u001B[32mLog Transfer (eNB - Build)\u001B[0m'
sh
"sshpass -p \'${eNB_Password}\' scp -o 'StrictHostKeyChecking no' -o 'ConnectTimeout 10' ${eNB_Username}@${params.eNB_IPAddress}:${eNB_SourceCodePath}/cmake_targets/build.log.zip ./build.log.${env.BUILD_ID}.zip || true"
}
script
{
if
(
fileExists
(
"build.log.${env.BUILD_ID}.zip"
))
{
archiveArtifacts
"build.log.${env.BUILD_ID}.zip"
}
}
}
}
stage
(
'Log Collection (eNB - Run)'
)
{
stage
(
'Log Collection (eNB - Run)'
)
{
steps
{
steps
{
withCredentials
([
withCredentials
([
...
...
ci-scripts/cls_oaicitest.py
View file @
40efa2a5
...
@@ -845,21 +845,3 @@ class OaiCiTest():
...
@@ -845,21 +845,3 @@ class OaiCiTest():
message
=
"Log files:
\n
"
+
"
\n
"
.
join
([
os
.
path
.
basename
(
l
)
for
l
in
logs
])
message
=
"Log files:
\n
"
+
"
\n
"
.
join
([
os
.
path
.
basename
(
l
)
for
l
in
logs
])
HTML
.
CreateHtmlTestRowQueue
(
core_name
,
'OK'
,
[
message
])
HTML
.
CreateHtmlTestRowQueue
(
core_name
,
'OK'
,
[
message
])
return
True
return
True
def
LogCollectBuild
(
self
,
RAN
):
# Some pipelines are using "none" IP / Credentials
# In that case, just forget about it
if
RAN
.
eNBIPAddress
==
'none'
:
sys
.
exit
(
0
)
if
(
RAN
.
eNBIPAddress
!=
''
and
RAN
.
eNBUserName
!=
''
and
RAN
.
eNBPassword
!=
''
):
IPAddress
=
RAN
.
eNBIPAddress
UserName
=
RAN
.
eNBUserName
Password
=
RAN
.
eNBPassword
SourceCodePath
=
RAN
.
eNBSourceCodePath
else
:
sys
.
exit
(
'Insufficient Parameter'
)
with
cls_cmd
.
getConnection
(
IPAddress
)
as
cmd
:
d
=
f'
{
SourceCodePath
}
/cmake_targets'
cmd
.
run
(
f'rm -f
{
d
}
/build.log.zip'
)
cmd
.
run
(
f'cd
{
d
}
&& zip -r build.log.zip build_log_*/*'
)
ci-scripts/main.py
View file @
40efa2a5
...
@@ -477,12 +477,7 @@ elif re.match('^TerminateMME$', mode, re.IGNORECASE):
...
@@ -477,12 +477,7 @@ elif re.match('^TerminateMME$', mode, re.IGNORECASE):
elif
re
.
match
(
'^TerminateSPGW$'
,
mode
,
re
.
IGNORECASE
):
elif
re
.
match
(
'^TerminateSPGW$'
,
mode
,
re
.
IGNORECASE
):
logging
.
warning
(
"Option TerminateSPGW ignored"
)
logging
.
warning
(
"Option TerminateSPGW ignored"
)
elif
re
.
match
(
'^LogCollectBuild$'
,
mode
,
re
.
IGNORECASE
):
elif
re
.
match
(
'^LogCollectBuild$'
,
mode
,
re
.
IGNORECASE
):
if
RAN
.
eNBIPAddress
==
''
or
RAN
.
eNBUserName
==
''
or
RAN
.
eNBPassword
==
''
or
RAN
.
eNBSourceCodePath
==
''
:
logging
.
warning
(
"Option LogCollectBuild ignored"
)
logging
.
warning
(
"nothing to collect (eNBIPAddress/eNBUserName/eNBPassword/eNBSourceCodePath is '')"
)
sys
.
exit
(
0
)
if
RAN
.
eNBIPAddress
==
'none'
:
sys
.
exit
(
0
)
CiTestObj
.
LogCollectBuild
(
RAN
)
elif
re
.
match
(
'^LogCollecteNB$'
,
mode
,
re
.
IGNORECASE
):
elif
re
.
match
(
'^LogCollecteNB$'
,
mode
,
re
.
IGNORECASE
):
if
RAN
.
eNBIPAddress
==
''
or
RAN
.
eNBUserName
==
''
or
RAN
.
eNBPassword
==
''
or
RAN
.
eNBSourceCodePath
==
''
:
if
RAN
.
eNBIPAddress
==
''
or
RAN
.
eNBUserName
==
''
or
RAN
.
eNBPassword
==
''
or
RAN
.
eNBSourceCodePath
==
''
:
HELP
.
GenericHelp
(
CONST
.
Version
)
HELP
.
GenericHelp
(
CONST
.
Version
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment