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
spbro
OpenXG-RAN
Commits
26538976
Commit
26538976
authored
Mar 05, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-exit-info-core-dumps' into integration_2024_w09
parents
54965235
56acd1d6
Changes
40
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
173 additions
and
20 deletions
+173
-20
ci-scripts/yaml_files/5g_sa_n310_gnb/docker-compose.yml
ci-scripts/yaml_files/5g_sa_n310_gnb/docker-compose.yml
+2
-0
ci-scripts/yaml_files/5g_sa_n310_nrue/docker-compose.yml
ci-scripts/yaml_files/5g_sa_n310_nrue/docker-compose.yml
+2
-0
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
+2
-0
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
+2
-0
ci-scripts/yaml_files/sa_aw2s_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_aw2s_gnb/docker-compose.yml
+2
-0
ci-scripts/yaml_files/sa_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_b200_gnb/docker-compose.yml
+2
-0
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
+6
-0
ci-scripts/yaml_files/sa_f1_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_f1_b200_gnb/docker-compose.yml
+4
-0
ci-scripts/yaml_files/sa_sc_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_sc_b200_gnb/docker-compose.yml
+2
-0
doc/TESTBenches.md
doc/TESTBenches.md
+68
-0
docker/Dockerfile.base.rhel9
docker/Dockerfile.base.rhel9
+6
-0
docker/Dockerfile.base.rocky
docker/Dockerfile.base.rocky
+6
-0
docker/Dockerfile.base.ubuntu20
docker/Dockerfile.base.ubuntu20
+6
-0
docker/Dockerfile.base.ubuntu20.cross-arm64
docker/Dockerfile.base.ubuntu20.cross-arm64
+6
-0
docker/Dockerfile.eNB.rhel9
docker/Dockerfile.eNB.rhel9
+2
-1
docker/Dockerfile.eNB.rocky
docker/Dockerfile.eNB.rocky
+2
-1
docker/Dockerfile.eNB.ubuntu20
docker/Dockerfile.eNB.ubuntu20
+2
-1
docker/Dockerfile.gNB.aw2s.rhel9
docker/Dockerfile.gNB.aw2s.rhel9
+2
-1
docker/Dockerfile.gNB.aw2s.rocky
docker/Dockerfile.gNB.aw2s.rocky
+2
-1
docker/Dockerfile.gNB.aw2s.ubuntu20
docker/Dockerfile.gNB.aw2s.ubuntu20
+2
-1
docker/Dockerfile.gNB.rhel9
docker/Dockerfile.gNB.rhel9
+2
-1
docker/Dockerfile.gNB.rocky
docker/Dockerfile.gNB.rocky
+2
-1
docker/Dockerfile.gNB.ubuntu20
docker/Dockerfile.gNB.ubuntu20
+2
-1
docker/Dockerfile.lteRU.rhel9
docker/Dockerfile.lteRU.rhel9
+2
-1
docker/Dockerfile.lteRU.ubuntu20
docker/Dockerfile.lteRU.ubuntu20
+2
-1
docker/Dockerfile.lteUE.rhel9
docker/Dockerfile.lteUE.rhel9
+2
-1
docker/Dockerfile.lteUE.rocky
docker/Dockerfile.lteUE.rocky
+2
-1
docker/Dockerfile.lteUE.ubuntu20
docker/Dockerfile.lteUE.ubuntu20
+2
-1
docker/Dockerfile.nr-cuup.rhel9
docker/Dockerfile.nr-cuup.rhel9
+2
-1
docker/Dockerfile.nr-cuup.rocky
docker/Dockerfile.nr-cuup.rocky
+2
-1
docker/Dockerfile.nr-cuup.ubuntu20
docker/Dockerfile.nr-cuup.ubuntu20
+2
-1
docker/Dockerfile.nrUE.rhel9
docker/Dockerfile.nrUE.rhel9
+2
-1
docker/Dockerfile.nrUE.rocky
docker/Dockerfile.nrUE.rocky
+2
-1
docker/Dockerfile.nrUE.ubuntu20
docker/Dockerfile.nrUE.ubuntu20
+2
-1
docker/scripts/enb_entrypoint.sh
docker/scripts/enb_entrypoint.sh
+3
-0
docker/scripts/gnb-aw2s_entrypoint.sh
docker/scripts/gnb-aw2s_entrypoint.sh
+3
-0
docker/scripts/gnb_entrypoint.sh
docker/scripts/gnb_entrypoint.sh
+2
-0
docker/scripts/lte_ru_entrypoint.sh
docker/scripts/lte_ru_entrypoint.sh
+3
-0
docker/scripts/lte_ue_entrypoint.sh
docker/scripts/lte_ue_entrypoint.sh
+3
-0
docker/scripts/nr_ue_entrypoint.sh
docker/scripts/nr_ue_entrypoint.sh
+3
-0
No files found.
ci-scripts/yaml_files/5g_sa_n310_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
privileged
:
true
network_mode
:
"
host"
container_name
:
oai-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
TZ
:
Europe/Paris
USE_ADDITIONAL_OPTIONS
:
--sa --tune-offset 20000000 -A 45 --log_config.global_log_options level,nocolor,time
...
...
ci-scripts/yaml_files/5g_sa_n310_nrue/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
privileged
:
true
network_mode
:
host
container_name
:
oai-nr-ue
ulimits
:
core
:
-1
# for core dumps
#entrypoint: /bin/bash -c "sleep infinity"
environment
:
TZ
:
Europe/Paris
...
...
ci-scripts/yaml_files/nsa_b200_enb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-enb:latest
privileged
:
true
container_name
:
nsa-b200-enb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--log_config.global_log_options level,nocolor,time,line_num,function
...
...
ci-scripts/yaml_files/nsa_b200_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
nsa-b200-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
-E -q --RUs.[0].sdr_addrs serial=30C51D4 --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function
...
...
ci-scripts/yaml_files/sa_aw2s_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
privileged
:
true
network_mode
:
"
host"
container_name
:
oai-gnb-aw2s
ulimits
:
core
:
-1
# for core dumps
environment
:
TZ
:
Europe/Paris
USE_ADDITIONAL_OPTIONS
:
--sa
...
...
ci-scripts/yaml_files/sa_b200_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-b200-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --RUs.[0].sdr_addrs serial=30C51D4 --telnetsrv --telnetsrv.shrmod ci --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function
...
...
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-cucp-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --telnetsrv --telnetsrv.shrmod ci --log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
...
...
@@ -23,6 +25,8 @@ services:
image
:
oai-nr-cuup:latest
privileged
:
true
container_name
:
sa-cuup-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
...
...
@@ -41,6 +45,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-du-b200-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa
...
...
ci-scripts/yaml_files/sa_f1_b200_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-cu-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --telnetsrv --telnetsrv.shrmod ci --log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
...
...
@@ -24,6 +26,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-du-b200-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --RUs.[0].sdr_addrs serial=30C51D4 --telnetsrv --telnetsrv.shrmod ci --log_config.global_log_options level,nocolor,time,line_num,function --gNBs.[0].min_rxtxtime 2 --gNBs.[0].do_CSIRS 1 --gNBs.[0].do_SRS 0 --MACRLCs.[0].ul_max_mcs 28 --L1s.[0].max_ldpc_iterations
20
...
...
ci-scripts/yaml_files/sa_sc_b200_gnb/docker-compose.yml
View file @
26538976
...
...
@@ -5,6 +5,8 @@ services:
image
:
oai-gnb:latest
privileged
:
true
container_name
:
sa-b200-gnb
ulimits
:
core
:
-1
# for core dumps
environment
:
USE_B2XX
:
'
yes'
USE_ADDITIONAL_OPTIONS
:
--sa --RUs.[0].sdr_addrs serial=30C51D4 --telnetsrv --telnetsrv.shrmod ci --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function -E
...
...
doc/TESTBenches.md
View file @
26538976
...
...
@@ -249,3 +249,71 @@ steps](../docker/README.md) and then use the docker-compose file directly.
Some tests are run from source (e.g.
`ci-scripts/xml_files/gnb_phytest_usrp_run.xml`
), which directly give the
options they are run with.
## How to retrieve core dumps (for CI team members)
The entrypoint scripts of all containers print the core pattern that is used on
the running machine. Search for
`core_pattern`
at the start of the container
logs to retrieve the possible location. Possible locations might be:
-
a path: the corresponding directory must be mounted in the container to be
writable
-
systemd-coredumpd: see
[
documentation
](
https://systemd.io/COREDUMP/
)
-
abrt: see
[
documentation
](
https://abrt.readthedocs.io/en/latest/usage.html
)
-
apport: see
[
documentation
](
https://wiki.ubuntu.com/Apport
)
You furthermore have to extract the executable that caused the core dump.
Download the container image, and extract, e.g.:
```
docker create --name c1 porcepix.sboai.cs.eurecom.fr/oai-gnb:develop-c99db698
docker cp c1:/opt/oai-gnb/bin/nr-softmodem /tmp
docker rm c1
```
### Core dump in a file
**
This is not recommended, as files could pile up and fill the system disk
completely!
**
Prefer systemd or abrt instead.
If the core pattern is a path: it should at least include the time in the
pattern name (suggested pattern:
`/tmp/core.%e.%p.%t`
) to correlate the time
the segfault occurred with the CI logs. If you identified the core dump,
copy the core dump from that machine; if identification is difficult, consider
rerunning the pipeline.
### Core dump via systemd
Run this command to list all core dumps:
```
sudo coredumpctl list
```
Scroll to the end and find the core dump of interest (it lists the executables
in the last column; use the time to correlate the segfault and the CI run).
Take the PID of the executable (first column after the time). Dump the core
dump to a location of your choice:
```
sudo coredumpctl dump <PID> > /tmp/coredump
```
### Core dump via abrt (automatic bug reporting tool)
TBD: use the documentation page for the moment.
### Core dump via apport
On Ubuntu machines, apport first needs to be enabled to collect core dumps:
```
sudo systemctl enable apport.service
```
and
[
needs to be enabled
](
https://wiki.ubuntu.com/Apport#How_to_enable_apport
)
.
Then, show a list of core dumps using
```
sudo apport-cli
```
docker/Dockerfile.base.rhel9
View file @
26538976
...
...
@@ -58,6 +58,12 @@ RUN rm -f /etc/rhsm-host && \
echo "/usr/local/lib" > /etc/ld.so.conf.d/local-lib.conf && \
echo "/usr/local/lib64" >> /etc/ld.so.conf.d/local-lib.conf
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
# it will be copied into target containers, to print exit numbers and handle signals properly
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
# In some network environments, GIT proxy is required
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
...
...
docker/Dockerfile.base.rocky
View file @
26538976
...
...
@@ -46,6 +46,12 @@ RUN dnf install 'dnf-command(config-manager)' -y && \
python3-pip && \
pip3 install --ignore-installed pyyaml
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
# it will be copied into target containers, to print exit numbers and handle signals properly
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
#create the WORKDIR
WORKDIR /oai-ran
COPY . .
...
...
docker/Dockerfile.base.ubuntu20
View file @
26538976
...
...
@@ -46,6 +46,12 @@ RUN apt-get update && \
python3-pip && \
pip3 install --ignore-installed pyyaml
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
# it will be copied into target containers, to print exit numbers and handle signals properly
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
# In some network environments, GIT proxy is required
RUN /bin/bash -c "if [[ -v NEEDED_GIT_PROXY ]]; then git config --global http.proxy $NEEDED_GIT_PROXY; fi"
...
...
docker/Dockerfile.base.ubuntu20.cross-arm64
View file @
26538976
...
...
@@ -73,6 +73,12 @@ RUN apt-get update && \
g++-9-aarch64-linux-gnu && \
apt-get clean
# Add "Tini - A tiny but valid init for containers", https://github.com/krallin/tini
# it will be copied into target containers, to print exit numbers and handle signals properly
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
# create the WORKDIR
WORKDIR /oai-ran
COPY . .
...
...
docker/Dockerfile.eNB.rhel9
View file @
26538976
...
...
@@ -112,5 +112,6 @@ WORKDIR /opt/oai-enb
# 36422 --> X2C, SCTP/UDP
EXPOSE 2152/udp 36412/udp 36422/udp
ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
COPY --from=enb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-enb/bin/entrypoint.sh"]
CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
docker/Dockerfile.eNB.rocky
View file @
26538976
...
...
@@ -122,5 +122,6 @@ WORKDIR /opt/oai-enb
# 36422 --> X2C, SCTP/UDP
EXPOSE 2152/udp 36412/udp 36422/udp
ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
COPY --from=enb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-enb/bin/entrypoint.sh"]
CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
docker/Dockerfile.eNB.ubuntu20
View file @
26538976
...
...
@@ -112,5 +112,6 @@ EXPOSE 2152/udp 36412/udp 36422/udp
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
ENTRYPOINT ["/opt/oai-enb/bin/entrypoint.sh"]
COPY --from=enb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-enb/bin/entrypoint.sh"]
CMD ["/opt/oai-enb/bin/lte-softmodem", "-O", "/opt/oai-enb/etc/enb.conf"]
docker/Dockerfile.gNB.aw2s.rhel9
View file @
26538976
...
...
@@ -86,5 +86,6 @@ RUN ln -s /usr/local/lib/libaw2sori_transpro.so /usr/local/lib/libthirdparty_tra
WORKDIR /opt/oai-gnb-aw2s
ENTRYPOINT ["/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb-aw2s/bin/nr-softmodem", "-O", "/opt/oai-gnb-aw2s/etc/gnb.conf"]
docker/Dockerfile.gNB.aw2s.rocky
View file @
26538976
...
...
@@ -95,5 +95,6 @@ RUN ln -s /usr/local/lib/libaw2sori_transpro.so /usr/local/lib/libthirdparty_tra
WORKDIR /opt/oai-gnb-aw2s
ENTRYPOINT ["/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb-aw2s/bin/nr-softmodem", "-O", "/opt/oai-gnb-aw2s/etc/gnb.conf"]
docker/Dockerfile.gNB.aw2s.ubuntu20
View file @
26538976
...
...
@@ -81,5 +81,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/libaw2sori_transpro.so /usr/local/lib/lib
WORKDIR /opt/oai-gnb-aw2s
ENTRYPOINT ["/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb-aw2s/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb-aw2s/bin/nr-softmodem", "-O", "/opt/oai-gnb-aw2s/etc/gnb.conf"]
docker/Dockerfile.gNB.rhel9
View file @
26538976
...
...
@@ -111,5 +111,6 @@ WORKDIR /opt/oai-gnb
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.gNB.rocky
View file @
26538976
...
...
@@ -121,5 +121,6 @@ WORKDIR /opt/oai-gnb
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.gNB.ubuntu20
View file @
26538976
...
...
@@ -108,5 +108,6 @@ WORKDIR /opt/oai-gnb
#EXPOSE 50000/udp # IF5 / ORI (control)
#EXPOSE 50001/udp # IF5 / ECPRI (data)
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-softmodem", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.lteRU.rhel9
View file @
26538976
...
...
@@ -95,5 +95,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
WORKDIR /opt/oai-lte-ru
ENTRYPOINT ["/opt/oai-lte-ru/bin/entrypoint.sh"]
COPY --from=ru-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-lte-ru/bin/entrypoint.sh"]
CMD ["/opt/oai-lte-ru/bin/oairu", "-O", "/opt/oai-lte-ru/etc/rru.conf"]
docker/Dockerfile.lteRU.ubuntu20
View file @
26538976
...
...
@@ -88,5 +88,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
WORKDIR /opt/oai-lte-ru
ENTRYPOINT ["/opt/oai-lte-ru/bin/entrypoint.sh"]
COPY --from=ru-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-lte-ru/bin/entrypoint.sh"]
CMD ["/opt/oai-lte-ru/bin/oairu", "-O", "/opt/oai-lte-ru/etc/rru.conf"]
docker/Dockerfile.lteUE.rhel9
View file @
26538976
...
...
@@ -104,5 +104,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
ldconfig
WORKDIR /opt/oai-lte-ue
COPY --from=lte-ue-base /tini /tini
CMD ["/opt/oai-lte-ue/bin/lte-uesoftmodem"]
ENTRYPOINT ["/opt/oai-lte-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-lte-ue/bin/entrypoint.sh"]
docker/Dockerfile.lteUE.rocky
View file @
26538976
...
...
@@ -116,5 +116,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
echo "ldd on libtelnetsrv.so" && ldd /usr/local/lib/libtelnetsrv.so
WORKDIR /opt/oai-lte-ue
COPY --from=lte-ue-base /tini /tini
CMD ["/opt/oai-lte-ue/bin/lte-uesoftmodem"]
ENTRYPOINT ["/opt/oai-lte-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-lte-ue/bin/entrypoint.sh"]
docker/Dockerfile.lteUE.ubuntu20
View file @
26538976
...
...
@@ -104,5 +104,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
ldd /opt/oai-lte-ue/bin/lte-uesoftmodem
WORKDIR /opt/oai-lte-ue
COPY --from=lte-ue-base /tini /tini
CMD ["/opt/oai-lte-ue/bin/lte-uesoftmodem"]
ENTRYPOINT ["/opt/oai-lte-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-lte-ue/bin/entrypoint.sh"]
docker/Dockerfile.nr-cuup.rhel9
View file @
26538976
...
...
@@ -75,5 +75,6 @@ WORKDIR /opt/oai-gnb/etc
WORKDIR /opt/oai-gnb
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-cuup", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.nr-cuup.rocky
View file @
26538976
...
...
@@ -76,5 +76,6 @@ WORKDIR /opt/oai-gnb/etc
WORKDIR /opt/oai-gnb
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-cuup", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.nr-cuup.ubuntu20
View file @
26538976
...
...
@@ -66,5 +66,6 @@ RUN ldconfig && ldd /opt/oai-gnb/bin/nr-cuup
WORKDIR /opt/oai-gnb/etc
WORKDIR /opt/oai-gnb
ENTRYPOINT ["/opt/oai-gnb/bin/entrypoint.sh"]
COPY --from=gnb-base /tini /tini
ENTRYPOINT ["/tini", "-v", "--", "/opt/oai-gnb/bin/entrypoint.sh"]
CMD ["/opt/oai-gnb/bin/nr-cuup", "-O", "/opt/oai-gnb/etc/gnb.conf"]
docker/Dockerfile.nrUE.rhel9
View file @
26538976
...
...
@@ -108,5 +108,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
WORKDIR /opt/oai-nr-ue
COPY --from=nr-ue-base /tini /tini
CMD ["/opt/oai-nr-ue/bin/nr-uesoftmodem", "-O", "/opt/oai-nr-ue/etc/nr-ue.conf"]
ENTRYPOINT ["/opt/oai-nr-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-nr-ue/bin/entrypoint.sh"]
docker/Dockerfile.nrUE.rocky
View file @
26538976
...
...
@@ -117,5 +117,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
echo "ldd on libtelnetsrv_5Gue.so" && ldd /usr/local/lib/libtelnetsrv_5Gue.so
WORKDIR /opt/oai-nr-ue
COPY --from=nr-ue-base /tini /tini
CMD ["/opt/oai-nr-ue/bin/nr-uesoftmodem", "-O", "/opt/oai-nr-ue/etc/nr-ue.conf"]
ENTRYPOINT ["/opt/oai-nr-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-nr-ue/bin/entrypoint.sh"]
docker/Dockerfile.nrUE.ubuntu20
View file @
26538976
...
...
@@ -104,5 +104,6 @@ RUN /bin/bash -c "ln -s /usr/local/lib/liboai_usrpdevif.so /usr/local/lib/liboai
ldd /opt/oai-nr-ue/bin/nr-uesoftmodem
WORKDIR /opt/oai-nr-ue
COPY --from=nr-ue-base /tini /tini
CMD ["/opt/oai-nr-ue/bin/nr-uesoftmodem", "-O", "/opt/oai-nr-ue/etc/nr-ue.conf"]
ENTRYPOINT ["/opt/oai-nr-ue/bin/entrypoint.sh"]
ENTRYPOINT ["/
tini", "-v", "--", "/
opt/oai-nr-ue/bin/entrypoint.sh"]
docker/scripts/enb_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX
=
/opt/oai-enb
CONFIGFILE
=
$PREFIX
/etc/enb.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No configuration file found: please mount at
$CONFIGFILE
"
exit
255
...
...
docker/scripts/gnb-aw2s_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX
=
/opt/oai-gnb-aw2s
CONFIGFILE
=
$PREFIX
/etc/gnb.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No configuration file found: please mount at
$CONFIGFILE
"
exit
255
...
...
docker/scripts/gnb_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,8 @@ set -uo pipefail
PREFIX
=
/opt/oai-gnb
CONFIGFILE
=
$PREFIX
/etc/gnb.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No configuration file found: please mount at
$CONFIGFILE
"
...
...
docker/scripts/lte_ru_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX
=
/opt/oai-lte-ru
CONFIGFILE
=
$PREFIX
/etc/rru.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No configuration file found: please mount at
$CONFIGFILE
"
exit
255
...
...
docker/scripts/lte_ue_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX
=
/opt/oai-lte-ue
USIM_CONFIGFILE
=
$PREFIX
/etc/ue_usim.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$USIM_CONFIGFILE
]
;
then
echo
"No ue_usim.conf configuration file found: please mount at
$USIM_CONFIGFILE
"
exit
255
...
...
docker/scripts/nr_ue_entrypoint.sh
View file @
26538976
...
...
@@ -5,6 +5,9 @@ set -uo pipefail
PREFIX
=
/opt/oai-nr-ue
CONFIGFILE
=
$PREFIX
/etc/nr-ue.conf
echo
"=================================="
echo
"/proc/sys/kernel/core_pattern=
$(
cat
/proc/sys/kernel/core_pattern
)
"
if
[
!
-f
$CONFIGFILE
]
;
then
echo
"No configuration file found: please mount at
$CONFIGFILE
"
exit
255
...
...
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