Updating RMR to 4.0.2 95/3495/2
authorwahidw <abdulwahid.w@nokia.com>
Tue, 28 Apr 2020 00:06:39 +0000 (00:06 +0000)
committerwahidw <abdulwahid.w@nokia.com>
Tue, 28 Apr 2020 00:17:13 +0000 (00:17 +0000)
Change-Id: Ia8f351deb382b3487630b0c1f2fe79ede187e951
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
Dockerfile
RELNOTES
build-rtmgr-ubuntu.sh
container-tag.yaml
pkg/nbi/control.go

index e4b3873..37ffdac 100644 (file)
 # a Docker tag from the string in file container-tag.yaml
 
 #FROM golang:1.12.1 as rtmgrbuild
-FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:6-u18.04-nng as rtmgrbuild
+FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu18-c-go:7-u18.04 as rtmgrbuild
 
 # Install RMr shared library
-ARG RMRVERSION=3.8.2
-RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
+ARG RMRVERSION=4.0.2
+RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
 # Install RMr development header files
-RUN wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
+RUN wget --content-disposition https://packagecloud.io/o-ran-sc/release/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
 
 ENV GOLANG_VERSION 1.12.1
 RUN wget --quiet https://dl.google.com/go/go$GOLANG_VERSION.linux-amd64.tar.gz \
index ea9abef..5034b0e 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,5 +1,9 @@
+### v0.5.8
+* Updating to RMR version 4.0.2
+
 ### v0.5.7-3
 * Updating to RMR version 3.8.2
+
 ### v0.5.7-2
 * Supporting of reading subscriptions from subscription manager while restarting rtmgr
 
index f0f4153..d0e5cdc 100755 (executable)
@@ -20,7 +20,7 @@ set -eux
 
 echo "--> rtmgr-build-ubuntu.sh"
 curdir=`pwd`
-RMRVERSION=3.8.2
+RMRVERSION=4.0.2
 wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr_${RMRVERSION}_amd64.deb && rm -rf rmr_${RMRVERSION}_amd64.deb
 wget --content-disposition https://packagecloud.io/o-ran-sc/staging/packages/debian/stretch/rmr-dev_${RMRVERSION}_amd64.deb/download.deb && sudo dpkg -i rmr-dev_${RMRVERSION}_amd64.deb && rm -rf rmr-dev_${RMRVERSION}_amd64.deb
 
index cdf9e79..5349da6 100644 (file)
@@ -2,4 +2,4 @@
 # By default this file is in the docker build directory,
 # but the location can configured in the JJB template.
 ---
-tag: 0.5.7-3
+tag: 0.5.8
index 8d9e6c4..ccf4e57 100644 (file)
@@ -73,6 +73,7 @@ func (c *Control) controlLoop(sbiEngine sbi.Engine, sdlEngine sdl.Engine, rpeEng
                        err := errors.New("Message Type " + strconv.Itoa(msg.Mtype) + " is discarded")
                        xapp.Logger.Error("Unknown message type: %v", err)
                }
+               xapp.Rmr.Free(msg.Mbuf)
        }
 }