Skip to content
Success

Changes

Summary

  1. fixup for SCCP_MAX_OPTIONAL_DATA changing to 128 (details)
  2. s1gw: track eNB connection, fail immediately on loss (details)
  3. s1gw: implement the REST interface client (details)
  4. ttcn3-tcpdump-start: fix default TTCN3_PCAP_PATH (details)
  5. testenv: add a --fast argument (details)
  6. Makefile: ctags: include *.cc/*.hh files (details)
Commit de5be1a250e4b4e3002c8312d46a8a3e7ac9e755 by laforge
fixup for SCCP_MAX_OPTIONAL_DATA changing to 128

Change-Id: I2fdafa88be1f25c90c7e1a34423a25aa7f5bff5c
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit adc942a94af7cd7c1c54fad71225cfc7e6fdd499 by laforge
s1gw: track eNB connection, fail immediately on loss

Change-Id: I34a3d30270f1236908643b60fc8abe590a780b89
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit d81a77a4086ccccd1553a6f1f58d5d369ac523c2 by laforge
s1gw: implement the REST interface client

OsmoS1GW implements a custom (non-standard) REST interface, primarily
intended for state introspection.  The interface is specified using
OpenAPI, with the specification available in osmo-s1gw.git.

Change-Id: Ic6e8b46b7de4fb72139b017fc9a9c83f92fc1541
Related: SYS#7066
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/gen_links.sh
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
The file was addeds1gw/S1GW_REST_Types.ttcn
The file was modifieds1gw/S1GW_Tests.cfg
The file was addeds1gw/S1GW_REST_Functions.ttcn
The file was modifieds1gw/regen_makefile.sh
The file was modifieds1gw/S1GW_Tests.default
Commit 6397e81ba08a411fe93be41e77ebf85351cd50af by Oliver Smith
ttcn3-tcpdump-start: fix default TTCN3_PCAP_PATH

Fix that manually running testsuites (as described in README.md) would
unsucessfully attempt to start dumpcap for 10s before running each test:

  NOTE: unable to use dumpcap due to missing permissions in /tmp
  Warning: Named pipe already exists: /tmp/cmderr
  sudo -n /usr/bin/tcpdump -U -s 1520 -n -i any -w "/tmp/smdpp_Tests.TC_rsp_complete_flow.pcap" >/tmp/smdpp_Tests.TC_rsp_complete_flow.pcap.stdout 2>/tmp/cmderr &
  Waiting for packet dumper to start... 0
  Waiting for packet dumper to start... 1
  Waiting for packet dumper to start... 2
  Waiting for packet dumper to start... 3
  Waiting for packet dumper to start... 4
  Waiting for packet dumper to start... 5
  Waiting for packet dumper to start... 6
  Waiting for packet dumper to start... 7
  Waiting for packet dumper to start... 8
  Waiting for packet dumper to start... 9
  Packet dumper didn't start filling pcap file after 10 seconds!!!

This happens because /tmp is owned by root and not by the user running
ttcn3-tcpdump-start. Put the pcaps in /tmp/pcap by default instead of
/tmp and create this directory as the current user if it does not exist.
This also prevents cluttering /tmp.

Note that this is only relevant when manually running the testsuites and
not setting TTCN3_PCAP_PATH, e.g. testenv sets this variable already.

Change-Id: I1eb80d7f9e8dd491387e4d1da9b4ac6ac5cb7dc5
The file was modifiedttcn3-tcpdump-start.sh
The file was modifiedttcn3-dumpcap-start.sh
Commit f547508b4b0b22831be018769826f52ababa51f6 by Oliver Smith
testenv: add a --fast argument

The ttcn3-{tcpdump,dumpcap}-*.sh scripts can easily spend 5s or more for
each test with:
* Waiting until the pcap gets created.
* Waiting until pcap size does not increase anymore after the test.
* Saving the talloc report.

Add --fast to skip all this, to allow running a whole testsuite
significantly faster locally to check for regressions. Developers can
then still run failing tests again without --fast to get the pcap and
talloc reports.

Change-Id: Ief3488293e5c5c1a1c98244f80ffd56eadb040c5
The file was modifiedttcn3-dumpcap-start.sh
The file was modified_testenv/testenv/testsuite.py
The file was modifiedttcn3-tcpdump-start.sh
The file was modified_testenv/testenv/__init__.py
The file was modifiedttcn3-tcpdump-stop.sh
The file was modifiedttcn3-dumpcap-stop.sh
Commit 35b43aa74c9ca07455d5cc74f500acf9dcd853e1 by Vadim Yanitskiy
Makefile: ctags: include *.cc/*.hh files

Also generate tags for *.cc/*.hh files.  In order to avoid generating
tags for generated source files, limit the search scope for `find`.

Change-Id: Iab28b36ea6bb6ece45d1834dfc04be489da39ea2
The file was modifiedMakefile