Attention is currently required from: laforge.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-remsim/+/39044?usp=email )
Change subject: Use new osmo_ipa_ka_fsm_inst APIs from libosmo-netif
......................................................................
Patch Set 2:
(1 comment)
This change is ready for review.
Patchset:
PS1:
> I'm still having some weird issues with output stopping while running REMSIM_tests (server) with thi […]
Tests passing now.
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/39044?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: Id9784c69f1524872053436b59712f67ad5fbfe94
Gerrit-Change-Number: 39044
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 10 Dec 2024 12:48:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
osmith has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email )
Change subject: testenv: make copy= more intuitive
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080/comment/6e5a2321_379d… :
PS1, Line 10: source file name under the target directory: copy=dir/file.cfg creates
> well the problem for me to gasp was the "copy=bankd/file.cfg bankd/file. […]
oh then I actually misunderstood what you meant... but I still think this is a good improvement, should make it more intuitive and makes the code simpler.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id9e4ea066d0a0e72ccd83e4f6f887f382bf61e46
Gerrit-Change-Number: 39080
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 10 Dec 2024 12:22:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: osmith.
pespin has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email )
Change subject: testenv: make copy= more intuitive
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080/comment/7dc0863b_c129… :
PS1, Line 10: source file name under the target directory: copy=dir/file.cfg creates
well the problem for me to gasp was the "copy=bankd/file.cfg bankd/file.cfg" which would end up generating "/bankd/bankd/file.cfg".
What "copy=dir/file.cfg" would also be a good question, I'd perhaps expect to end up with "/dir/file.cfg" instead of "/file.cfg". But anyway I'd probably not use that syntax myself since it's confusing, so fine with whatever in this scenario.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id9e4ea066d0a0e72ccd83e4f6f887f382bf61e46
Gerrit-Change-Number: 39080
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 10 Dec 2024 12:20:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email )
Change subject: testenv: make copy= more intuitive
......................................................................
testenv: make copy= more intuitive
Currently copy= in testenv.cfg creates copies of files under the full
source file name under the target directory: copy=dir/file.cfg creates
dir/file.cfg (like "cp -a --parents"). This is not very intuitive,
change it to create a "file.cfg" instead without subdirectory. With
this change, it behaves the same as "cp -a".
Suggested-by: Pau Espin Pedrol <pespin(a)sysmocom.de>
Change-Id: Id9e4ea066d0a0e72ccd83e4f6f887f382bf61e46
---
M _testenv/README.md
M _testenv/testenv/testdir.py
M ggsn_tests/open5gs/open5gs-smf.yaml
M ggsn_tests/testenv_open5gs.cfg
4 files changed, 7 insertions(+), 18 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/39080/1
diff --git a/_testenv/README.md b/_testenv/README.md
index bd102a8..2a08e7d 100644
--- a/_testenv/README.md
+++ b/_testenv/README.md
@@ -89,7 +89,7 @@
* `copy=`: optionally copy a space separated list of files or directories from
the testsuite directory to the test directory, like `.cfg` and `.confmerge`
- files.
+ files. Testenv runs `cp -a <SOURCES> <TEST DIR>` internally.
* `make=`: osmo-dev make target for building from source, if running without
`--binary-repo`. This is usually the name of the git repository, but could
diff --git a/_testenv/testenv/testdir.py b/_testenv/testenv/testdir.py
index b18efd1..2f21d23 100644
--- a/_testenv/testenv/testdir.py
+++ b/_testenv/testenv/testdir.py
@@ -85,19 +85,8 @@
testenv.cmd.run(["install", "-Dm644", path, path_dest])
if "copy" in section_data:
- for copy_entry in section_data["copy"].split(" "):
- path = os.path.join(testsuite_dir, copy_entry)
- if os.path.isdir(path):
- pattern = os.path.join(path, "**")
- paths = glob.glob(pattern, recursive=True)
- else:
- paths = [path]
- for path in paths:
- if os.path.isdir(path):
- continue
- path_dest = os.path.join(section_dir, os.path.relpath(path, testsuite_dir))
- mode = 755 if os.access(path, os.X_OK) else 644
- testenv.cmd.run(["install", f"-Dm{mode}", path, path_dest])
+ sources = section_data["copy"].split(" ")
+ testenv.cmd.run(["cp", "-a"] + sources + [section_dir], no_podman=True, cwd=testsuite_dir)
# Referenced in testsuite cfgs: *.default
pattern = os.path.join(testsuite_dir, "*.default")
diff --git a/ggsn_tests/open5gs/open5gs-smf.yaml b/ggsn_tests/open5gs/open5gs-smf.yaml
index 0e26550..2532665 100644
--- a/ggsn_tests/open5gs/open5gs-smf.yaml
+++ b/ggsn_tests/open5gs/open5gs-smf.yaml
@@ -46,7 +46,7 @@
mtu: 1400
ctf:
enabled: auto
- freeDiameter: open5gs/freediameter.conf
+ freeDiameter: freediameter.conf
parameter:
diff --git a/ggsn_tests/testenv_open5gs.cfg b/ggsn_tests/testenv_open5gs.cfg
index 2d107a8..6d951f2 100644
--- a/ggsn_tests/testenv_open5gs.cfg
+++ b/ggsn_tests/testenv_open5gs.cfg
@@ -3,14 +3,14 @@
config=GGSN_Tests.cfg
[smf]
-program=open5gs-smfd -c open5gs/open5gs-smf.yaml
+program=open5gs-smfd -c open5gs-smf.yaml
make=open5gs
package=open5gs-smf
copy=open5gs/open5gs-smf.yaml open5gs/freediameter.conf
[upf]
-program=open5gs-upfd -c open5gs/open5gs-upf.yaml
+program=open5gs-upfd -c open5gs-upf.yaml
make=open5gs
package=open5gs-upf
copy=open5gs/open5gs-upf.yaml open5gs/testenv.sh
-clean=open5gs/testenv.sh
+clean=./testenv.sh
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39080?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id9e4ea066d0a0e72ccd83e4f6f887f382bf61e46
Gerrit-Change-Number: 39080
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
lynxis lazus has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38415?usp=email )
Change subject: SGSN: BSSGP_ConnHdlr: Service Request: expect a CommonId when stopping on SecurityCommand Complete
......................................................................
Abandoned
Merged into a previous commit of the chain
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38415?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: abandon
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie81c5eb01eb695d0399770b8a7feb9b4549148b3
Gerrit-Change-Number: 38415
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria, lynxis lazus.
pespin has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39063?usp=email )
Change subject: RAW_NS: SNS Add: handle IPv4/IPv6 element in SNS Ack
......................................................................
Patch Set 4: Code-Review+1
(1 comment)
File library/RAW_NS.ttcnpp:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39063/comment/2e5d435d_3ccc… :
PS4, Line 512: if (isvalue(cause) and valueof(cause) == NS_CAUSE_UNKNOWN_IP_ENDPOINT) {
@vyanitskiy@sysmocom.de is "isvalue()" working fine here or should "ispresent()" be used? I always find confusing what each of those returns in each scenario...
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/39063?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I18c659e43db79400c1b428ed745267a5e6e59102
Gerrit-Change-Number: 39063
Gerrit-PatchSet: 4
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Tue, 10 Dec 2024 12:06:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes