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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
canghaiwuhen
OpenXG-RAN
Commits
76c0c6be
Commit
76c0c6be
authored
Sep 18, 2020
by
hardy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/2020-09-ci-updates' into integration_2020_wk38
parents
d25722b2
f9ca09fb
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
49 additions
and
100 deletions
+49
-100
NOTICE.md
NOTICE.md
+4
-0
ci-scripts/Jenkinsfile-gitlab
ci-scripts/Jenkinsfile-gitlab
+1
-39
ci-scripts/checkCodingFormattingRules.sh
ci-scripts/checkCodingFormattingRules.sh
+3
-3
ci-scripts/runTestOnVM.sh
ci-scripts/runTestOnVM.sh
+8
-25
common/utils/T/defs.h
common/utils/T/defs.h
+3
-3
common/utils/T/tracer/defs.h
common/utils/T/tracer/defs.h
+3
-3
executables/stats.h
executables/stats.h
+3
-3
executables/threads_t.h
executables/threads_t.h
+3
-3
openair2/LAYER2/nr_rlc/tests/LOG/log.h
openair2/LAYER2/nr_rlc/tests/LOG/log.h
+3
-3
openair2/LAYER2/rlc_v2/tests/LOG/log.h
openair2/LAYER2/rlc_v2/tests/LOG/log.h
+3
-3
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniLogMgrEntity.h
...1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniLogMgrEntity.h
+3
-3
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniTmrMgrEntity.h
...1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniTmrMgrEntity.h
+3
-3
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniUdpEntity.h
...TPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniUdpEntity.h
+3
-3
targets/COMMON/threads_t.h
targets/COMMON/threads_t.h
+3
-3
targets/RT/USER/stats.h
targets/RT/USER/stats.h
+3
-3
No files found.
NOTICE.md
View file @
76c0c6be
...
...
@@ -21,3 +21,7 @@ The Regents of the University of California: BSD 3-Clause Licence.
Niels Provos
<provos@citi.umich.edu>
: BSD 2-Clause Licence.
## Credits for source code openair3/GTPV1-U/nw-gtpv1u: ##
Amit Chawre
<http://www.amitchawre.net/contact.html>
: BSD 2-Clause Licence.
ci-scripts/Jenkinsfile-gitlab
View file @
76c0c6be
...
...
@@ -30,7 +30,6 @@ def sendSocialMediaMessage(pipeChannel, pipeColor, pipeMessage) {
}
}
def
doRedHatBuild
=
false
def
doFlexranCtrlTest
=
false
// Location of the executor node
...
...
@@ -85,21 +84,6 @@ pipeline {
echo
"Platform is ${env.TESTPLATFORM_OWNER}"
}
if
(
params
.
RedHatRemoteServer
==
null
)
{
allParametersPresent
=
false
}
if
(
params
.
RedHatRemoteCredentials
==
null
)
{
allParametersPresent
=
false
}
if
(
params
.
RedHatWorkingPath
==
null
)
{
allParametersPresent
=
false
}
if
(
allParametersPresent
)
{
echo
"Performing Red Hat Build"
doRedHatBuild
=
true
}
else
{
doRedHatBuild
=
false
}
if
(
params
.
FlexRanRtcGitLabRepository_Credentials
!=
null
)
{
doFlexranCtrlTest
=
true
}
...
...
@@ -279,7 +263,7 @@ pipeline {
steps
{
gitlabCommitStatus
(
name:
"Build eNB-USRP"
)
{
timeout
(
time:
20
,
unit:
'MINUTES'
)
{
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant enb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}
--keep-vm-alive
"
sh
"./ci-scripts/oai-ci-vm-tool wait --workspace $WORKSPACE --variant enb-usrp --job-name ${JOB_NAME} --build-id ${BUILD_ID}"
}
}
}
...
...
@@ -311,28 +295,6 @@ pipeline {
}
}
}
stage
(
"Build eNB-USRP on Red Hat"
)
{
when
{
expression
{
doRedHatBuild
}
}
steps
{
gitlabCommitStatus
(
name:
"Build eNB-USRP-RHE"
)
{
script
{
try
{
withCredentials
([
[
$class
:
'UsernamePasswordMultiBinding'
,
credentialsId:
"${params.RedHatRemoteCredentials}"
,
usernameVariable:
'RH_Username'
,
passwordVariable:
'RH_Password'
]
])
{
timeout
(
time:
20
,
unit:
'MINUTES'
)
{
sh
"./ci-scripts/buildOnRH.sh --workspace $WORKSPACE --job-name ${JOB_NAME} --build-id ${BUILD_ID} --remote-host ${params.RedHatRemoteServer} --remote-path ${params.RedHatWorkingPath} --remote-user-name ${RH_Username} --remote-password ${RH_Password}"
}
}
}
catch
(
Exception
e
)
{
echo
"Red Hat build failed but we could keep running pipeline if all ubuntu-based build passed"
}
}
}
}
}
}
post
{
failure
{
...
...
ci-scripts/checkCodingFormattingRules.sh
View file @
76c0c6be
...
...
@@ -77,7 +77,7 @@ then
IS_NFAPI
=
`
echo
$FILE
| egrep
-c
"nfapi/open-nFAPI|nfapi/oai_integration/vendor_ext"
`
IS_OAI_LICENCE_PRESENT
=
`
egrep
-c
"OAI Public License"
$FILE
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence"
$FILE
`
IS_EXCEPTION
=
`
echo
$FILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h"
`
IS_EXCEPTION
=
`
echo
$FILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h
|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_
"
`
if
[
$IS_OAI_LICENCE_PRESENT
-eq
0
]
&&
[
$IS_BSD_LICENCE_PRESENT
-eq
0
]
then
if
[
$IS_NFAPI
-eq
0
]
&&
[
$IS_EXCEPTION
-eq
0
]
...
...
@@ -194,12 +194,12 @@ do
IS_NFAPI
=
`
echo
$FULLFILE
| egrep
-c
"nfapi/open-nFAPI|nfapi/oai_integration/vendor_ext"
`
IS_OAI_LICENCE_PRESENT
=
`
egrep
-c
"OAI Public License"
$FULLFILE
`
IS_BSD_LICENCE_PRESENT
=
`
egrep
-c
"the terms of the BSD Licence"
$FULLFILE
`
IS_EXCEPTION
=
`
echo
$F
ILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h
"
`
IS_EXCEPTION
=
`
echo
$F
ULLFILE
| egrep
-c
"common/utils/collection/tree.h|common/utils/collection/queue.h|common/utils/itti_analyzer/common/queue.h|openair3/UTILS/tree.h|openair3/UTILS/queue.h|openair3/GTPV1-U/nw-gtpv1u|openair2/UTIL/OPT/ws_
"
`
if
[
$IS_OAI_LICENCE_PRESENT
-eq
0
]
&&
[
$IS_BSD_LICENCE_PRESENT
-eq
0
]
then
if
[
$IS_NFAPI
-eq
0
]
&&
[
$IS_EXCEPTION
-eq
0
]
then
echo
$FILE
>>
./files-w-suspect-banner.txt
echo
$F
ULLF
ILE
>>
./files-w-suspect-banner.txt
fi
fi
fi
...
...
ci-scripts/runTestOnVM.sh
View file @
76c0c6be
...
...
@@ -2027,30 +2027,6 @@ function run_test_on_vm {
done
full_l2_sim_destroy
echo
"############################################################"
echo
"Checking run status"
echo
"############################################################"
if
[
$PING_STATUS
-ne
0
]
;
then
STATUS
=
-1
;
fi
if
[
$IPERF_STATUS
-ne
0
]
;
then
STATUS
=
-1
;
fi
if
[
$MBMS_STATUS
-eq
0
]
then
echo
"LTE MBMS RFSIM seems OK"
else
echo
"LTE MBMS RFSIM seems to FAIL"
STATUS
=
-1
fi
if
[
$STATUS
-eq
0
]
then
echo
"LTE RFSIM seems OK"
echo
"LTE: TEST_OK"
>
$ARCHIVES_LOC
/test_final_status.log
else
echo
"LTE RFSIM seems to FAIL"
echo
"LTE: TEST_KO"
>
$ARCHIVES_LOC
/test_final_status.log
fi
####################
## FeMBMS CASE noS1 ##
####################
...
...
@@ -2123,6 +2099,13 @@ function run_test_on_vm {
if
[
$PING_STATUS
-ne
0
]
;
then
STATUS
=
-1
;
fi
if
[
$IPERF_STATUS
-ne
0
]
;
then
STATUS
=
-1
;
fi
if
[
$MBMS_STATUS
-eq
0
]
then
echo
"LTE MBMS RFSIM seems OK"
else
echo
"LTE MBMS RFSIM seems to FAIL"
STATUS
=
-1
fi
if
[
$FeMBMS_STATUS
-eq
0
]
then
echo
"LTE FeMBMS RFSIM seems OK"
...
...
@@ -2153,7 +2136,7 @@ function run_test_on_vm {
NR_STATUS
=
0
######### start of loop
while
[
$try_cnt
-lt
1
]
while
[
$try_cnt
-lt
4
]
do
SYNC_STATUS
=
0
PING_STATUS
=
0
...
...
common/utils/T/defs.h
View file @
76c0c6be
#ifndef _
TRACER
_DEFS_H_
#define _
TRACER
_DEFS_H_
#ifndef _
COMMON_UTILS_T
_DEFS_H_
#define _
COMMON_UTILS_T
_DEFS_H_
/* types of plots */
#define PLOT_VS_TIME 0
...
...
@@ -27,4 +27,4 @@ void *forwarder(char *ip, int port);
void
forward
(
void
*
forwarder
,
char
*
buf
,
int
size
);
void
forward_start_client
(
void
*
forwarder
,
int
socket
);
#endif
/* _
TRACER
_DEFS_H_ */
#endif
/* _
COMMON_UTILS_T
_DEFS_H_ */
common/utils/T/tracer/defs.h
View file @
76c0c6be
#ifndef _TRACER_DEFS_H_
#define _TRACER_DEFS_H_
#ifndef _
COMMON_UTILS_T_
TRACER_DEFS_H_
#define _
COMMON_UTILS_T_
TRACER_DEFS_H_
/* types of plots */
#define PLOT_VS_TIME 0
...
...
@@ -21,4 +21,4 @@ void t_gui_start(void);
void
t_gui_set_input_signal
(
int
eNB
,
int
frame
,
int
subframe
,
int
antenna
,
int
size
,
void
*
buf
);
#endif
/* _TRACER_DEFS_H_ */
#endif
/* _
COMMON_UTILS_T_
TRACER_DEFS_H_ */
executables/stats.h
View file @
76c0c6be
...
...
@@ -21,8 +21,8 @@
/* Header file generated by fdesign on Thu Aug 28 12:13:51 2014 */
#ifndef
FD_stats_form_h
_
#define
FD_stats_form_h
_
#ifndef
_EXECUTABLES_STATS_H
_
#define
_EXECUTABLES_STATS_H
_
#include <forms.h>
...
...
@@ -43,4 +43,4 @@ typedef struct {
extern
FD_stats_form
*
create_form_stats_form
(
void
);
#endif
/*
FD_stats_form_h
_ */
#endif
/*
_EXECUTABLES_STATS_H
_ */
executables/threads_t.h
View file @
76c0c6be
#ifndef _THREADS_T_H_
#define _THREADS_T_H_
#ifndef _
EXECUTABLES_
THREADS_T_H_
#define _
EXECUTABLES_
THREADS_T_H_
typedef
struct
threads_s
{
int
main
;
...
...
@@ -18,4 +18,4 @@ typedef struct threads_s {
//int dlsch_td1_three;
}
threads_t
;
#endif
/* _THREADS_T_H_ */
#endif
/* _
EXECUTABLES_
THREADS_T_H_ */
openair2/LAYER2/nr_rlc/tests/LOG/log.h
View file @
76c0c6be
#ifndef _LOG_H_
#define _LOG_H_
#ifndef _
NR_RLC_TESTS_
LOG_H_
#define _
NR_RLC_TESTS_
LOG_H_
#include <stdio.h>
...
...
@@ -7,4 +7,4 @@
#define LOG_D(x, ...) printf(__VA_ARGS__)
#define LOG_W(x, ...) printf(__VA_ARGS__)
#endif
/* _LOG_H_ */
#endif
/* _
NR_RLC_TESTS_
LOG_H_ */
openair2/LAYER2/rlc_v2/tests/LOG/log.h
View file @
76c0c6be
#ifndef _LOG_H_
#define _LOG_H_
#ifndef _
RLC_V2_TESTS_
LOG_H_
#define _
RLC_V2_TESTS_
LOG_H_
#include <stdio.h>
...
...
@@ -7,4 +7,4 @@
#define LOG_D(x, ...) printf(__VA_ARGS__)
#define LOG_W(x, ...) printf(__VA_ARGS__)
#endif
/* _LOG_H_ */
#endif
/* _
RLC_V2_TESTS_
LOG_H_ */
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniLogMgrEntity.h
View file @
76c0c6be
...
...
@@ -16,13 +16,13 @@
#include "NwEvt.h"
#include "NwLog.h"
#ifndef __NW_MINI_LOG_MGR_H__
#define __NW_MINI_LOG_MGR_H__
#ifndef NW_ASSERT
#define NW_ASSERT assert
#endif
#ifndef __NW_MINI_LOG_MGR_H__
#define __NW_MINI_LOG_MGR_H__
extern
uint32_t
g_log_level
;
...
...
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniTmrMgrEntity.h
View file @
76c0c6be
...
...
@@ -17,13 +17,13 @@
#include "NwEvt.h"
#include "NwLog.h"
#ifndef __NW_MINI_TMR_MGR_H__
#define __NW_MINI_TMR_MGR_H__
#ifndef NW_ASSERT
#define NW_ASSERT assert
#endif
#ifndef __NW_MINI_TMR_MGR_H__
#define __NW_MINI_TMR_MGR_H__
typedef
struct
{
NwEventT
ev
;
void
*
timeoutArg
;
...
...
openair3/GTPV1-U/nw-gtpv1u/test-app/nw-helloworld/NwMiniUdpEntity.h
View file @
76c0c6be
...
...
@@ -17,13 +17,13 @@
#include "NwEvt.h"
#include "NwLog.h"
#ifndef __NW_MINI_UDP_ENTITY_H__
#define __NW_MINI_UDP_ENTITY_H__
#ifndef NW_ASSERT
#define NW_ASSERT assert
#endif
#ifndef __NW_MINI_UDP_ENTITY_H__
#define __NW_MINI_UDP_ENTITY_H__
typedef
struct
{
uint32_t
hSocket
;
NwEventT
ev
;
...
...
targets/COMMON/threads_t.h
View file @
76c0c6be
#ifndef _THREADS_T_H_
#define _THREADS_T_H_
#ifndef _T
ARGETS_COMMON_T
HREADS_T_H_
#define _T
ARGETS_COMMON_T
HREADS_T_H_
typedef
struct
threads_s
{
int
main
;
...
...
@@ -18,4 +18,4 @@ typedef struct threads_s {
//int dlsch_td1_three;
}
threads_t
;
#endif
/* _THREADS_T_H_ */
#endif
/* _T
ARGETS_COMMON_T
HREADS_T_H_ */
targets/RT/USER/stats.h
View file @
76c0c6be
...
...
@@ -21,8 +21,8 @@
/* Header file generated by fdesign on Thu Aug 28 12:13:51 2014 */
#ifndef
FD_stats_form_h
_
#define
FD_stats_form_h
_
#ifndef
_TARGETS_RT_USER_STATS_H
_
#define
_TARGETS_RT_USER_STATS_H
_
#include <forms.h>
...
...
@@ -43,4 +43,4 @@ typedef struct {
extern
FD_stats_form
*
create_form_stats_form
(
void
);
#endif
/*
FD_stats_form_h
_ */
#endif
/*
_TARGETS_RT_USER_STATS_H
_ */
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