Project

General

Profile

Actions

Bug #6380

open

VTY transcript tests are broken [again]

Added by fixeria 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/28/2024
Due date:
% Done:

0%

Spec Reference:

Description

The master-osmo-hnbgw Jenkins job is broken since Feb 27th.

Error during transcript step 3:
[
OsmoHNBGW# show cs7 config
cs7 instance 0
 point-code 0.23.5
 asp asp-clnt-msc-0 2905 0 m3ua
  local-ip localhost
  remote-ip localhost
  role asp
  sctp-role client
 as as-clnt-msc-0 m3ua
  asp asp-clnt-msc-0
  routing-key 0 0.23.5
]
Error while verifying transcript file './config//defaults.vty'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 357, in verify_application
    interact.verify_transcript_file(transcript_file)
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 111, in verify_transcript_file
    result = self.verify_transcript(content)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 199, in verify_transcript
    raise Exception('Result mismatch:\n%s\n\nExpected:\n[\n%s\n]\n\nGot:\n[\n%s\n%s\n]'
Exception: Result mismatch:
Mismatch:
Expect:
'  sctp-role client'
Got:
'  transport-role client'

Expected:
[
OsmoHNBGW# show cs7 config
cs7 instance 0
 point-code 0.23.5
 asp asp-clnt-msc-0 2905 0 m3ua
  local-ip localhost
  remote-ip localhost
  role asp
  sctp-role client
 as as-clnt-msc-0 m3ua
  asp asp-clnt-msc-0
  routing-key 0 0.23.5
]

Got:
[
OsmoHNBGW# show cs7 config
cs7 instance 0
 point-code 0.23.5
 asp asp-clnt-msc-0 2905 0 m3ua
  local-ip localhost
  remote-ip localhost
  role asp
  transport-role client
 as as-clnt-msc-0 m3ua
  asp asp-clnt-msc-0
  routing-key 0 0.23.5
]

RESULTS:
FAIL: ./config//defaults.vty

This is a side effect of my patch that has been merged to libosmo-sccp.git:

https://cgit.osmocom.org/libosmo-sccp/commit/?id=4d7e20193c264585080b9edc91eb630dd005e396

commit 4d7e20193c264585080b9edc91eb630dd005e396
Author: Vadim Yanitskiy <vyanitskiy@sysmocom.de>
Date:   Thu Feb 15 05:29:14 2024 +0700

    VTY: rename 'sctp-role' to 'transport-role', add an alias
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)