osmo-gsm-tester[master]: contrib: Build octphy osmo-bts variant and make it generic
Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/3928 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 Gerrit-PatchSet: 2 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin PedrolGerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Pau Espin Pedrol Gerrit-Reviewer: neels Gerrit-HasComments: No
[MERGED] osmo-gsm-tester[master]: contrib: Build octphy osmo-bts variant and make it generic
Pau Espin Pedrol has submitted this change and it was merged. Change subject: contrib: Build octphy osmo-bts variant and make it generic .. contrib: Build octphy osmo-bts variant and make it generic This is a first step to add support for osmo-bts-octpy to osmo-gsm-tester. There's no point in building separate insts for different osmo-bts variants which run on the main unit and which come from the same git repository, this we make the osmo-bts-trx one generic to handle all variants which fall into the description above. Tested locally on my laptop that it builds susccessfully. Once this patch is applied, jenkins jobs need to be adjusted: - RnD: osmo-gsm-tester_manual-build-all - Prod: osmo-gsm-tester_build-osmo-bts-trx (and rename it) Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 --- R contrib/jenkins-build-osmo-bts.sh M src/osmo_gsm_tester/bts_osmotrx.py 2 files changed, 5 insertions(+), 4 deletions(-) Approvals: Pau Espin Pedrol: Looks good to me, approved Harald Welte: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/contrib/jenkins-build-osmo-bts-trx.sh b/contrib/jenkins-build-osmo-bts.sh similarity index 61% rename from contrib/jenkins-build-osmo-bts-trx.sh rename to contrib/jenkins-build-osmo-bts.sh index 6188be1..7349ce5 100755 --- a/contrib/jenkins-build-osmo-bts-trx.sh +++ b/contrib/jenkins-build-osmo-bts.sh @@ -1,14 +1,15 @@ #!/bin/sh set -e -x base="$PWD" -name="osmo-bts-trx" +name="osmo-bts" . "$(dirname "$0")/jenkins-build-common.sh" # for gsm_data_shared.* have_repo openbsc +have_repo octphy-2g-headers build_repo libosmocore --disable-doxygen build_repo libosmo-abis -build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include +build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include --enable-octphy --with-octsdr-2g=$base/octphy-2g-headers -create_bin_tgz osmo-bts-trx +create_bin_tgz osmo-bts-trx osmo-bts-octphy diff --git a/src/osmo_gsm_tester/bts_osmotrx.py b/src/osmo_gsm_tester/bts_osmotrx.py index 6130ca9..f53b8a3 100644 --- a/src/osmo_gsm_tester/bts_osmotrx.py +++ b/src/osmo_gsm_tester/bts_osmotrx.py @@ -84,7 +84,7 @@ self.log('Waiting for osmo-trx to start up...') event_loop.wait(self, self.trx.trx_ready) -self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst(OsmoBtsTrx.BIN_BTS_TRX))) +self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-bts'))) lib = self.inst.child('lib') if not os.path.isdir(lib): raise RuntimeError('No lib/ in %r' % self.inst) -- To view, visit https://gerrit.osmocom.org/3928 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 Gerrit-PatchSet: 3 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin PedrolGerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Pau Espin Pedrol Gerrit-Reviewer: neels
osmo-gsm-tester[master]: contrib: Build octphy osmo-bts variant and make it generic
Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/3928 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 Gerrit-PatchSet: 2 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin PedrolGerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: neels Gerrit-HasComments: No
[PATCH] osmo-gsm-tester[master]: contrib: Build octphy osmo-bts variant and make it generic
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/3928 to look at the new patch set (#2). contrib: Build octphy osmo-bts variant and make it generic This is a first step to add support for osmo-bts-octpy to osmo-gsm-tester. There's no point in building separate insts for different osmo-bts variants which run on the main unit and which come from the same git repository, this we make the osmo-bts-trx one generic to handle all variants which fall into the description above. Tested locally on my laptop that it builds susccessfully. Once this patch is applied, jenkins jobs need to be adjusted: - RnD: osmo-gsm-tester_manual-build-all - Prod: osmo-gsm-tester_build-osmo-bts-trx (and rename it) Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 --- R contrib/jenkins-build-osmo-bts.sh M src/osmo_gsm_tester/bts_osmotrx.py 2 files changed, 5 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/28/3928/2 diff --git a/contrib/jenkins-build-osmo-bts-trx.sh b/contrib/jenkins-build-osmo-bts.sh similarity index 61% rename from contrib/jenkins-build-osmo-bts-trx.sh rename to contrib/jenkins-build-osmo-bts.sh index 6188be1..7349ce5 100755 --- a/contrib/jenkins-build-osmo-bts-trx.sh +++ b/contrib/jenkins-build-osmo-bts.sh @@ -1,14 +1,15 @@ #!/bin/sh set -e -x base="$PWD" -name="osmo-bts-trx" +name="osmo-bts" . "$(dirname "$0")/jenkins-build-common.sh" # for gsm_data_shared.* have_repo openbsc +have_repo octphy-2g-headers build_repo libosmocore --disable-doxygen build_repo libosmo-abis -build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include +build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include --enable-octphy --with-octsdr-2g=$base/octphy-2g-headers -create_bin_tgz osmo-bts-trx +create_bin_tgz osmo-bts-trx osmo-bts-octphy diff --git a/src/osmo_gsm_tester/bts_osmotrx.py b/src/osmo_gsm_tester/bts_osmotrx.py index 3077b0f..23d5a29 100644 --- a/src/osmo_gsm_tester/bts_osmotrx.py +++ b/src/osmo_gsm_tester/bts_osmotrx.py @@ -84,7 +84,7 @@ self.log('Waiting for osmo-trx to start up...') event_loop.wait(self, self.trx.trx_ready) -self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst(OsmoBtsTrx.BIN_BTS_TRX))) +self.inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-bts'))) lib = self.inst.child('lib') if not os.path.isdir(lib): raise RuntimeError('No lib/ in %r' % self.inst) -- To view, visit https://gerrit.osmocom.org/3928 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 Gerrit-PatchSet: 2 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin PedrolGerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: neels
[PATCH] osmo-gsm-tester[master]: contrib: Build octphy osmo-bts variant and make it generic
Review at https://gerrit.osmocom.org/3928 contrib: Build octphy osmo-bts variant and make it generic This is a first step to add support for osmo-bts-octpy to osmo-gsm-tester. There's no point in building separate insts for different osmo-bts variants which run on the main unit and which come from the same git repository, this we make the osmo-bts-trx one generic to handle all variants which fall into the description above. Tested locally on my laptop that it builds susccessfully. To coordinate together with this patch: - Update build jobs in jenkins (run_all for RnD, rename the osmo-bts-trx for prod). - Modify bts_osmotrx.py to use inst 'osmo-bts' instead of 'osmo-bts-trx'. Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 --- R contrib/jenkins-build-osmo-bts.sh 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/28/3928/1 diff --git a/contrib/jenkins-build-osmo-bts-trx.sh b/contrib/jenkins-build-osmo-bts.sh similarity index 61% rename from contrib/jenkins-build-osmo-bts-trx.sh rename to contrib/jenkins-build-osmo-bts.sh index 6188be1..7349ce5 100755 --- a/contrib/jenkins-build-osmo-bts-trx.sh +++ b/contrib/jenkins-build-osmo-bts.sh @@ -1,14 +1,15 @@ #!/bin/sh set -e -x base="$PWD" -name="osmo-bts-trx" +name="osmo-bts" . "$(dirname "$0")/jenkins-build-common.sh" # for gsm_data_shared.* have_repo openbsc +have_repo octphy-2g-headers build_repo libosmocore --disable-doxygen build_repo libosmo-abis -build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include +build_repo osmo-bts --enable-trx --with-openbsc=$base/openbsc/openbsc/include --enable-octphy --with-octsdr-2g=$base/octphy-2g-headers -create_bin_tgz osmo-bts-trx +create_bin_tgz osmo-bts-trx osmo-bts-octphy -- To view, visit https://gerrit.osmocom.org/3928 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib8814e4ce49596b586990f20d7d625a719852e90 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol