Skipping 100 KB..
Full Logmake[4]: Leaving directory '/build/include/osmocom/mslookup'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making all in doc
make[2]: Entering directory '/build/doc'
Making all in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/doc/examples'
Making all in manuals
make[3]: Entering directory '/build/doc/manuals'
ln -s /opt/osmo-gsm-manuals/build build
ln -s /opt/osmo-gsm-manuals/common common
mkdir -p ./vty
xmllint --xinclude --postvalid --noout osmohlr-vty-reference.xml
if ! [ -f osmohlr-usermanual.adoc ]; then \
ln -s osmohlr-usermanual.adoc osmohlr-usermanual.adoc; \
fi
../../src/osmo-hlr --vty-ref-xml > vty/hlr_vty_reference.xml
TEXINPUTS="/opt/osmo-gsm-manuals" \
a2x -vv -L --asciidoc-opts="-f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common' " --dblatex-opts="--config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0 " -a docinfo -a revnumber="DRAFT 1.8.0-2-g7c06" -a revdate="2024-Aug-07" osmohlr-usermanual.adoc
Generating the VTY reference in mode 'default' (all commands except deprecated and hidden)
mkdir -p generated
/opt/osmo-gsm-manuals/build/vty_reference_combine.sh "/opt/osmo-gsm-manuals/merge_doc.xsl" \
$(/opt/osmo-gsm-manuals/build/find_existing_path.sh "vty/*reference.xml" . .) \
/opt/osmo-gsm-manuals/common/vty_additions.xml \
./vty/*additions*.xml > generated/combined.xml
+ mktemp
+ combined=/tmp/tmp.e8ehgGnLBE
+ mktemp
+ combine_src=/tmp/tmp.X6U6AF4e3N
+ cp ./vty/hlr_vty_reference.xml /tmp/tmp.e8ehgGnLBE
+ [ -n /opt/osmo-gsm-manuals/common/vty_additions.xml ]
+ realpath /opt/osmo-gsm-manuals/common/vty_additions.xml
+ addition=/opt/osmo-gsm-manuals/common/vty_additions.xml
+ shift
+ cp /tmp/tmp.e8ehgGnLBE /tmp/tmp.X6U6AF4e3N
+ xsltproc -o /tmp/tmp.e8ehgGnLBE --stringparam with /opt/osmo-gsm-manuals/common/vty_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.X6U6AF4e3N
+ [ -n ./vty/hlr_vty_additions.xml ]
+ realpath ./vty/hlr_vty_additions.xml
+ addition=/build/doc/manuals/vty/hlr_vty_additions.xml
+ shift
+ cp /tmp/tmp.e8ehgGnLBE /tmp/tmp.X6U6AF4e3N
asciidoc: reading: /etc/asciidoc/asciidoc.conf
+ xsltproc -o /tmp/tmp.e8ehgGnLBE --stringparam with /build/doc/manuals/vty/hlr_vty_additions.xml /opt/osmo-gsm-manuals/merge_doc.xsl /tmp/tmp.X6U6AF4e3N
asciidoc: reading: /opt/osmo-gsm-manuals/build/mscgen-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/diag-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/asciidoc.conf
+ [ -n ]
+ cat /tmp/tmp.e8ehgGnLBE
+ rm -f /tmp/tmp.X6U6AF4e3N
+ rm -f /tmp/tmp.e8ehgGnLBE
xsltproc /opt/osmo-gsm-manuals/vty_reference.xsl generated/combined.xml \
> generated/docbook_vty.xml
asciidoc: reading: /build/doc/manuals/osmohlr-usermanual.adoc
asciidoc: reading: /etc/asciidoc/docbook45.conf
set -x && \
export GIT_DATE="2023-Dec-01" && \
export REVNUMBER="DRAFT 1.8.0-2-g7c06" && \
export TEMPFILE="/build/doc/manuals/generated/_temp_osmohlr-vty-reference.xml" && \
/opt/osmo-gsm-manuals/build/docbook-set-revhistory.py "osmohlr-vty-reference.xml" && \
dblatex \
--config /opt/osmo-gsm-manuals/build/dblatex_config.xml \
--xslt-opts="--path /opt/osmo-gsm-manuals/common/chapters:/build/doc/manuals/generated" \
\
-P draft.mode=no \
-o osmohlr-vty-reference.pdf \
"$TEMPFILE" && \
rm $TEMPFILE
+ export GIT_DATE=2023-Dec-01
+ GIT_DATE=2023-Dec-01
+ export 'REVNUMBER=DRAFT 1.8.0-2-g7c06'
+ REVNUMBER='DRAFT 1.8.0-2-g7c06'
+ export TEMPFILE=/build/doc/manuals/generated/_temp_osmohlr-vty-reference.xml
+ TEMPFILE=/build/doc/manuals/generated/_temp_osmohlr-vty-reference.xml
+ /opt/osmo-gsm-manuals/build/docbook-set-revhistory.py osmohlr-vty-reference.xml
asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf
asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf
asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf
asciidoc: reading: /etc/asciidoc/filters/source/source-highlight-filter.conf
asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf
asciidoc: reading: /etc/asciidoc/lang-en.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/mscgen-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/diag-filter.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf
asciidoc: reading: /opt/osmo-gsm-manuals/build/graphviz-filter.conf
asciidoc: writing: /build/doc/manuals/osmohlr-usermanual.xml
Changing revhistory to DRAFT 1.8.0-2-g7c06, 2023-Dec-01...
asciidoc: osmohlr-usermanual.adoc: line 6: evaluating: {include:/build/doc/manuals/osmohlr-usermanual-docinfo.xml}
asciidoc: include: /build/doc/manuals/common/chapters/preface.adoc
asciidoc: osmohlr-usermanual.adoc: line 9: reading: /build/doc/manuals/common/chapters/preface.adoc
+ dblatex --config /opt/osmo-gsm-manuals/build/dblatex_config.xml '--xslt-opts=--path /opt/osmo-gsm-manuals/common/chapters:/build/doc/manuals/generated' -P draft.mode=no -o osmohlr-vty-reference.pdf /build/doc/manuals/generated/_temp_osmohlr-vty-reference.xml
asciidoc: include: /build/doc/manuals/chapters/overview.adoc
asciidoc: osmohlr-usermanual.adoc: line 11: reading: /build/doc/manuals/chapters/overview.adoc
Build the book set list...
asciidoc: overview.adoc: line 42: evaluating: {counter2:target-number}
asciidoc: overview.adoc: line 42: evaluating: {set2:target:osmohlr-usermanual__1.svg}
asciidoc: overview.adoc: line 67: filtering: dot -o "/build/doc/manuals/osmohlr-usermanual__1.svg" -T svg && echo " "
asciidoc: include: /build/doc/manuals/chapters/running.adoc
asciidoc: osmohlr-usermanual.adoc: line 13: reading: /build/doc/manuals/chapters/running.adoc
asciidoc: include: /build/doc/manuals/chapters/subscribers.adoc
asciidoc: osmohlr-usermanual.adoc: line 15: reading: /build/doc/manuals/chapters/subscribers.adoc
asciidoc: include: /build/doc/manuals/example_subscriber_add_update_delete.vty
asciidoc: subscribers.adoc: line 19: reading: /build/doc/manuals/example_subscriber_add_update_delete.vty
Build the listings...
asciidoc: include: /build/doc/manuals/chapters/ussd.adoc
asciidoc: osmohlr-usermanual.adoc: line 17: reading: /build/doc/manuals/chapters/ussd.adoc
asciidoc: include: /build/doc/manuals/common/chapters/vty.adoc
asciidoc: osmohlr-usermanual.adoc: line 19: reading: /build/doc/manuals/common/chapters/vty.adoc
asciidoc: include: /build/doc/manuals/common/chapters/logging.adoc
asciidoc: osmohlr-usermanual.adoc: line 21: reading: /build/doc/manuals/common/chapters/logging.adoc
asciidoc: include: /build/doc/manuals/chapters/control.adoc
asciidoc: osmohlr-usermanual.adoc: line 23: reading: /build/doc/manuals/chapters/control.adoc
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Stripping NS from DocBook 5/NG document.
Processing stripped document.
asciidoc: include: /build/doc/manuals/example_subscriber_info.ctrl
asciidoc: control.adoc: line 90: reading: /build/doc/manuals/example_subscriber_info.ctrl
asciidoc: include: /build/doc/manuals/example_subscriber_cs_ps_enabled.ctrl
asciidoc: control.adoc: line 118: reading: /build/doc/manuals/example_subscriber_cs_ps_enabled.ctrl
asciidoc: include: /build/doc/manuals/example_subscriber_msisdn.ctrl
asciidoc: control.adoc: line 129: reading: /build/doc/manuals/example_subscriber_msisdn.ctrl
asciidoc: include: /build/doc/manuals/example_subscriber_aud2g.ctrl
asciidoc: control.adoc: line 152: reading: /build/doc/manuals/example_subscriber_aud2g.ctrl
asciidoc: include: /build/doc/manuals/example_subscriber_aud3g.ctrl
asciidoc: control.adoc: line 178: reading: /build/doc/manuals/example_subscriber_aud3g.ctrl
asciidoc: include: /build/doc/manuals/common/chapters/control_if.adoc
asciidoc: osmohlr-usermanual.adoc: line 25: reading: /build/doc/manuals/common/chapters/control_if.adoc
asciidoc: control_if.adoc: line 25: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 25: evaluating: {set2:target:osmohlr-usermanual__2.svg}
asciidoc: control_if.adoc: line 32: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__2.svg" -Tsvg - && echo " "
Build _temp_osmohlr-vty-reference.pdf
asciidoc: control_if.adoc: line 40: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 40: evaluating: {set2:target:osmohlr-usermanual__3.svg}
asciidoc: control_if.adoc: line 46: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__3.svg" -Tsvg - && echo " "
asciidoc: control_if.adoc: line 77: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 77: evaluating: {set2:target:osmohlr-usermanual__4.svg}
asciidoc: control_if.adoc: line 83: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__4.svg" -Tsvg -
asciidoc: control_if.adoc: line 88: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 88: evaluating: {set2:target:osmohlr-usermanual__5.svg}
asciidoc: control_if.adoc: line 94: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__5.svg" -Tsvg -
asciidoc: control_if.adoc: line 104: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 104: evaluating: {set2:target:osmohlr-usermanual__6.svg}
asciidoc: control_if.adoc: line 110: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__6.svg" -Tsvg -
asciidoc: control_if.adoc: line 115: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 115: evaluating: {set2:target:osmohlr-usermanual__7.svg}
asciidoc: control_if.adoc: line 121: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__7.svg" -Tsvg -
asciidoc: control_if.adoc: line 131: evaluating: {counter2:target-number}
asciidoc: control_if.adoc: line 131: evaluating: {set2:target:osmohlr-usermanual__8.svg}
asciidoc: control_if.adoc: line 136: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__8.svg" -Tsvg -
asciidoc: include: /build/doc/manuals/chapters/dgsm.adoc
asciidoc: osmohlr-usermanual.adoc: line 27: reading: /build/doc/manuals/chapters/dgsm.adoc
asciidoc: dgsm.adoc: line 38: evaluating: {counter2:target-number}
asciidoc: dgsm.adoc: line 38: evaluating: {set2:target:osmohlr-usermanual__9.svg}
asciidoc: dgsm.adoc: line 61: filtering: dot -o "/build/doc/manuals/osmohlr-usermanual__9.svg" -T svg && echo " "
asciidoc: dgsm.adoc: line 86: evaluating: {counter2:target-number}
asciidoc: dgsm.adoc: line 86: evaluating: {set2:target:osmohlr-usermanual__10.svg}
asciidoc: dgsm.adoc: line 105: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__10.svg" -Tsvg -
asciidoc: dgsm.adoc: line 113: evaluating: {counter2:target-number}
asciidoc: dgsm.adoc: line 113: evaluating: {set2:target:osmohlr-usermanual__11.svg}
asciidoc: dgsm.adoc: line 133: filtering: dot -o "/build/doc/manuals/osmohlr-usermanual__11.svg" -T svg && echo " "
asciidoc: include: /build/doc/manuals/common/chapters/gsup.adoc
asciidoc: osmohlr-usermanual.adoc: line 29: reading: /build/doc/manuals/common/chapters/gsup.adoc
asciidoc: gsup.adoc: line 63: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 63: evaluating: {set2:target:osmohlr-usermanual__12.svg}
asciidoc: gsup.adoc: line 70: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__12.svg" -Tsvg -
asciidoc: gsup.adoc: line 75: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 75: evaluating: {set2:target:osmohlr-usermanual__13.svg}
asciidoc: gsup.adoc: line 82: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__13.svg" -Tsvg -
asciidoc: gsup.adoc: line 92: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 92: evaluating: {set2:target:osmohlr-usermanual__14.svg}
asciidoc: gsup.adoc: line 98: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__14.svg" -Tsvg -
asciidoc: gsup.adoc: line 113: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 113: evaluating: {set2:target:osmohlr-usermanual__15.svg}
asciidoc: gsup.adoc: line 122: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__15.svg" -Tsvg -
asciidoc: gsup.adoc: line 127: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 127: evaluating: {set2:target:osmohlr-usermanual__16.svg}
asciidoc: gsup.adoc: line 134: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__16.svg" -Tsvg -
asciidoc: gsup.adoc: line 144: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 144: evaluating: {set2:target:osmohlr-usermanual__17.svg}
asciidoc: gsup.adoc: line 151: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__17.svg" -Tsvg -
asciidoc: gsup.adoc: line 156: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 156: evaluating: {set2:target:osmohlr-usermanual__18.svg}
asciidoc: gsup.adoc: line 163: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__18.svg" -Tsvg -
asciidoc: gsup.adoc: line 175: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 175: evaluating: {set2:target:osmohlr-usermanual__19.svg}
asciidoc: gsup.adoc: line 182: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__19.svg" -Tsvg -
asciidoc: gsup.adoc: line 194: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 194: evaluating: {set2:target:osmohlr-usermanual__20.svg}
asciidoc: gsup.adoc: line 201: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__20.svg" -Tsvg -
asciidoc: gsup.adoc: line 213: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 213: evaluating: {set2:target:osmohlr-usermanual__21.svg}
asciidoc: gsup.adoc: line 220: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__21.svg" -Tsvg -
asciidoc: gsup.adoc: line 239: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 239: evaluating: {set2:target:osmohlr-usermanual__22.svg}
asciidoc: gsup.adoc: line 251: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__22.svg" -Tsvg -
asciidoc: gsup.adoc: line 260: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 260: evaluating: {set2:target:osmohlr-usermanual__23.svg}
asciidoc: gsup.adoc: line 278: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__23.svg" -Tsvg -
asciidoc: gsup.adoc: line 289: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 289: evaluating: {set2:target:osmohlr-usermanual__24.svg}
asciidoc: gsup.adoc: line 297: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__24.svg" -Tsvg -
asciidoc: gsup.adoc: line 314: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 314: evaluating: {set2:target:osmohlr-usermanual__25.svg}
asciidoc: gsup.adoc: line 321: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__25.svg" -Tsvg -
asciidoc: gsup.adoc: line 1249: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1249: evaluating: {set2:target:osmohlr-usermanual__26.svg}
asciidoc: gsup.adoc: line 1261: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__26.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1282: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1282: evaluating: {set2:target:osmohlr-usermanual__27.svg}
asciidoc: gsup.adoc: line 1291: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__27.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1387: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1387: evaluating: {set2:target:osmohlr-usermanual__28.svg}
asciidoc: gsup.adoc: line 1396: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__28.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1469: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1469: evaluating: {set2:target:osmohlr-usermanual__29.svg}
asciidoc: gsup.adoc: line 1477: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__29.svg" -Tsvg - && echo " "
'osmohlr-vty-reference.pdf' successfully built
+ rm /build/doc/manuals/generated/_temp_osmohlr-vty-reference.xml
asciidoc: gsup.adoc: line 1487: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1487: evaluating: {set2:target:osmohlr-usermanual__30.svg}
asciidoc: gsup.adoc: line 1500: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__30.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1514: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1514: evaluating: {set2:target:osmohlr-usermanual__31.svg}
asciidoc: gsup.adoc: line 1529: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__31.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1549: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1549: evaluating: {set2:target:osmohlr-usermanual__32.svg}
asciidoc: gsup.adoc: line 1558: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__32.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1571: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1571: evaluating: {set2:target:osmohlr-usermanual__33.svg}
asciidoc: gsup.adoc: line 1578: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__33.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1596: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1596: evaluating: {set2:target:osmohlr-usermanual__34.svg}
asciidoc: gsup.adoc: line 1611: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__34.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1679: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1679: evaluating: {set2:target:osmohlr-usermanual__35.svg}
asciidoc: gsup.adoc: line 1688: filtering: "/usr/bin/python3" "./build/filter-wrapper.py" mscgen -o "/build/doc/manuals/osmohlr-usermanual__35.svg" -Tsvg -
asciidoc: gsup.adoc: line 1711: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1711: evaluating: {set2:target:osmohlr-usermanual__36.svg}
asciidoc: gsup.adoc: line 1721: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__36.svg" -Tsvg - && echo " "
asciidoc: gsup.adoc: line 1846: evaluating: {counter2:target-number}
asciidoc: gsup.adoc: line 1846: evaluating: {set2:target:osmohlr-usermanual__37.svg}
asciidoc: gsup.adoc: line 1854: filtering: packetdiag3 -o "/build/doc/manuals/osmohlr-usermanual__37.svg" -Tsvg - && echo " "
asciidoc: include: /build/doc/manuals/common/chapters/vty_cpu_sched.adoc
asciidoc: osmohlr-usermanual.adoc: line 31: reading: /build/doc/manuals/common/chapters/vty_cpu_sched.adoc
asciidoc: include: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: osmohlr-usermanual.adoc: line 33: reading: /build/doc/manuals/common/chapters/port_numbers.adoc
asciidoc: include: /build/doc/manuals/common/chapters/bibliography.adoc
asciidoc: osmohlr-usermanual.adoc: line 35: reading: /build/doc/manuals/common/chapters/bibliography.adoc
asciidoc: include: /build/doc/manuals/common/chapters/glossary.adoc
asciidoc: osmohlr-usermanual.adoc: line 37: reading: /build/doc/manuals/common/chapters/glossary.adoc
asciidoc: include: /build/doc/manuals/common/chapters/gfdl.adoc
asciidoc: osmohlr-usermanual.adoc: line 39: reading: /build/doc/manuals/common/chapters/gfdl.adoc
a2x: args: ['-vv', '-L', "--asciidoc-opts=-f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common' ", '--dblatex-opts=--config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0 ', '-a', 'docinfo', '-a', 'revnumber=DRAFT 1.8.0-2-g7c06', '-a', 'revdate=2024-Aug-07', 'osmohlr-usermanual.adoc']
a2x: resource files: []
a2x: resource directories: ['/etc/asciidoc/stylesheets']
a2x: executing: asciidoc ['-f', '/opt/osmo-gsm-manuals/build/mscgen-filter.conf', '-f', '/opt/osmo-gsm-manuals/build/diag-filter.conf', '-f', '/opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf', '-f', '/opt/osmo-gsm-manuals/build/graphviz-filter.conf', '-a', 'srcdir=/build/doc/manuals', '-a', 'commondir=/opt/osmo-gsm-manuals/common', ('--attribute', 'docinfo'), ('--attribute', 'revnumber=DRAFT 1.8.0-2-g7c06'), ('--attribute', 'revdate=2024-Aug-07'), ('--verbose',), ('--backend', 'docbook'), ('-a', 'a2x-format=pdf'), ('--out-file', '/build/doc/manuals/osmohlr-usermanual.xml')]
a2x: executing: "dblatex" -t pdf -p "/etc/asciidoc/dblatex/asciidoc-dblatex.xsl" -s "/etc/asciidoc/dblatex/asciidoc-dblatex.sty" --config /opt/osmo-gsm-manuals/build/dblatex_config.xml -s /opt/osmo-gsm-manuals/build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0 -V "/build/doc/manuals/osmohlr-usermanual.xml"
Build the book set list...
xsltproc -o doclist.txt --xinclude --xincludestyle doclist.xsl /build/doc/manuals/osmohlr-usermanual.xml
Build the listings...
xsltproc -o listings.xml --xinclude --xincludestyle --param current.dir '/build/doc/manuals' /usr/share/dblatex/xsl/common/mklistings.xsl /build/doc/manuals/osmohlr-usermanual.xml
xsltproc -o osmohlr-usermanual.rtex --xinclude --xincludestyle --param listings.xml '/tmp/tmpr3e5id1a/listings.xml' --param current.dir '/build/doc/manuals' /tmp/tmpr3e5id1a/custom.xsl /build/doc/manuals/osmohlr-usermanual.xml
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Error: no ID for constraint linkend: gsup-msg-purge-ms-reqs.
XRef to nonexistent id: gsup-msg-purge-ms-reqs
Error: no ID for constraint linkend: gsup-ie-pdptaddress.
XRef to nonexistent id: gsup-ie-pdptaddress
Error: no ID for constraint linkend: ieee-802.11.
XRef to nonexistent id: ieee-802.11
Section level > 6 not well supported for bibliodiv
Image 'dblatex' not found
rsvg-convert -a -f pdf -o fig0.pdf /build/doc/manuals/osmohlr-usermanual__1.svg
Cannot convert './common/images/wireshark-gsmtap-log.png' to pdf
rsvg-convert -a -f pdf -o fig1.pdf /build/doc/manuals/osmohlr-usermanual__2.svg
rsvg-convert -a -f pdf -o fig2.pdf /build/doc/manuals/osmohlr-usermanual__3.svg
rsvg-convert -a -f pdf -o fig3.pdf /build/doc/manuals/osmohlr-usermanual__4.svg
rsvg-convert -a -f pdf -o fig4.pdf /build/doc/manuals/osmohlr-usermanual__5.svg
rsvg-convert -a -f pdf -o fig5.pdf /build/doc/manuals/osmohlr-usermanual__6.svg
rsvg-convert -a -f pdf -o fig6.pdf /build/doc/manuals/osmohlr-usermanual__7.svg
rsvg-convert -a -f pdf -o fig7.pdf /build/doc/manuals/osmohlr-usermanual__8.svg
rsvg-convert -a -f pdf -o fig8.pdf /build/doc/manuals/osmohlr-usermanual__9.svg
rsvg-convert -a -f pdf -o fig9.pdf /build/doc/manuals/osmohlr-usermanual__10.svg
rsvg-convert -a -f pdf -o fig10.pdf /build/doc/manuals/osmohlr-usermanual__11.svg
rsvg-convert -a -f pdf -o fig11.pdf /build/doc/manuals/osmohlr-usermanual__12.svg
rsvg-convert -a -f pdf -o fig12.pdf /build/doc/manuals/osmohlr-usermanual__13.svg
rsvg-convert -a -f pdf -o fig13.pdf /build/doc/manuals/osmohlr-usermanual__14.svg
rsvg-convert -a -f pdf -o fig14.pdf /build/doc/manuals/osmohlr-usermanual__15.svg
rsvg-convert -a -f pdf -o fig15.pdf /build/doc/manuals/osmohlr-usermanual__16.svg
rsvg-convert -a -f pdf -o fig16.pdf /build/doc/manuals/osmohlr-usermanual__17.svg
rsvg-convert -a -f pdf -o fig17.pdf /build/doc/manuals/osmohlr-usermanual__18.svg
rsvg-convert -a -f pdf -o fig18.pdf /build/doc/manuals/osmohlr-usermanual__19.svg
rsvg-convert -a -f pdf -o fig19.pdf /build/doc/manuals/osmohlr-usermanual__20.svg
rsvg-convert -a -f pdf -o fig20.pdf /build/doc/manuals/osmohlr-usermanual__21.svg
rsvg-convert -a -f pdf -o fig21.pdf /build/doc/manuals/osmohlr-usermanual__22.svg
rsvg-convert -a -f pdf -o fig22.pdf /build/doc/manuals/osmohlr-usermanual__23.svg
rsvg-convert -a -f pdf -o fig23.pdf /build/doc/manuals/osmohlr-usermanual__24.svg
rsvg-convert -a -f pdf -o fig24.pdf /build/doc/manuals/osmohlr-usermanual__25.svg
rsvg-convert -a -f pdf -o fig25.pdf /build/doc/manuals/osmohlr-usermanual__26.svg
rsvg-convert -a -f pdf -o fig26.pdf /build/doc/manuals/osmohlr-usermanual__27.svg
rsvg-convert -a -f pdf -o fig27.pdf /build/doc/manuals/osmohlr-usermanual__28.svg
rsvg-convert -a -f pdf -o fig28.pdf /build/doc/manuals/osmohlr-usermanual__29.svg
rsvg-convert -a -f pdf -o fig29.pdf /build/doc/manuals/osmohlr-usermanual__30.svg
rsvg-convert -a -f pdf -o fig30.pdf /build/doc/manuals/osmohlr-usermanual__31.svg
rsvg-convert -a -f pdf -o fig31.pdf /build/doc/manuals/osmohlr-usermanual__32.svg
rsvg-convert -a -f pdf -o fig32.pdf /build/doc/manuals/osmohlr-usermanual__33.svg
rsvg-convert -a -f pdf -o fig33.pdf /build/doc/manuals/osmohlr-usermanual__34.svg
rsvg-convert -a -f pdf -o fig34.pdf /build/doc/manuals/osmohlr-usermanual__35.svg
rsvg-convert -a -f pdf -o fig35.pdf /build/doc/manuals/osmohlr-usermanual__36.svg
rsvg-convert -a -f pdf -o fig36.pdf /build/doc/manuals/osmohlr-usermanual__37.svg
Build osmohlr-usermanual.pdf
built-in module pdftex registered
no support found for ifthen
no support found for ifxetex
no support found for fontspec
no support found for xltxtra
no support found for fontenc
no support found for inputenc
no support found for fancybox
built-in module makeidx registered
no support found for custom-dblatex
built-in module bibtopic registered
building additional files...
checking if compiling is necessary...
the output file doesn't exist
pdflatex -interaction=batchmode osmohlr-usermanual.tex
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 tctt0900
mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode; input tctt0900
This is METAFONT, Version 2.71828182 (TeX Live 2022/Debian) (preloaded base=mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tctt0900.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/tctt.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymb.mf
Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txpseudo.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txaccent.mf
Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [27] [29])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txgen.mf
Ok [100] [109] [98] [99] [108])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txsymbol.mf
Ok [13] [18] [21] [22] [23] [24] [25] [26] [28] [31] [32] [36] [39] [44]
[45] [46] [42] [47] [60] [61] [62] [77] [79] [87] [110] [91] [93] [94] [95]
[96] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137]
[138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149]
[150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161]
[162] [163] [164] [165] [166] [167] [168] [169] [171] [172] [173] [174]
[175] [177] [176] [180] [181] [182] [183] [184] [187] [191] [214] [246])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txromod.mf
Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrsuper.mf
Ok [185] [178] [179] [170] [186])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/txrfract.mf
Ok [188] [189] [190]) ) ) )
Font metrics written on tctt0900.tfm.
Output written on tctt0900.600gf (128 characters, 17564 bytes).
Transcript written on tctt0900.log.
mktexpk: /build/.texlive2022/texmf-var/fonts/pk/ljfour/jknappen/ec/tctt0900.600pk: successfully generated.
running post-compilation scripts...
[index] the index file /tmp/tmpr3e5id1a/osmohlr-usermanual.idx is empty
osmohlr-usermanual.aux MD5 checksum changed
osmohlr-usermanual.toc MD5 checksum changed
the /tmp/tmpr3e5id1a/osmohlr-usermanual.aux file has changed
pdflatex -interaction=batchmode osmohlr-usermanual.tex
running post-compilation scripts...
[index] the index file /tmp/tmpr3e5id1a/osmohlr-usermanual.idx is empty
osmohlr-usermanual.aux MD5 checksum changed
the /tmp/tmpr3e5id1a/osmohlr-usermanual.aux file has changed but no re-run required?
no new compilation is needed
running last-compilation scripts...
'osmohlr-usermanual.pdf' successfully built
a2x: deleting /build/doc/manuals/osmohlr-usermanual.xml
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making all in sql
make[2]: Entering directory '/build/sql'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/build/sql'
Making all in contrib
make[2]: Entering directory '/build/contrib'
Making all in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/contrib/systemd'
Making all in dgsm
make[3]: Entering directory '/build/contrib/dgsm'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/contrib/dgsm'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
Making all in tests
make[2]: Entering directory '/build/tests'
Making all in auc
make[3]: Entering directory '/build/tests/auc'
Making all in gen_ts_55_205_test_sets
make[4]: Entering directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Entering directory '/build/tests/auc'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/tests/auc'
make[3]: Leaving directory '/build/tests/auc'
Making all in db
make[3]: Entering directory '/build/tests/db'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/db'
Making all in gsup
make[3]: Entering directory '/build/tests/gsup'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/gsup'
Making all in db_upgrade
make[3]: Entering directory '/build/tests/db_upgrade'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/db_upgrade'
Making all in mslookup
make[3]: Entering directory '/build/tests/mslookup'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/build/tests/mslookup'
make[3]: Entering directory '/build/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
make[2]: Entering directory '/build'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/build'
make[1]: Leaving directory '/build'
+ make check
make check-recursive
make[1]: Entering directory '/build'
Making check in src
make[2]: Entering directory '/build/src'
make check-recursive
make[3]: Entering directory '/build/src'
Making check in gsupclient
make[4]: Entering directory '/build/src/gsupclient'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/src/gsupclient'
Making check in mslookup
make[4]: Entering directory '/build/src/mslookup'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/src/mslookup'
make[4]: Entering directory '/build/src'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/build/src'
make[3]: Leaving directory '/build/src'
make[2]: Leaving directory '/build/src'
Making check in include
make[2]: Entering directory '/build/include'
Making check in osmocom
make[3]: Entering directory '/build/include/osmocom'
Making check in hlr
make[4]: Entering directory '/build/include/osmocom/hlr'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/hlr'
Making check in mslookup
make[4]: Entering directory '/build/include/osmocom/mslookup'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/include/osmocom/mslookup'
make[4]: Entering directory '/build/include/osmocom'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/build/include/osmocom'
make[3]: Leaving directory '/build/include/osmocom'
make[3]: Entering directory '/build/include'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/include'
make[2]: Leaving directory '/build/include'
Making check in doc
make[2]: Entering directory '/build/doc'
Making check in examples
make[3]: Entering directory '/build/doc/examples'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/doc/examples'
Making check in manuals
make[3]: Entering directory '/build/doc/manuals'
if [ -n "$ASCIIDOC_WARNINGS_CHECK" ]; then \
make osmohlr-usermanual.check; \
fi
make[4]: Entering directory '/build/doc/manuals'
if ! [ -f osmohlr-usermanual.adoc ]; then \
ln -s osmohlr-usermanual.adoc osmohlr-usermanual.adoc; \
fi
asciidoc -v -f /opt/osmo-gsm-manuals/build/mscgen-filter.conf -f /opt/osmo-gsm-manuals/build/diag-filter.conf -f /opt/osmo-gsm-manuals/build/docinfo-releaseinfo.conf -f /opt/osmo-gsm-manuals/build/graphviz-filter.conf -a srcdir='/build/doc/manuals' -a commondir='/opt/osmo-gsm-manuals/common' osmohlr-usermanual.adoc > osmohlr-usermanual.check 2>&1
touch osmohlr-usermanual.check
make[4]: Leaving directory '/build/doc/manuals'
make[3]: Leaving directory '/build/doc/manuals'
make[3]: Entering directory '/build/doc'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/doc'
make[2]: Leaving directory '/build/doc'
Making check in sql
make[2]: Entering directory '/build/sql'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/build/sql'
Making check in contrib
make[2]: Entering directory '/build/contrib'
Making check in systemd
make[3]: Entering directory '/build/contrib/systemd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/contrib/systemd'
Making check in dgsm
make[3]: Entering directory '/build/contrib/dgsm'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/contrib/dgsm'
make[3]: Entering directory '/build/contrib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/build/contrib'
make[2]: Leaving directory '/build/contrib'
Making check in tests
make[2]: Entering directory '/build/tests'
Making check in auc
make[3]: Entering directory '/build/tests/auc'
Making check in gen_ts_55_205_test_sets
make[4]: Entering directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/build/tests/auc/gen_ts_55_205_test_sets'
make[4]: Entering directory '/build/tests/auc'
make auc_test auc_ts_55_205_test_sets
make[5]: Entering directory '/build/tests/auc'
CC auc_test.o
CCLD auc_test
../../tests/auc/gen_ts_55_205_test_sets/pdftxt_2_c.py > auc_ts_55_205_test_sets.c
CC auc_ts_55_205_test_sets.o
CCLD auc_ts_55_205_test_sets
make[5]: Leaving directory '/build/tests/auc'
make[4]: Leaving directory '/build/tests/auc'
make[3]: Leaving directory '/build/tests/auc'
Making check in db
make[3]: Entering directory '/build/tests/db'
make db_test
make[4]: Entering directory '/build/tests/db'
CC db_test.o
CCLD db_test
make[4]: Leaving directory '/build/tests/db'
make[3]: Leaving directory '/build/tests/db'
Making check in gsup
make[3]: Entering directory '/build/tests/gsup'
make gsup_test
make[4]: Entering directory '/build/tests/gsup'
CC gsup_test.o
CCLD gsup_test
make[4]: Leaving directory '/build/tests/gsup'
make[3]: Leaving directory '/build/tests/gsup'
Making check in db_upgrade
make[3]: Entering directory '/build/tests/db_upgrade'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/build/tests/db_upgrade'
Making check in mslookup
make[3]: Entering directory '/build/tests/mslookup'
make mdns_test mslookup_client_test mslookup_test mslookup_client_mdns_test
make[4]: Entering directory '/build/tests/mslookup'
CC mdns_test.o
CCLD mdns_test
CC mslookup_client_test.o
CCLD mslookup_client_test
CC mslookup_test.o
CCLD mslookup_test
CC mslookup_client_mdns_test.o
CCLD mslookup_client_mdns_test
make[4]: Leaving directory '/build/tests/mslookup'
make[3]: Leaving directory '/build/tests/mslookup'
make[3]: Entering directory '/build/tests'
make check-local
make[4]: Entering directory '/build/tests'
:;{ \
echo '# Signature of the current package.' && \
echo 'm4_define([AT_PACKAGE_NAME],' && \
echo ' [osmo-hlr])' && \
echo 'm4_define([AT_PACKAGE_TARNAME],' && \
echo ' [osmo-hlr])' && \
echo 'm4_define([AT_PACKAGE_VERSION],' && \
echo ' [1.8.0.2-7c06])' && \
echo 'm4_define([AT_PACKAGE_STRING],' && \
echo ' [osmo-hlr 1.8.0.2-7c06])' && \
echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \
echo ' [openbsc@lists.osmocom.org])'; \
echo 'm4_define([AT_PACKAGE_URL],' && \
echo ' [])'; \
} >'./package.m4'
/bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at
mv testsuite.tmp testsuite
/bin/bash './testsuite'
## --------------------------------- ##
## osmo-hlr 1.8.0.2-7c06 test suite. ##
## --------------------------------- ##
Regression tests.
1: auc ok
2: auc_ts_55_205_test_sets ok
3: gsup ok
4: db ok
5: db_upgrade ok
6: mdns ok
7: mslookup ok
8: mslookup_client ok
9: mslookup_client_mdns ok
## ------------- ##
## Test results. ##
## ------------- ##
All 9 tests were successful.
make python-tests
make[5]: Entering directory '/build/tests'
make vty-test
make[6]: Entering directory '/build/tests'
rm -f hlr_vty_test.db
sqlite3 hlr_vty_test.db < ../sql/hlr.sql
sqlite3 hlr_vty_test.db < ./test_subscriber.vty.sql
osmo_verify_transcript_vty.py -v \
-n OsmoHLR -p 4258 \
-r "../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_vty_test.db" \
./*.vty
[1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:813)
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database: hlr_vty_test.db (db.c:599)[0;m
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database 'hlr_vty_test.db' has HLR DB schema version 7 (db.c:677)[0;m
[1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet 127.0.0.1 4258 (telnet_interface.c:88)
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL at 127.0.0.1 4259 (control_if.c:1024)[0;m
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_vty_test.db
OsmoHLR> ?
show Show running system information
list Print command list
exit Exit current mode and down to previous mode
help Description of the interactive help system
enable Turn on privileged mode command
terminal Set terminal line parameters
who Display who is on vty
logging Configure logging
no Negate a command or set its defaults
logp Print a message on all log outputs; useful for placing markers in test logs
subscriber Subscriber management commands
OsmoHLR> list
show pid
show uptime
show version
show online-help
list [with-flags]
exit
help
show vty-attributes
show vty-attributes (application|library|global)
enable [expert-mode]
terminal length <0-512>
terminal no length
who
show history
logging enable
logging disable
logging filter all (0|1)
logging color (0|1)
logging timestamp (0|1)
logging print extended-timestamp (0|1)
logging print thread-id (0|1)
logging print category (0|1)
logging print category-hex (0|1)
logging print level (0|1)
logging print file (0|1|basename) [last]
logging set-log-mask MASK
logging level (main|db|auc|ss|mslookup|lu|dgsm|ctrl|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal)
logging level set-all (debug|info|notice|error|fatal)
logging level force-all (debug|info|notice|error|fatal)
no logging level force-all
logp (main|db|auc|ss|mslookup|lu|dgsm|ctrl|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal) .LOGMESSAGE
show logging vty
show alarms
show talloc-context (application|global|all) (full|brief|DEPTH)
show talloc-context (application|global|all) (full|brief|DEPTH) tree ADDRESS
show talloc-context (application|global|all) (full|brief|DEPTH) filter REGEXP
show stats [skip-zero]
show stats level (global|peer|subscriber) [skip-zero]
show asciidoc counters
show rate-counters [skip-zero]
show gsup-connections
show subscribers all
show subscribers (imei|imsi|msisdn) FILTER
show subscribers (cs|ps) (on|off)
show subscribers last-seen
subscriber (imsi|msisdn|id|imei) IDENT show
show subscriber (imsi|msisdn|id|imei) IDENT
show mslookup services
show cpu-sched threads
OsmoHLR> enable
OsmoHLR# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
disable Turn off privileged mode command
configure Configuration from vty interface
copy Copy configuration
shutdown Request a shutdown of the program
terminal Set terminal line parameters
who Display who is on vty
logging Configure logging
no Negate a command or set its defaults
logp Print a message on all log outputs; useful for placing markers in test logs
stats Stats related commands
subscriber Subscriber management commands
OsmoHLR# configure terminal
OsmoHLR(config)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
hostname Set system's network name
no Negate a command or set its defaults
password Assign the terminal connection password
enable Modify enable password parameters
banner Set banner string
service Set up miscellaneous service
line Configure a terminal line
ctrl Configure the Control Interface
log Configure logging sub-system
stats Configure stats sub-system
stats-tcp Configure stats sub-system
hlr Configure the HLR
mslookup Configure Distributed GSM mslookup
cpu-sched Configure CPU Scheduler related settings
OsmoHLR(config)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
hostname WORD
no hostname [HOSTNAME]
password (8|) WORD
password LINE
enable password (8|) WORD
enable password LINE
no enable password
banner motd default
banner motd file [FILE]
no banner motd
service terminal-length <0-512>
no service terminal-length [<0-512>]
line vty
service advanced-vty
no service advanced-vty
show history
ctrl
log stderr [blocking-io]
no log stderr
log file FILENAME [blocking-io]
no log file FILENAME
log alarms <2-32700>
no log alarms
log syslog (authpriv|cron|daemon|ftp|lpr|mail|news|user|uucp)
log syslog local <0-7>
no log syslog
log systemd-journal [raw]
no log systemd-journal
log gsmtap [HOSTNAME]
no log gsmtap [HOSTNAME]
stats reporter statsd [NAME]
no stats reporter statsd [NAME]
stats reporter log [NAME]
no stats reporter log [NAME]
stats interval <0-65535>
stats-tcp interval <0-65535>
stats-tcp batch-size <1-65535>
hlr
mslookup
cpu-sched
OsmoHLR(config)# hlr
OsmoHLR(config-hlr)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
gsup Configure GSUP options
ps Configure the PS options
database Set the path to the HLR database file
euse Configure a particular External USSD Entity
no Negate a command or set its defaults
ussd USSD Configuration
ncss-guard-timeout Set guard timer for NCSS (call independent SS) session activity
smsc Configuration of GSUP routing to SMSCs
reject-cause GSUP/GMM cause to be sent
store-imei Save the IMEI in the database when receiving Check IMEI requests. Note that an MSC does not necessarily send Check IMEI requests (for OsmoMSC, you may want to set 'check-imei-rqd 1').
subscriber-create-on-demand Make a new record when a subscriber is first seen.
OsmoHLR(config-hlr)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
gsup
ps
database PATH
euse NAME
no euse NAME
ussd route prefix PREFIX internal (own-msisdn|own-imsi|test-idle)
ussd route prefix PREFIX external EUSE
no ussd route prefix PREFIX
ussd default-route external EUSE
no ussd default-route
ncss-guard-timeout <0-255>
smsc entity NAME
no smsc entity NAME
smsc route NUMBER NAME
no smsc route NUMBER
smsc default-route NAME
no smsc default-route
reject-cause (not-found|no-proxy) (imsi-unknown|illegal-ms|plmn-not-allowed|la-not-allowed|roaming-not-allowed|no-suitable-cell-in-la|net-fail|congestion|auth-unacceptable|proto-error-unspec)
store-imei
no store-imei
subscriber-create-on-demand (no-msisdn|msisdn-from-imsi|<3-15>) (none|cs|ps|cs+ps)
no subscriber-create-on-demand
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
bind Listen/Bind related socket option
ipa-name Set the IPA name of this HLR, for proxying to remote HLRs
OsmoHLR(config-hlr-gsup)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
bind ip A.B.C.D
ipa-name NAME
OsmoHLR(config-hlr-gsup)# exit
OsmoHLR(config-hlr)# exit
OsmoHLR(config)# exit
OsmoHLR# configure terminal
OsmoHLR(config)# hlr
OsmoHLR(config-hlr)# store-imei
OsmoHLR(config-hlr)# gsup
OsmoHLR(config-hlr-gsup)# end
OsmoHLR# disable
OsmoHLR> enable
OsmoHLR# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
store-imei
database hlr_vty_test.db
no subscriber-create-on-demand
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR# configure terminal
OsmoHLR(config)# mslookup
OsmoHLR(config-mslookup)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
mdns Multicast DNS related configuration
no Negate a command or set its defaults
server Enable and configure Distributed GSM mslookup server
client Enable and configure Distributed GSM mslookup client
OsmoHLR(config-mslookup)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
mdns bind [IP] [<1-65535>]
mdns domain-suffix DOMAIN_SUFFIX
no mdns bind
server
no server
client
no client
OsmoHLR(config-mslookup)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
mdns Multicast DNS related configuration
no Negate a command or set its defaults
server Enable and configure Distributed GSM mslookup server
client Enable and configure Distributed GSM mslookup client
OsmoHLR(config-mslookup)# no?
no Negate a command or set its defaults
OsmoHLR(config-mslookup)# no ?
mdns Disable both server and client for mDNS mslookup
server Disable Distributed GSM mslookup server
client Disable Distributed GSM mslookup client
OsmoHLR(config-mslookup)# mdns ?
bind Convenience shortcut: enable and configure both server and client for mDNS mslookup
domain-suffix mDNS domain suffix (default: mdns.osmocom.org). This is appended and stripped from mDNS packets during encoding/decoding, so we don't collide with top-level domains administrated by IANA
OsmoHLR(config-mslookup)# mdns bind ?
[IP] multicast IPv4 address like 239.192.23.42 or IPv6 address like ff08::23:42
OsmoHLR(config-mslookup)# mdns bind 1.2.3.4 ?
[<1-65535>] mDNS UDP Port number
OsmoHLR(config-mslookup)# mdns domain-suffix ?
DOMAIN_SUFFIX mDNS domain suffix (default: mdns.osmocom.org). This is appended and stripped from mDNS packets during encoding/decoding, so we don't collide with top-level domains administrated by IANA
OsmoHLR(config-mslookup)# server
OsmoHLR(config-mslookup-server)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
mdns Multicast DNS related configuration
no Negate a command or set its defaults
service Configure addresses of local services, as sent in replies to remote mslookup requests.
msc Configure services for individual local MSCs
OsmoHLR(config-mslookup-server)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
mdns bind [IP] [<1-65535>]
mdns domain-suffix DOMAIN_SUFFIX
no mdns bind
service NAME at IP <1-65535>
no service NAME
no service NAME at IP <1-65535>
msc ipa-name .IPA_NAME
OsmoHLR(config-mslookup-server)# mdns ?
bind Configure where the mDNS server listens for mslookup requests
domain-suffix mDNS domain suffix (default: mdns.osmocom.org). This is appended and stripped from mDNS packets during encoding/decoding, so we don't collide with top-level domains administrated by IANA
OsmoHLR(config-mslookup-server)# mdns bind ?
[IP] multicast IPv4 address like 239.192.23.42 or IPv6 address like ff08::23:42
OsmoHLR(config-mslookup-server)# mdns bind 1.2.3.4 ?
[<1-65535>] mDNS UDP Port number
OsmoHLR(config-mslookup-server)# service?
service Configure addresses of local services, as sent in replies to remote mslookup requests.
OsmoHLR(config-mslookup-server)# service ?
NAME mslookup service name, e.g. sip.voice or smpp.sms
OsmoHLR(config-mslookup-server)# service foo ?
at at
OsmoHLR(config-mslookup-server)# service foo at ?
IP IPv4 address like 1.2.3.4 or IPv6 address like a:b:c:d::1
OsmoHLR(config-mslookup-server)# service foo at 1.2.3.4 ?
<1-65535> Service-specific port number
OsmoHLR(config-mslookup-server)# no ?
mdns Disable server for mDNS mslookup (do not answer remote requests)
service Remove one or more service address entries
OsmoHLR(config-mslookup-server)# no service ?
NAME mslookup service name, e.g. sip.voice or smpp.sms
OsmoHLR(config-mslookup-server)# no service foo ?
at at
<cr>
OsmoHLR(config-mslookup-server)# no service foo at ?
IP IPv4 address like 1.2.3.4 or IPv6 address like a:b:c:d::1
OsmoHLR(config-mslookup-server)# no service foo at 1.2.3.4 ?
<1-65535> Service-specific port number
OsmoHLR(config-mslookup-server)# msc?
msc Configure services for individual local MSCs
OsmoHLR(config-mslookup-server)# msc ?
ipa-name Identify locally connected MSC by IPA Unit Name
OsmoHLR(config-mslookup-server)# msc ipa-name ?
IPA_NAME IPA Unit Name of the local MSC to configure
OsmoHLR(config-mslookup-server)# msc ipa-name MSC-1
OsmoHLR(config-mslookup-server-msc)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
service Configure addresses of local services, as sent in replies to remote mslookup requests.
no Negate a command or set its defaults
OsmoHLR(config-mslookup-server-msc)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
service NAME at IP <1-65535>
no service NAME
no service NAME at IP <1-65535>
OsmoHLR(config-mslookup-server-msc)# service?
service Configure addresses of local services, as sent in replies to remote mslookup requests.
OsmoHLR(config-mslookup-server-msc)# service ?
NAME mslookup service name, e.g. sip.voice or smpp.sms
OsmoHLR(config-mslookup-server-msc)# service foo ?
at at
OsmoHLR(config-mslookup-server-msc)# service foo at ?
IP IPv4 address like 1.2.3.4 or IPv6 address like a:b:c:d::1
OsmoHLR(config-mslookup-server-msc)# service foo at 1.2.3.4 ?
<1-65535> Service-specific port number
OsmoHLR(config-mslookup-server-msc)# no ?
service Remove one or more service address entries
OsmoHLR(config-mslookup-server-msc)# no service ?
NAME mslookup service name, e.g. sip.voice or smpp.sms
OsmoHLR(config-mslookup-server-msc)# no service foo ?
at at
<cr>
OsmoHLR(config-mslookup-server-msc)# no service foo at ?
IP IPv4 address like 1.2.3.4 or IPv6 address like a:b:c:d::1
OsmoHLR(config-mslookup-server-msc)# no service foo at 1.2.3.4 ?
<1-65535> Service-specific port number
OsmoHLR(config-mslookup-server-msc)# exit
OsmoHLR(config-mslookup-server)# exit
OsmoHLR(config-mslookup)# client
OsmoHLR(config-mslookup-client)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
timeout How long should the mslookup client wait for remote responses before evaluating received results
mdns Multicast DNS related configuration
no Negate a command or set its defaults
gateway-proxy Configure a fixed IP address to send all GSUP requests for unknown IMSIs to, without invoking a lookup for IMSI
OsmoHLR(config-mslookup-client)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
timeout <1-100000>
mdns bind [IP] [<1-65535>]
mdns domain-suffix DOMAIN_SUFFIX
no mdns bind
gateway-proxy IP [<1-65535>]
no gateway-proxy
OsmoHLR(config-mslookup-client)# timeout?
timeout How long should the mslookup client wait for remote responses before evaluating received results
OsmoHLR(config-mslookup-client)# timeout ?
<1-100000> timeout in milliseconds
OsmoHLR(config-mslookup-client)# mdns?
mdns Multicast DNS related configuration
OsmoHLR(config-mslookup-client)# mdns bind?
bind Enable mDNS client, and configure multicast address to send mDNS mslookup requests to
OsmoHLR(config-mslookup-client)# mdns bind ?
[IP] multicast IPv4 address like 239.192.23.42 or IPv6 address like ff08::23:42
OsmoHLR(config-mslookup-client)# mdns bind 1.2.3.4 ?
[<1-65535>] mDNS UDP Port number
OsmoHLR(config-mslookup-client)# mdns domain-suffix?
domain-suffix mDNS domain suffix (default: mdns.osmocom.org). This is appended and stripped from mDNS packets during encoding/decoding, so we don't collide with top-level domains administrated by IANA
OsmoHLR(config-mslookup-client)# mdns domain-suffix ?
DOMAIN_SUFFIX mDNS domain suffix (default: mdns.osmocom.org). This is appended and stripped from mDNS packets during encoding/decoding, so we don't collide with top-level domains administrated by IANA
OsmoHLR(config-mslookup-client)# gateway-proxy?
gateway-proxy Configure a fixed IP address to send all GSUP requests for unknown IMSIs to, without invoking a lookup for IMSI
OsmoHLR(config-mslookup-client)# gateway-proxy ?
IP IP address of the remote HLR
OsmoHLR(config-mslookup-client)# gateway-proxy 1.2.3.4 ?
[<1-65535>] GSUP port number (omit for default 4222)
OsmoHLR(config-mslookup-client)# no?
no Negate a command or set its defaults
OsmoHLR(config-mslookup-client)# no ?
mdns Disable mDNS client, do not query remote services by mDNS
gateway-proxy Disable gateway proxy for GSUP with unknown IMSIs
OsmoHLR(config-mslookup-client)# gateway-proxy ?
IP IP address of the remote HLR
OsmoHLR(config-mslookup-client)# gateway-proxy 1.2.3.4 ?
[<1-65535>] GSUP port number (omit for default 4222)
OsmoHLR(config-mslookup-client)# do show mslookup?
mslookup Distributed GSM / mslookup related information
OsmoHLR(config-mslookup-client)# do show mslookup ?
services List configured service addresses as sent to remote mslookup requests
OsmoHLR(config-mslookup-client)# gateway-proxy 1.2.3.4
OsmoHLR(config-mslookup-client)# exit
OsmoHLR(config-mslookup)# mdns bind
[1;35m[1;33mDMSLOOKUP[0;m[1;35m [1;33mNOTICE[0;m[1;35m Started mslookup mDNS server, receiving mDNS requests at multicast 239.192.23.42:4266 (mslookup_server_mdns.c:153)[0;m
[1;35m[1;33mDDGSM[0;m[1;35m [1;33mNOTICE[0;m[1;35m Started mslookup mDNS client, sending mDNS requests to multicast 239.192.23.42:4266 (dgsm.c:237)[0;m
[1;35m[1;33mDDGSM[0;m[1;35m [1;33mNOTICE[0;m[1;35m mslookup client: all GSUP requests for unknown IMSIs will be forwarded to gateway-proxy 1.2.3.4:4222 (dgsm.c:243)[0;m
OsmoHLR(config-mslookup)# server
OsmoHLR(config-mslookup-server)# service qwert at 123.45.67.89 qwert
% Unknown command.
OsmoHLR(config-mslookup-server)# service qwert at qwert 1234
% mslookup server: Invalid address for service qwert: qwert 1234
OsmoHLR(config-mslookup-server)# service foo.bar at 123.45.67.89 1011
OsmoHLR(config-mslookup-server)# service baz.bar at 121.31.41.5 1617
OsmoHLR(config-mslookup-server)# service baz.bar at a:b:c::d 1819
OsmoHLR(config-mslookup-server)# msc ipa-name msc-901-70-23
OsmoHLR(config-mslookup-server-msc)# service foo.bar at 76.54.32.10 1234
OsmoHLR(config-mslookup-server-msc)# service baz.bar at 12.11.10.98 7654
OsmoHLR(config-mslookup-server-msc)# service baz.bar at 999:999:999::999 9999
OsmoHLR(config-mslookup-server-msc)# service baz.bar at dd:cc:bb::a 3210
OsmoHLR(config-mslookup-server-msc)# exit
OsmoHLR(config-mslookup-server)# msc ipa-name msc-901-70-42
OsmoHLR(config-mslookup-server-msc)# service foo.bar at 1.1.1.1 1111
OsmoHLR(config-mslookup-server-msc)# service baz.bar at 2.2.2.2 2222
OsmoHLR(config-mslookup-server-msc)# service baz.bar at 2222:2222:2222::2 2222
OsmoHLR(config-mslookup-server-msc)# do show mslookup services
Local GSUP HLR address returned in mslookup responses for local IMSIs: 127.0.0.1:4222
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
service baz.bar at a:b:c::d 1819
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
service baz.bar at dd:cc:bb::a 3210
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
service baz.bar at 2.2.2.2 2222
service baz.bar at 2222:2222:2222::2 2222
OsmoHLR(config-mslookup-server-msc)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
store-imei
database hlr_vty_test.db
no subscriber-create-on-demand
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
mslookup
server
mdns bind 239.192.23.42 4266
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
service baz.bar at a:b:c::d 1819
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
service baz.bar at dd:cc:bb::a 3210
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
service baz.bar at 2.2.2.2 2222
service baz.bar at 2222:2222:2222::2 2222
client
gateway-proxy 1.2.3.4 4222
mdns bind 239.192.23.42 4266
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-mslookup-server-msc)# no service baz.bar
OsmoHLR(config-mslookup-server-msc)# no service asdf
% mslookup server: cannot remove service 'asdf'
OsmoHLR(config-mslookup-server-msc)# exit
OsmoHLR(config-mslookup-server)# msc ipa-name msc-901-70-23
OsmoHLR(config-mslookup-server-msc)# no service baz.bar at dd:cc:bb::a 3210
% mslookup server: cannot remove service 'baz.bar' to dd:cc:bb::a 3210
OsmoHLR(config-mslookup-server-msc)# no service asdf at asdf asdf
% Unknown command.
OsmoHLR(config-mslookup-server-msc)# no service asdf at asdf 3210
% mslookup server: Invalid address for 'no service' asdf: asdf 3210
OsmoHLR(config-mslookup-server-msc)# no service asdf at dd:cc:bb::a 3210
% mslookup server: cannot remove service 'asdf' to dd:cc:bb::a 3210
OsmoHLR(config-mslookup-server-msc)# exit
OsmoHLR(config-mslookup-server)# no service baz.bar at 2.2.2.2 2222
% mslookup server: cannot remove service 'baz.bar' to 2.2.2.2 2222
OsmoHLR(config-mslookup-server)# no service baz.bar at a:b:c::d 1819
% mslookup server: cannot remove service 'baz.bar' to a:b:c::d 1819
OsmoHLR(config-mslookup-server)# exit
OsmoHLR(config-mslookup)# client
[1;35m[1;33mDDGSM[0;m[1;35m [1;33mNOTICE[0;m[1;35m mslookup client: all GSUP requests for unknown IMSIs will be forwarded to gateway-proxy 1.2.3.4:4222 (dgsm.c:243)[0;m
OsmoHLR(config-mslookup-client)# no gateway-proxy
OsmoHLR(config-mslookup-client)# do show mslookup services
Local GSUP HLR address returned in mslookup responses for local IMSIs: 127.0.0.1:4222
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
OsmoHLR(config-mslookup-client)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
store-imei
database hlr_vty_test.db
no subscriber-create-on-demand
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
mslookup
server
mdns bind 239.192.23.42 4266
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
client
mdns bind 239.192.23.42 4266
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-mslookup-client)# exit
OsmoHLR(config-mslookup)# server
OsmoHLR(config-mslookup-server)# service gsup.hlr at 23.42.17.11 4223
OsmoHLR(config-mslookup-server)# do show mslookup services
Local GSUP HLR address returned in mslookup responses for local IMSIs: 23.42.17.11:4223
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
service gsup.hlr at 23.42.17.11 4223
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
OsmoHLR(config-mslookup-server)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
store-imei
database hlr_vty_test.db
no subscriber-create-on-demand
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
mslookup
server
mdns bind 239.192.23.42 4266
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
service gsup.hlr at 23.42.17.11 4223
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
client
mdns bind 239.192.23.42 4266
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-mslookup-server)# end
OsmoHLR# configure terminal
OsmoHLR(config)# hlr
OsmoHLR(config-hlr)# ps?
ps Configure the PS options
OsmoHLR(config-hlr)# ps
OsmoHLR(config-hlr-ps)# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
end
pdp-profiles default
no pdp-profiles default
OsmoHLR(config-hlr-ps)# no pdp-profiles default
OsmoHLR(config-hlr-ps)# pdp-profiles default
OsmoHLR(config-hlr-ps-pdp-profiles)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
profile Configure a PDP profile
no Negate a command or set its defaults
OsmoHLR(config-hlr-ps-pdp-profiles)# profile 1
OsmoHLR(config-hlr-ps-pdp-profile)# ?
help Description of the interactive help system
list Print command list
show Show running system information
write Write running configuration to memory, network, or terminal
exit Exit current mode and down to previous mode
end End current mode and change to enable mode.
apn Configure the APN.
no Negate a command or set its defaults
OsmoHLR(config-hlr-ps-pdp-profile)# apn internet
OsmoHLR(config-hlr-ps-pdp-profile)# exit
OsmoHLR(config-hlr-ps-pdp-profiles)# profile 2
OsmoHLR(config-hlr-ps-pdp-profile)# apn *
OsmoHLR(config-hlr-ps-pdp-profile)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
store-imei
database hlr_vty_test.db
no subscriber-create-on-demand
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
mslookup
server
mdns bind 239.192.23.42 4266
service foo.bar at 123.45.67.89 1011
service baz.bar at 121.31.41.5 1617
service gsup.hlr at 23.42.17.11 4223
msc ipa-name MSC-1
msc ipa-name msc-901-70-23
service foo.bar at 76.54.32.10 1234
service baz.bar at 12.11.10.98 7654
msc ipa-name msc-901-70-42
service foo.bar at 1.1.1.1 1111
client
mdns bind 239.192.23.42 4266
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
[1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15 (hlr.c:737)
[1;35m[1;33mDMSLOOKUP[0;m[1;35m [1;33mNOTICE[0;m[1;35m Stopped mslookup mDNS server (mslookup_server_mdns.c:142)[0;m
[1;35m[1;33mDDGSM[0;m[1;35m [1;33mNOTICE[0;m[1;35m Stopped mslookup mDNS client (dgsm.c:222)[0;m
full talloc report on 'OsmoHLR' (total 6594 bytes in 33 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b000147550
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013b420
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0) 0x60f000002170
utils.c:386 contains 494 bytes in 1 blocks (ref 0) 0x6160000000e0
utils.c:386 contains 192 bytes in 1 blocks (ref 0) 0x6120000000a0
dgsm contains 40 bytes in 2 blocks (ref 0) 0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0) 0x60d000029e20
struct hlr contains 5784 bytes in 24 blocks (ref 0) 0x6200000000e0
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b000177070
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b0001762b0
struct mslookup_server_msc_cfg contains 360 bytes in 2 blocks (ref 0) 0x612000009b20
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x612000009ca0
struct mslookup_server_msc_cfg contains 552 bytes in 3 blocks (ref 0) 0x6120000096a0
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x6120000099a0
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x612000009820
struct mslookup_server_msc_cfg contains 744 bytes in 4 blocks (ref 0) 0x612000009220
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x612000009fa0
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x612000009520
struct mslookup_service_host contains 192 bytes in 1 blocks (ref 0) 0x6120000093a0
struct mslookup_server_msc_cfg contains 168 bytes in 1 blocks (ref 0) 0x6120000090a0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0) 0x6100000021a0
hlr_vty_test.db contains 16 bytes in 1 blocks (ref 0) 0x60b00013f360
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b00013f2b0
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b00013e7b0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024db0
*#101# contains 7 bytes in 1 blocks (ref 0) 0x60b00013d310
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024ce0
*#100# contains 7 bytes in 1 blocks (ref 0) 0x60b00013cad0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013c290
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0) 0x60c000037a20
[1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:813)
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database: hlr_vty_test.db (db.c:599)[0;m
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database 'hlr_vty_test.db' has HLR DB schema version 7 (db.c:677)[0;m
[1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet 127.0.0.1 4258 (telnet_interface.c:88)
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL at 127.0.0.1 4259 (control_if.c:1024)[0;m
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_vty_test.db
OsmoHLR> enable
OsmoHLR# configure terminal
OsmoHLR(config)# hlr
OsmoHLR(config-hlr)# subscriber-create-on-demand no-msisdn none
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand no-msisdn none
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-hlr)# subscriber-create-on-demand msisdn-from-imsi cs+ps
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand msisdn-from-imsi cs+ps
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-hlr)# subscriber-create-on-demand 3 none
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand 3 none
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-hlr)# subscriber-create-on-demand 4 cs
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand 4 cs
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-hlr)# subscriber-create-on-demand 5 ps
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand 5 ps
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
OsmoHLR(config-hlr)# subscriber-create-on-demand 6 cs+ps
OsmoHLR(config-hlr)# show running-config
Current configuration:
!
!
log stderr
logging filter all 1
logging color 1
logging print category-hex 0
logging print category 1
logging print thread-id 0
logging timestamp 0
logging print level 1
logging print file basename last
logging level main notice
logging level db notice
logging level auc notice
logging level ss notice
logging level mslookup notice
logging level lu notice
logging level dgsm notice
logging level ctrl notice
logging level lglobal notice
logging level llapd notice
logging level linp error
logging level lmux notice
logging level lmi notice
logging level lmib notice
logging level lsms notice
logging level lctrl notice
logging level lgtp notice
logging level lstats notice
logging level lgsup notice
logging level loap notice
logging level lss7 notice
logging level lsccp notice
logging level lsua notice
logging level lm3ua notice
logging level lmgcp notice
logging level ljibuf notice
logging level lrspro notice
logging level lns notice
logging level lbssgp notice
logging level lnsdata notice
logging level lnssignal notice
logging level liuup notice
logging level lpfcp notice
logging level lcsn1 notice
logging level lio notice
!
stats interval 5
!
line vty
no login
!
ctrl
bind 127.0.0.1
hlr
database hlr_vty_test.db
subscriber-create-on-demand 6 cs+ps
gsup
bind ip 127.0.0.1
ipa-name unnamed-HLR
ussd route prefix *#100# internal own-msisdn
ussd route prefix *#101# internal own-imsi
ps
pdp-profiles default
profile 1
apn internet
profile 2
apn *
end
[1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15 (hlr.c:737)
full talloc report on 'OsmoHLR' (total 4759 bytes in 21 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b000147550
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013b420
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0) 0x60f000002170
utils.c:386 contains 494 bytes in 1 blocks (ref 0) 0x6160000000e0
utils.c:386 contains 192 bytes in 1 blocks (ref 0) 0x6120000000a0
dgsm contains 40 bytes in 2 blocks (ref 0) 0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0) 0x60d000029e20
struct hlr contains 3949 bytes in 12 blocks (ref 0) 0x6200000000e0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0) 0x6100000021a0
hlr_vty_test.db contains 16 bytes in 1 blocks (ref 0) 0x60b00013f360
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b00013f2b0
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b00013e7b0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024db0
*#101# contains 7 bytes in 1 blocks (ref 0) 0x60b00013d310
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024ce0
*#100# contains 7 bytes in 1 blocks (ref 0) 0x60b00013cad0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013c290
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0) 0x60c000037a20
[1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:813)
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database: hlr_vty_test.db (db.c:599)[0;m
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database 'hlr_vty_test.db' has HLR DB schema version 7 (db.c:677)[0;m
[1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet 127.0.0.1 4258 (telnet_interface.c:88)
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL at 127.0.0.1 4259 (control_if.c:1024)[0;m
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_vty_test.db
OsmoHLR> enable
OsmoHLR# list
help
list [with-flags]
show vty-attributes
show vty-attributes (application|library|global)
write terminal
write file [PATH]
write memory
write
show running-config
exit
disable
configure [terminal]
copy running-config startup-config
shutdown
show startup-config
show version
show online-help
terminal length <0-512>
terminal no length
who
show history
terminal monitor
terminal no monitor
logging enable
logging disable
logging filter all (0|1)
logging color (0|1)
logging timestamp (0|1)
logging print extended-timestamp (0|1)
logging print thread-id (0|1)
logging print category (0|1)
logging print category-hex (0|1)
logging print level (0|1)
logging print file (0|1|basename) [last]
logging set-log-mask MASK
logging level (main|db|auc|ss|mslookup|lu|dgsm|ctrl|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal)
logging level set-all (debug|info|notice|error|fatal)
logging level force-all (debug|info|notice|error|fatal)
no logging level force-all
logp (main|db|auc|ss|mslookup|lu|dgsm|ctrl|lglobal|llapd|linp|lmux|lmi|lmib|lsms|lctrl|lgtp|lstats|lgsup|loap|lss7|lsccp|lsua|lm3ua|lmgcp|ljibuf|lrspro|lns|lbssgp|lnsdata|lnssignal|liuup|lpfcp|lcsn1|lio) (debug|info|notice|error|fatal) .LOGMESSAGE
show logging vty
show alarms
show talloc-context (application|global|all) (full|brief|DEPTH)
show talloc-context (application|global|all) (full|brief|DEPTH) tree ADDRESS
show talloc-context (application|global|all) (full|brief|DEPTH) filter REGEXP
show stats [skip-zero]
show stats level (global|peer|subscriber) [skip-zero]
show asciidoc counters
show rate-counters [skip-zero]
stats report
stats reset
show gsup-connections
show subscribers all
show subscribers (imei|imsi|msisdn) FILTER
show subscribers (cs|ps) (on|off)
show subscribers last-seen
subscriber (imsi|msisdn|id|imei) IDENT show
show subscriber (imsi|msisdn|id|imei) IDENT
subscriber imsi IDENT create
subscriber (imsi|msisdn|id|imei) IDENT delete
subscriber (imsi|msisdn|id|imei) IDENT update msisdn (none|MSISDN)
subscriber (imsi|msisdn|id|imei) IDENT update aud2g none
subscriber (imsi|msisdn|id|imei) IDENT update aud2g (comp128v1|comp128v2|comp128v3|xor-2g) ki KI
subscriber (imsi|msisdn|id|imei) IDENT update aud3g none
subscriber (imsi|msisdn|id|imei) IDENT update aud3g (milenage|tuak) k K (op|opc) OP_C [ind-bitlen] [<0-28>]
subscriber (imsi|msisdn|id|imei) IDENT update aud3g xor-3g k K [ind-bitlen] [<0-28>]
subscriber (imsi|msisdn|id|imei) IDENT update imei (none|IMEI)
subscriber (imsi|msisdn|id|imei) IDENT update network-access-mode (none|cs|ps|cs+ps)
show mslookup services
show cpu-sched threads
OsmoHLR# subscriber?
subscriber Subscriber management commands
OsmoHLR# subscriber ?
imsi Identify subscriber by IMSI
msisdn Identify subscriber by MSISDN (phone number)
id Identify subscriber by database ID
imei Identify subscriber by IMEI
OsmoHLR# subscriber imsi ?
IDENT IMSI/MSISDN/ID/IMEI of the subscriber
OsmoHLR# subscriber msisdn ?
IDENT IMSI/MSISDN/ID/IMEI of the subscriber
OsmoHLR# subscriber id ?
IDENT IMSI/MSISDN/ID/IMEI of the subscriber
OsmoHLR# subscriber imei ?
IDENT IMSI/MSISDN/ID/IMEI of the subscriber
OsmoHLR# subscriber imsi 123456789023000 show
% No subscriber for imsi = '123456789023000'
OsmoHLR# subscriber id 101 show
% No subscriber for id = '101'
OsmoHLR# subscriber msisdn 12345 show
% No subscriber for msisdn = '12345'
OsmoHLR# subscriber imei 357613004448485 show
% Checksum validated and stripped for search: imei = '35761300444848'
% No subscriber for imei = '35761300444848'
OsmoHLR# show subscriber imsi 123456789023000
% No subscriber for imsi = '123456789023000'
OsmoHLR# show subscriber id 101
% No subscriber for id = '101'
OsmoHLR# show subscriber msisdn 12345
% No subscriber for msisdn = '12345'
OsmoHLR# show subscriber imei 357613004448485
% Checksum validated and stripped for search: imei = '35761300444848'
% No subscriber for imei = '35761300444848'
OsmoHLR# subscriber imsi 1234567890230001 create
% Not a valid IMSI: 1234567890230001
OsmoHLR# subscriber imsi 12345678902300x create
% Not a valid IMSI: 12345678902300x
OsmoHLR# subscriber imsi 12345 create
% Not a valid IMSI: 12345
OsmoHLR# subscriber imsi 123456789023000 create
% Created subscriber 123456789023000
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber msisdn 12345 show
% No subscriber for msisdn = '12345'
OsmoHLR# subscriber imsi 123456789023000 update msisdn 12345
% Updated subscriber IMSI='123456789023000' to MSISDN='12345'
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 12345
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 12345
OsmoHLR# subscriber msisdn 12345 show
ID: 101
IMSI: 123456789023000
MSISDN: 12345
OsmoHLR# subscriber msisdn 12345 update msisdn 423
% Updated subscriber IMSI='123456789023000' to MSISDN='423'
OsmoHLR# subscriber msisdn 12345 show
% No subscriber for msisdn = '12345'
OsmoHLR# subscriber msisdn 423 update msisdn none
% Updated subscriber IMSI='123456789023000': removed MSISDN
OsmoHLR# subscriber msisdn 423 show
% No subscriber for msisdn = '423'
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 update msisdn 423
% Updated subscriber IMSI='123456789023000' to MSISDN='423'
OsmoHLR# subscriber msisdn 423 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber msisdn 423 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber imsi 123456789023000 update ?
msisdn Set MSISDN (phone number) of the subscriber
aud2g Set 2G authentication data
aud3g Set UMTS authentication data (3G, and 2G with UMTS AKA)
imei Set IMEI of the subscriber (normally populated from MSC, no need to set this manually)
network-access-mode Set Network Access Mode (NAM) of the subscriber
OsmoHLR# subscriber imsi 123456789023000 update msisdn ?
none Remove MSISDN (phone number)
MSISDN New MSISDN (phone number)
OsmoHLR# subscriber imsi 123456789023000 update aud2g ?
none Delete 2G authentication data
comp128v1 Use COMP128v1 algorithm
comp128v2 Use COMP128v2 algorithm
comp128v3 Use COMP128v3 algorithm
xor-2g Use XOR-2G algorithm
OsmoHLR# subscriber imsi 123456789023000 update aud2g comp128v1 ?
ki Set Ki Encryption Key
OsmoHLR# subscriber imsi 123456789023000 update aud2g comp128v1 ki ?
KI Ki as 32 hexadecimal characters
OsmoHLR# subscriber imsi 123456789023000 update aud2g comp128v1 ki val ?
<cr>
OsmoHLR# subscriber imsi 123456789023000 update aud2g xor-2g ki Deaf0ff1ceD0d0DabbedD1ced1ceF00d
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: XOR-2G
KI=deaf0ff1ced0d0dabbedd1ced1cef00d
OsmoHLR# subscriber imsi 123456789023000 update aud2g comp128v1 ki BeefedCafeFaceAcedAddedDecadeFee
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v1
KI=beefedcafefaceacedaddeddecadefee
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v1
KI=beefedcafefaceacedaddeddecadefee
OsmoHLR# subscriber msisdn 423 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v1
KI=beefedcafefaceacedaddeddecadefee
OsmoHLR# subscriber id 101 update aud2g comp128v2 ki CededEffacedAceFacedBadFadedBeef
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v2
KI=cededeffacedacefacedbadfadedbeef
OsmoHLR# subscriber msisdn 423 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v2
KI=cededeffacedacefacedbadfadedbeef
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v2
KI=cededeffacedacefacedbadfadedbeef
OsmoHLR# subscriber msisdn 423 update aud2g comp128v3 ki C01ffedC1cadaeAc1d1f1edAcac1aB0a
OsmoHLR# subscriber msisdn 423 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 update aud2g nonsense ki BeefedCafeFaceAcedAddedDecadeFee
% Unknown command.
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 update aud2g milenage ki BeefedCafeFaceAcedAddedDecadeFee
% Unknown command.
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 update aud2g xor-2g ki CoiffedCicadaeAcidifiedAcaciaBoa
% Invalid value for KI: 'CoiffedCicadaeAcidifiedAcaciaBoa'
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 update aud2g xor-2g ki C01ffedC1cadaeAc1d1f1edAcac1aB0aX
% Invalid value for KI: 'C01ffedC1cadaeAc1d1f1edAcac1aB0aX'
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v3
KI=c01ffedc1cadaeac1d1f1edacac1ab0a
OsmoHLR# subscriber id 101 update aud2g none
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber imsi 123456789023000 update aud3g ?
none Delete 3G authentication data
milenage Use Milenage algorithm
tuak Use TUAK algorithm
xor-3g Use XOR-3G algorithm
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage ?
k Set Encryption Key K
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k ?
K K as 32/64 hexadecimal characters
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d ?
op Set OP key
opc Set OPC key
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc ?
OP_C OP or OPC as 32/64 hexadecimal characters
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc CededEffacedAceFacedBadFadedBeef ?
[ind-bitlen] Set IND bit length
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc CededEffacedAceFacedBadFadedBeef ind-bitlen ?
[<0-28>] IND bit length value (default: 5)
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc CededEffacedAceFacedBadFadedBeef
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OPC=cededeffacedacefacedbadfadedbeef
IND-bitlen=5
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d op DeafBeddedBabeAcceededFadedDecaf
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OP=deafbeddedbabeacceededfadeddecaf
IND-bitlen=5
OsmoHLR# subscriber imsi 123456789023000 update aud3g none
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc CededEffacedAceFacedBadFadedBeef ind-bitlen 23
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OPC=cededeffacedacefacedbadfadedbeef
IND-bitlen=23
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k CoiffedCicadaeAcidifiedAcaciaBoa opc CededEffacedAceFacedBadFadedBeef
% Invalid value for K: 'CoiffedCicadaeAcidifiedAcaciaBoa'
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OPC=cededeffacedacefacedbadfadedbeef
IND-bitlen=23
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d opc CoiffedCicadaeAcidifiedAcaciaBoa
% Invalid value for OPC: 'CoiffedCicadaeAcidifiedAcaciaBoa'
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OPC=cededeffacedacefacedbadfadedbeef
IND-bitlen=23
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d op C01ffedC1cadaeAc1d1f1edAcac1aB0a
OsmoHLR# subscriber imsi 123456789023000 update aud3g milenage k Deaf0ff1ceD0d0DabbedD1ced1ceF00d op CoiffedCicadaeAcidifiedAcaciaBoa
% Invalid value for OP: 'CoiffedCicadaeAcidifiedAcaciaBoa'
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OP=c01ffedc1cadaeac1d1f1edacac1ab0a
IND-bitlen=5
OsmoHLR# subscriber id 101 update aud2g comp128v2 ki CededEffacedAceFacedBadFadedBeef
OsmoHLR# subscriber id 101 show
ID: 101
IMSI: 123456789023000
MSISDN: 423
2G auth: COMP128v2
KI=cededeffacedacefacedbadfadedbeef
3G auth: MILENAGE
K=deaf0ff1ced0d0dabbedd1ced1cef00d
OP=c01ffedc1cadaeac1d1f1edacac1ab0a
IND-bitlen=5
OsmoHLR# subscriber imsi 123456789023000 delete
% Deleted subscriber for IMSI '123456789023000'
OsmoHLR# subscriber imsi 123456789023000 show
% No subscriber for imsi = '123456789023000'
OsmoHLR# subscriber id 101 show
% No subscriber for id = '101'
OsmoHLR# subscriber msisdn 423 show
% No subscriber for msisdn = '423'
OsmoHLR# subscriber imsi 123456789023000 create
% Created subscriber 123456789023000
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 delete
% Deleted subscriber for IMSI '123456789023000'
OsmoHLR# subscriber imsi 123456789023000 create
% Created subscriber 123456789023000
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 update imei ?
none Forget IMEI
IMEI Set IMEI (use for debug only!)
OsmoHLR# subscriber imsi 123456789023000 update imei 35761300444848
% Updated subscriber IMSI='123456789023000' to IMEI='35761300444848'
OsmoHLR# subscriber imsi 123456789023000 update imei 357613004448484
% IMEI invalid: '357613004448484'
OsmoHLR# subscriber imsi 123456789023000 update imei 357613004448485
% Updated subscriber IMSI='123456789023000' to IMEI='35761300444848'
OsmoHLR# show subscriber imei 35761300444848
ID: 101
IMSI: 123456789023000
MSISDN: none
IMEI: 357613004448485
OsmoHLR# show subscriber imei 357613004448485
% Checksum validated and stripped for search: imei = '35761300444848'
ID: 101
IMSI: 123456789023000
MSISDN: none
IMEI: 357613004448485
OsmoHLR# show subscriber imei 357613004448484
% No subscriber for imei = '357613004448484'
OsmoHLR# subscriber imsi 123456789023000 update imei none
% Updated subscriber IMSI='123456789023000': removed IMEI
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 delete
% Deleted subscriber for IMSI '123456789023000'
OsmoHLR# show subscriber id 99
ID: 99
IMSI: 000000000000099
MSISDN: none
IMEI: 12345 (INVALID LENGTH!)
OsmoHLR# subscriber imsi 123456789023000 create
% Created subscriber 123456789023000
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode none
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
CS disabled
PS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
PS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode ps
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
CS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs+ps
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 delete
% Deleted subscriber for IMSI '123456789023000'
[1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15 (hlr.c:737)
full talloc report on 'OsmoHLR' (total 4759 bytes in 21 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b000147550
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013b420
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0) 0x60f000002170
utils.c:386 contains 494 bytes in 1 blocks (ref 0) 0x6160000000e0
utils.c:386 contains 192 bytes in 1 blocks (ref 0) 0x6120000000a0
dgsm contains 40 bytes in 2 blocks (ref 0) 0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0) 0x60d000029e20
struct hlr contains 3949 bytes in 12 blocks (ref 0) 0x6200000000e0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0) 0x6100000021a0
hlr_vty_test.db contains 16 bytes in 1 blocks (ref 0) 0x60b00013f360
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b00013f2b0
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b00013e7b0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024db0
*#101# contains 7 bytes in 1 blocks (ref 0) 0x60b00013d310
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024ce0
*#100# contains 7 bytes in 1 blocks (ref 0) 0x60b00013cad0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013c290
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0) 0x60c000037a20
RESULTS:
pass: ./test_nodes.vty
pass: ./test_subscr_create_on_demand.vty
pass: ./test_subscriber.vty
rm -f hlr_vty_test.db hlr_vty_test.db-*
make[6]: Leaving directory '/build/tests'
make ctrl-test
make[6]: Entering directory '/build/tests'
rm -f hlr_ctrl_test.db
sqlite3 hlr_ctrl_test.db < ../sql/hlr.sql
sqlite3 hlr_ctrl_test.db < ./test_subscriber.sql
osmo_verify_transcript_ctrl.py -v \
-p 4259 \
-r "../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_ctrl_test.db" \
./*.ctrl
[1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:813)
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database: hlr_ctrl_test.db (db.c:599)[0;m
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database 'hlr_ctrl_test.db' has HLR DB schema version 7 (db.c:677)[0;m
[1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet 127.0.0.1 4258 (telnet_interface.c:88)
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL at 127.0.0.1 4259 (control_if.c:1024)[0;m
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_ctrl_test.db
GET 1 subscriber.by-imsi-901990000000001.info
GET_REPLY 1 subscriber.by-imsi-901990000000001.info
id 1
imsi 901990000000001
msisdn 1
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 2 subscriber.by-imsi-901990000000001.info-aud
GET_REPLY 2 subscriber.by-imsi-901990000000001.info-aud
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
GET 3 subscriber.by-imsi-901990000000001.info-all
GET_REPLY 3 subscriber.by-imsi-901990000000001.info-all
id 1
imsi 901990000000001
msisdn 1
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
GET 4 subscriber.by-imsi-901990000000002.info
GET_REPLY 4 subscriber.by-imsi-901990000000002.info
id 2
imsi 901990000000002
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 5 subscriber.by-imsi-901990000000002.info-aud
GET_REPLY 5 subscriber.by-imsi-901990000000002.info-aud
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 4223
GET 6 subscriber.by-imsi-901990000000002.info-all
GET_REPLY 6 subscriber.by-imsi-901990000000002.info-all
id 2
imsi 901990000000002
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 4223
GET 7 subscriber.by-imsi-901990000000003.info
GET_REPLY 7 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 8 subscriber.by-imsi-901990000000003.info-aud
GET_REPLY 8 subscriber.by-imsi-901990000000003.info-aud
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 9 subscriber.by-imsi-901990000000003.info-all
GET_REPLY 9 subscriber.by-imsi-901990000000003.info-all
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 10 subscriber.by-imsi-901990000000003.ps-enabled
GET_REPLY 10 subscriber.by-imsi-901990000000003.ps-enabled 1
SET 11 subscriber.by-imsi-901990000000003.ps-enabled 0
SET_REPLY 11 subscriber.by-imsi-901990000000003.ps-enabled OK
GET 12 subscriber.by-imsi-901990000000003.ps-enabled
GET_REPLY 12 subscriber.by-imsi-901990000000003.ps-enabled 0
GET 13 subscriber.by-imsi-901990000000003.info
GET_REPLY 13 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 14 subscriber.by-imsi-901990000000003.ps-enabled 0
SET_REPLY 14 subscriber.by-imsi-901990000000003.ps-enabled OK
GET 15 subscriber.by-imsi-901990000000003.ps-enabled
GET_REPLY 15 subscriber.by-imsi-901990000000003.ps-enabled 0
SET 16 subscriber.by-imsi-901990000000003.ps-enabled 1
SET_REPLY 16 subscriber.by-imsi-901990000000003.ps-enabled OK
GET 17 subscriber.by-imsi-901990000000003.ps-enabled
GET_REPLY 17 subscriber.by-imsi-901990000000003.ps-enabled 1
GET 18 subscriber.by-imsi-901990000000003.info
GET_REPLY 18 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 19 subscriber.by-imsi-901990000000003.ps-enabled 1
SET_REPLY 19 subscriber.by-imsi-901990000000003.ps-enabled OK
GET 20 subscriber.by-imsi-901990000000003.ps-enabled
GET_REPLY 20 subscriber.by-imsi-901990000000003.ps-enabled 1
GET 21 subscriber.by-imsi-901990000000003.cs-enabled
GET_REPLY 21 subscriber.by-imsi-901990000000003.cs-enabled 1
SET 22 subscriber.by-imsi-901990000000003.cs-enabled 0
SET_REPLY 22 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 23 subscriber.by-imsi-901990000000003.cs-enabled
GET_REPLY 23 subscriber.by-imsi-901990000000003.cs-enabled 0
GET 24 subscriber.by-imsi-901990000000003.info
GET_REPLY 24 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 25 subscriber.by-imsi-901990000000003.cs-enabled 0
SET_REPLY 25 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 26 subscriber.by-imsi-901990000000003.cs-enabled
GET_REPLY 26 subscriber.by-imsi-901990000000003.cs-enabled 0
SET 27 subscriber.by-imsi-901990000000003.cs-enabled 1
SET_REPLY 27 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 28 subscriber.by-imsi-901990000000003.cs-enabled
GET_REPLY 28 subscriber.by-imsi-901990000000003.cs-enabled 1
GET 29 subscriber.by-imsi-901990000000003.info
GET_REPLY 29 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 30 subscriber.by-imsi-901990000000003.cs-enabled 1
SET_REPLY 30 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 31 subscriber.by-imsi-901990000000003.cs-enabled
GET_REPLY 31 subscriber.by-imsi-901990000000003.cs-enabled 1
SET 32 subscriber.by-imsi-901990000000003.ps-enabled 0
SET_REPLY 32 subscriber.by-imsi-901990000000003.ps-enabled OK
SET 33 subscriber.by-imsi-901990000000003.cs-enabled 0
SET_REPLY 33 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 34 subscriber.by-imsi-901990000000003.info
GET_REPLY 34 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 35 subscriber.by-imsi-901990000000003.ps-enabled 1
SET_REPLY 35 subscriber.by-imsi-901990000000003.ps-enabled OK
SET 36 subscriber.by-imsi-901990000000003.cs-enabled 1
SET_REPLY 36 subscriber.by-imsi-901990000000003.cs-enabled OK
GET 37 subscriber.by-imsi-901990000000003.info
GET_REPLY 37 subscriber.by-imsi-901990000000003.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 38 subscriber.by-msisdn-103.info
GET_REPLY 38 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 39 subscriber.by-msisdn-103.info-aud
GET_REPLY 39 subscriber.by-msisdn-103.info-aud
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 40 subscriber.by-msisdn-103.info-all
GET_REPLY 40 subscriber.by-msisdn-103.info-all
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 41 subscriber.by-msisdn-103.ps-enabled
GET_REPLY 41 subscriber.by-msisdn-103.ps-enabled 1
SET 42 subscriber.by-msisdn-103.ps-enabled 0
SET_REPLY 42 subscriber.by-msisdn-103.ps-enabled OK
GET 43 subscriber.by-msisdn-103.ps-enabled
GET_REPLY 43 subscriber.by-msisdn-103.ps-enabled 0
GET 44 subscriber.by-msisdn-103.info
GET_REPLY 44 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 45 subscriber.by-msisdn-103.ps-enabled 0
SET_REPLY 45 subscriber.by-msisdn-103.ps-enabled OK
GET 46 subscriber.by-msisdn-103.ps-enabled
GET_REPLY 46 subscriber.by-msisdn-103.ps-enabled 0
SET 47 subscriber.by-msisdn-103.ps-enabled 1
SET_REPLY 47 subscriber.by-msisdn-103.ps-enabled OK
GET 48 subscriber.by-msisdn-103.ps-enabled
GET_REPLY 48 subscriber.by-msisdn-103.ps-enabled 1
GET 49 subscriber.by-msisdn-103.info
GET_REPLY 49 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 50 subscriber.by-msisdn-103.ps-enabled 1
SET_REPLY 50 subscriber.by-msisdn-103.ps-enabled OK
GET 51 subscriber.by-msisdn-103.ps-enabled
GET_REPLY 51 subscriber.by-msisdn-103.ps-enabled 1
GET 52 subscriber.by-msisdn-103.cs-enabled
GET_REPLY 52 subscriber.by-msisdn-103.cs-enabled 1
SET 53 subscriber.by-msisdn-103.cs-enabled 0
SET_REPLY 53 subscriber.by-msisdn-103.cs-enabled OK
GET 54 subscriber.by-msisdn-103.cs-enabled
GET_REPLY 54 subscriber.by-msisdn-103.cs-enabled 0
GET 55 subscriber.by-msisdn-103.info
GET_REPLY 55 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 56 subscriber.by-msisdn-103.cs-enabled 0
SET_REPLY 56 subscriber.by-msisdn-103.cs-enabled OK
GET 57 subscriber.by-msisdn-103.cs-enabled
GET_REPLY 57 subscriber.by-msisdn-103.cs-enabled 0
SET 58 subscriber.by-msisdn-103.cs-enabled 1
SET_REPLY 58 subscriber.by-msisdn-103.cs-enabled OK
GET 59 subscriber.by-msisdn-103.cs-enabled
GET_REPLY 59 subscriber.by-msisdn-103.cs-enabled 1
GET 60 subscriber.by-msisdn-103.info
GET_REPLY 60 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 61 subscriber.by-msisdn-103.cs-enabled 1
SET_REPLY 61 subscriber.by-msisdn-103.cs-enabled OK
GET 62 subscriber.by-msisdn-103.cs-enabled
GET_REPLY 62 subscriber.by-msisdn-103.cs-enabled 1
SET 63 subscriber.by-msisdn-103.ps-enabled 0
SET_REPLY 63 subscriber.by-msisdn-103.ps-enabled OK
SET 64 subscriber.by-msisdn-103.cs-enabled 0
SET_REPLY 64 subscriber.by-msisdn-103.cs-enabled OK
GET 65 subscriber.by-msisdn-103.info
GET_REPLY 65 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 66 subscriber.by-msisdn-103.ps-enabled 1
SET_REPLY 66 subscriber.by-msisdn-103.ps-enabled OK
SET 67 subscriber.by-msisdn-103.cs-enabled 1
SET_REPLY 67 subscriber.by-msisdn-103.cs-enabled OK
GET 68 subscriber.by-msisdn-103.info
GET_REPLY 68 subscriber.by-msisdn-103.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 69 subscriber.by-id-3.info
GET_REPLY 69 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 70 subscriber.by-id-3.info-aud
GET_REPLY 70 subscriber.by-id-3.info-aud
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 71 subscriber.by-id-3.info-all
GET_REPLY 71 subscriber.by-id-3.info-all
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
aud2g.algo COMP128v1
aud2g.ki 000102030405060708090a0b0c0d0e0f
aud3g.algo MILENAGE
aud3g.k 000102030405060708090a0b0c0d0e0f
aud3g.opc 101112131415161718191a1b1c1d1e1f
aud3g.ind_bitlen 5
aud3g.sqn 2342
GET 72 subscriber.by-id-3.ps-enabled
GET_REPLY 72 subscriber.by-id-3.ps-enabled 1
SET 73 subscriber.by-id-3.ps-enabled 0
SET_REPLY 73 subscriber.by-id-3.ps-enabled OK
GET 74 subscriber.by-id-3.ps-enabled
GET_REPLY 74 subscriber.by-id-3.ps-enabled 0
GET 75 subscriber.by-id-3.info
GET_REPLY 75 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 76 subscriber.by-id-3.ps-enabled 0
SET_REPLY 76 subscriber.by-id-3.ps-enabled OK
GET 77 subscriber.by-id-3.ps-enabled
GET_REPLY 77 subscriber.by-id-3.ps-enabled 0
SET 78 subscriber.by-id-3.ps-enabled 1
SET_REPLY 78 subscriber.by-id-3.ps-enabled OK
GET 79 subscriber.by-id-3.ps-enabled
GET_REPLY 79 subscriber.by-id-3.ps-enabled 1
GET 80 subscriber.by-id-3.info
GET_REPLY 80 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 81 subscriber.by-id-3.ps-enabled 1
SET_REPLY 81 subscriber.by-id-3.ps-enabled OK
GET 82 subscriber.by-id-3.ps-enabled
GET_REPLY 82 subscriber.by-id-3.ps-enabled 1
GET 83 subscriber.by-id-3.cs-enabled
GET_REPLY 83 subscriber.by-id-3.cs-enabled 1
SET 84 subscriber.by-id-3.cs-enabled 0
SET_REPLY 84 subscriber.by-id-3.cs-enabled OK
GET 85 subscriber.by-id-3.cs-enabled
GET_REPLY 85 subscriber.by-id-3.cs-enabled 0
GET 86 subscriber.by-id-3.info
GET_REPLY 86 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 87 subscriber.by-id-3.cs-enabled 0
SET_REPLY 87 subscriber.by-id-3.cs-enabled OK
GET 88 subscriber.by-id-3.cs-enabled
GET_REPLY 88 subscriber.by-id-3.cs-enabled 0
SET 89 subscriber.by-id-3.cs-enabled 1
SET_REPLY 89 subscriber.by-id-3.cs-enabled OK
GET 90 subscriber.by-id-3.cs-enabled
GET_REPLY 90 subscriber.by-id-3.cs-enabled 1
GET 91 subscriber.by-id-3.info
GET_REPLY 91 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 92 subscriber.by-id-3.cs-enabled 1
SET_REPLY 92 subscriber.by-id-3.cs-enabled OK
GET 93 subscriber.by-id-3.cs-enabled
GET_REPLY 93 subscriber.by-id-3.cs-enabled 1
SET 94 subscriber.by-id-3.ps-enabled 0
SET_REPLY 94 subscriber.by-id-3.ps-enabled OK
SET 95 subscriber.by-id-3.cs-enabled 0
SET_REPLY 95 subscriber.by-id-3.cs-enabled OK
GET 96 subscriber.by-id-3.info
GET_REPLY 96 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 0
nam_ps 0
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 97 subscriber.by-id-3.ps-enabled 1
SET_REPLY 97 subscriber.by-id-3.ps-enabled OK
SET 98 subscriber.by-id-3.cs-enabled 1
SET_REPLY 98 subscriber.by-id-3.cs-enabled OK
GET 99 subscriber.by-id-3.info
GET_REPLY 99 subscriber.by-id-3.info
id 3
imsi 901990000000003
msisdn 103
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 100 subscriber.by-id-00123.info
GET_REPLY 100 subscriber.by-id-00123.info
id 123
imsi 123123
msisdn 123
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 101 subscriber.create 901991234567891
SET_REPLY 101 subscriber.create 124
GET 102 subscriber.by-id-124.info
GET_REPLY 102 subscriber.by-id-124.info
id 124
imsi 901991234567891
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 103 subscriber.by-imsi-901991234567891.msisdn
GET_REPLY 103 subscriber.by-imsi-901991234567891.msisdn none
SET 104 subscriber.by-imsi-901991234567891.msisdn 555666
SET_REPLY 104 subscriber.by-imsi-901991234567891.msisdn OK
GET 105 subscriber.by-imsi-901991234567891.msisdn
GET_REPLY 105 subscriber.by-imsi-901991234567891.msisdn 555666
SET 106 subscriber.by-imsi-901991234567891.msisdn 888000
SET_REPLY 106 subscriber.by-imsi-901991234567891.msisdn OK
GET 107 subscriber.by-imsi-901991234567891.msisdn
GET_REPLY 107 subscriber.by-imsi-901991234567891.msisdn 888000
GET 108 subscriber.by-imsi-901991234567891.info
GET_REPLY 108 subscriber.by-imsi-901991234567891.info
id 124
imsi 901991234567891
msisdn 888000
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
SET 109 subscriber.by-imsi-901991234567891.msisdn none
SET_REPLY 109 subscriber.by-imsi-901991234567891.msisdn OK
GET 110 subscriber.by-imsi-901991234567891.msisdn
GET_REPLY 110 subscriber.by-imsi-901991234567891.msisdn none
GET 111 subscriber.by-imsi-901991234567891.info
GET_REPLY 111 subscriber.by-imsi-901991234567891.info
id 124
imsi 901991234567891
nam_cs 1
nam_ps 1
ms_purged_cs 0
ms_purged_ps 0
periodic_lu_timer 0
periodic_rau_tau_timer 0
lmsi 00000000
GET 112 subscriber.by-imsi-901991234567891.aud2g
GET_REPLY 112 subscriber.by-imsi-901991234567891.aud2g none
SET 113 subscriber.by-imsi-901991234567891.aud2g xor-2g,c01ffedc1cadaeac1d1f1edacac1ab0a
SET_REPLY 113 subscriber.by-imsi-901991234567891.aud2g OK
GET 114 subscriber.by-imsi-901991234567891.aud2g
GET_REPLY 114 subscriber.by-imsi-901991234567891.aud2g XOR-2G,c01ffedc1cadaeac1d1f1edacac1ab0a
SET 115 subscriber.by-imsi-901991234567891.aud2g none
SET_REPLY 115 subscriber.by-imsi-901991234567891.aud2g OK
GET 116 subscriber.by-imsi-901991234567891.aud2g
GET_REPLY 116 subscriber.by-imsi-901991234567891.aud2g none
GET 117 subscriber.by-imsi-901991234567891.aud3g
GET_REPLY 117 subscriber.by-imsi-901991234567891.aud3g none
SET 118 subscriber.by-imsi-901991234567891.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OP,FB2A3D1B360F599ABAB99DB8669F8308
SET_REPLY 118 subscriber.by-imsi-901991234567891.aud3g OK
GET 119 subscriber.by-imsi-901991234567891.aud3g
GET_REPLY 119 subscriber.by-imsi-901991234567891.aud3g MILENAGE,c01ffedc1cadaeac1d1f1edacac1ab0a,OP,fb2a3d1b360f599abab99db8669f8308,5
SET 120 subscriber.by-imsi-901991234567891.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,FB2A3D1B360F599ABAB99DB8669F8308,7
SET_REPLY 120 subscriber.by-imsi-901991234567891.aud3g OK
GET 121 subscriber.by-imsi-901991234567891.aud3g
GET_REPLY 121 subscriber.by-imsi-901991234567891.aud3g MILENAGE,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,fb2a3d1b360f599abab99db8669f8308,7
SET 122 subscriber.by-imsi-901991234567891.aud3g none
SET_REPLY 122 subscriber.by-imsi-901991234567891.aud3g OK
GET 123 subscriber.by-imsi-901991234567891.aud3g
GET_REPLY 123 subscriber.by-imsi-901991234567891.aud3g none
SET 124 subscriber.delete 901991234567891
SET_REPLY 124 subscriber.delete 124
[1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15 (hlr.c:737)
full talloc report on 'OsmoHLR' (total 4760 bytes in 21 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b0001473f0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013b420
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0) 0x60f000002170
utils.c:386 contains 494 bytes in 1 blocks (ref 0) 0x6160000000e0
utils.c:386 contains 192 bytes in 1 blocks (ref 0) 0x6120000000a0
dgsm contains 40 bytes in 2 blocks (ref 0) 0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0) 0x60d000029e20
struct hlr contains 3950 bytes in 12 blocks (ref 0) 0x6200000000e0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0) 0x6100000021a0
hlr_ctrl_test.db contains 17 bytes in 1 blocks (ref 0) 0x60c000035020
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b00013f2b0
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b00013e7b0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024db0
*#101# contains 7 bytes in 1 blocks (ref 0) 0x60b00013d310
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024ce0
*#100# contains 7 bytes in 1 blocks (ref 0) 0x60b00013cad0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013c290
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0) 0x60c000037ba0
[1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:813)
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database: hlr_ctrl_test.db (db.c:599)[0;m
[1;31m[1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database 'hlr_ctrl_test.db' has HLR DB schema version 7 (db.c:677)[0;m
[1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet 127.0.0.1 4258 (telnet_interface.c:88)
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL at 127.0.0.1 4259 (control_if.c:1024)[0;m
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_ctrl_test.db
GET 1 invalid
ERROR 1 Command not found
SET 2 invalid nonsense
ERROR 2 Command not found
GET 3 subscriber.by-imsi-nonsense.info
ERROR 3 Invalid value part of 'by-xxx-value' selector.
GET 4 subscriber.by-msisdn-nonsense.info
ERROR 4 Invalid value part of 'by-xxx-value' selector.
GET 5 subscriber.by-id-nonsense.info
ERROR 5 Invalid value part of 'by-xxx-value' selector.
GET 6 subscriber
ERROR 6 Command not present.
GET 7 subscriber.
ERROR 7 Command not present.
GET 8 subscriber.by-nonsense
ERROR 8 Command not present.
GET 9 subscriber.by-nonsense-
ERROR 9 Command not present.
GET 10 subscriber.by-nonsense-123456
ERROR 10 Command not present.
GET 11 subscriber.by-nonsense-123456.
ERROR 11 Command not present.
GET 12 subscriber.by-imsi-
ERROR 12 Command not present.
GET 13 subscriber.by-imsi-.
ERROR 13 Command not present.
GET 14 subscriber.by-imsi-901990000000003
ERROR 14 Command not present.
GET 15 subscriber.by-imsi-901990000000003.
ERROR 15 Command not present.
GET 16 subscriber.by-nonsense-123456.info
ERROR 16 Not a known subscriber 'by-xxx-' selector.
GET 17 subscriber.by-123456.info
ERROR 17 Not a known subscriber 'by-xxx-' selector.
GET 18 subscriber.by-imsi-.info
ERROR 18 Invalid value part of 'by-xxx-value' selector.
GET 19 subscriber.by-imsi--.info
ERROR 19 Invalid value part of 'by-xxx-value' selector.
GET 20 subscriber.by-imsi-12345678901234567.info
ERROR 20 Invalid value part of 'by-xxx-value' selector.
GET 21 subscriber.by-imsi-12345.info
ERROR 21 Invalid value part of 'by-xxx-value' selector.
GET 22 subscriber.by-imsi-1234567890123456.info
ERROR 22 Invalid value part of 'by-xxx-value' selector.
GET 23 subscriber.by-id-99999999999999999999999999.info
ERROR 23 Invalid value part of 'by-xxx-value' selector.
GET 24 subscriber.by-id-9223372036854775807.info
ERROR 24 No such subscriber.
GET 25 subscriber.by-id-9223372036854775808.info
ERROR 25 Invalid value part of 'by-xxx-value' selector.
GET 26 subscriber.by-id--1.info
ERROR 26 No such subscriber.
GET 27 subscriber.by-id--9223372036854775808.info
ERROR 27 No such subscriber.
GET 28 subscriber.by-id--9223372036854775809.info
ERROR 28 Invalid value part of 'by-xxx-value' selector.
GET 29 subscriber.by-id-1+1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id-1+1.info" (control_cmd.c:415)[0;m
ERROR 29 GET variable contains invalid characters
GET 30 subscriber.by-id--.info
ERROR 30 Invalid value part of 'by-xxx-value' selector.
GET 31 subscriber.by-id-+1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id-+1.info" (control_cmd.c:415)[0;m
ERROR 31 GET variable contains invalid characters
GET 32 subscriber.by-id-+-1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id-+-1.info" (control_cmd.c:415)[0;m
ERROR 32 GET variable contains invalid characters
GET 33 subscriber.by-id--+1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id--+1.info" (control_cmd.c:415)[0;m
ERROR 33 GET variable contains invalid characters
GET 34 subscriber.by-id-++1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id-++1.info" (control_cmd.c:415)[0;m
ERROR 34 GET variable contains invalid characters
GET 35 subscriber.by-id---1.info
ERROR 35 Invalid value part of 'by-xxx-value' selector.
GET 36 subscriber.by-id- 1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET with trailing characters: "1.info" (control_cmd.c:424)[0;m
ERROR 36 GET with trailing characters
GET 37 subscriber.by-id-+ 1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET variable contains invalid characters: "subscriber.by-id-+" (control_cmd.c:415)[0;m
ERROR 37 GET variable contains invalid characters
GET 38 subscriber.by-id-- 1.info
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET with trailing characters: "1.info" (control_cmd.c:424)[0;m
ERROR 38 GET with trailing characters
SET 39 subscriber.by-imsi-901990000000001.info foo
ERROR 39 Read Only attribute
SET 40 subscriber.by-imsi-901990000000001.info-aud foo
ERROR 40 Read Only attribute
SET 41 subscriber.by-imsi-901990000000001.info-all foo
ERROR 41 Read Only attribute
SET 42 subscriber.by-imsi-901990000000001.ps-enabled nonsense
ERROR 42 Value failed verification.
SET 43 subscriber.by-imsi-901990000000001.cs-enabled nonsense
ERROR 43 Value failed verification.
SET 44 subscriber.by-imsi-901990000000001.ps-enabled
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET Command incomplete (control_cmd.c:436)[0;m
ERROR 44 SET incomplete
SET 45 subscriber.by-imsi-901990000000001.cs-enabled
[38;5;33m[1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET Command incomplete (control_cmd.c:436)[0;m
ERROR 45 SET incomplete
GET 46 subscriber.by-imsi-1234567890123456.ps-enabled
ERROR 46 Invalid value part of 'by-xxx-value' selector.
GET 47 subscriber.by-imsi-1234567890123456.cs-enabled
ERROR 47 Invalid value part of 'by-xxx-value' selector.
GET 48 subscriber.by-id-0x0123.info
ERROR 48 Invalid value part of 'by-xxx-value' selector.
SET 49 subscriber.create zzz
ERROR 49 Invalid IMSI value.
SET 50 subscriber.create 901990000000001
[1;31m[1;31mDDB[0;m[1;31m [1;31mERROR[0;m[1;31m (2067) abort at 20 in [INSERT INTO subscriber (imsi, nam_cs, nam_ps) VALUES ($imsi, $nam_cs, $nam_ps)]: UNIQUE constraint failed: subscriber.imsi (db.c:103)[0;m
[1;33m[1;31mDAUC[0;m[1;33m [1;31mERROR[0;m[1;33m IMSI='901990000000001': Cannot create subscriber: SQL error: (2067) UNIQUE constraint failed: subscriber.imsi (db_hlr.c:75)[0;m
ERROR 50 Subscriber already exists.
SET 51 subscriber.by-imsi-1234567890123456.msisdn hellobadmsisdn
ERROR 51 Value failed verification.
SET 52 subscriber.delete 100000
ERROR 52 Subscriber doesn't exist.
SET 53 subscriber.delete zzz
ERROR 53 Invalid IMSI value.
SET 54 subscriber.by-imsi-901990000000003.aud2g foobar
ERROR 54 Value failed verification.
SET 55 subscriber.by-imsi-901990000000003.aud2g foobar,2134
ERROR 55 Unknown auth algorithm.
SET 56 subscriber.by-imsi-901990000000003.aud2g xor-2g,2134
ERROR 56 Invalid KI.
SET 57 subscriber.by-imsi-901990000000003.aud3g foobar
ERROR 57 Value failed verification.
SET 58 subscriber.by-imsi-901990000000003.aud3g foobar,2134
ERROR 58 Unknown auth algorithm.
SET 59 subscriber.by-imsi-901990000000003.aud3g milenage,2134
ERROR 59 Invalid KI.
SET 60 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,AAA
ERROR 60 Invalid format.
SET 61 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC
ERROR 61 Invalid format.
SET 62 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,zzz
ERROR 62 Invalid OP/OPC.
SET 63 subscriber.by-imsi-901990000000003.aud3g milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,fb2a3d1b360f599abab99db8669f8308,
ERROR 63 Invalid format.
[1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15 (hlr.c:737)
full talloc report on 'OsmoHLR' (total 4760 bytes in 21 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b0001473f0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013b420
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0) 0x60f000002170
utils.c:386 contains 494 bytes in 1 blocks (ref 0) 0x6160000000e0
utils.c:386 contains 192 bytes in 1 blocks (ref 0) 0x6120000000a0
dgsm contains 40 bytes in 2 blocks (ref 0) 0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0) 0x60d000029e20
struct hlr contains 3950 bytes in 12 blocks (ref 0) 0x6200000000e0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0) 0x6100000021a0
hlr_ctrl_test.db contains 17 bytes in 1 blocks (ref 0) 0x60c000035020
hlr_vty.c:257 contains 2 bytes in 1 blocks (ref 0) 0x60b00013f2b0
hlr_vty.c:257 contains 9 bytes in 1 blocks (ref 0) 0x60b00013e7b0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024db0
*#101# contains 7 bytes in 1 blocks (ref 0) 0x60b00013d310
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0) 0x60d000024ce0
*#100# contains 7 bytes in 1 blocks (ref 0) 0x60b00013cad0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0) 0x60b00013c290
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0) 0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0) 0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0) 0x60c000037ba0
RESULTS:
pass: ./test_subscriber.ctrl
pass: ./test_subscriber_errors.ctrl
rm -f hlr_ctrl_test.db
rm hlr_ctrl_test.db-*
rm: cannot remove 'hlr_ctrl_test.db-*': No such file or directory
make[6]: [Makefile:728: ctrl-test] Error 1 (ignored)
make[6]: Leaving directory '/build/tests'
make db-upgrade-equivalence-test
make[6]: Entering directory '/build/tests'
make -C db_upgrade upgrade-equivalence-test
make[7]: Entering directory '/build/tests/db_upgrade'
./db_upgrade_test.sh . . do-equivalence-test
Creating db in schema version 0
Version 0 db:
Table: auc_2g
name|type|notnull|dflt_value|pk
algo_id_2g|INTEGER|1||0
ki|VARCHAR(32)|1||0
subscriber_id|INTEGER|0||1
Table auc_2g contents:
algo_id_2g|ki|subscriber_id
1|BeefedCafeFaceAcedAddedDecadeFee|1
2|33333333333333333333333333333333|4
6|55555555555555555555555555555555|6
Table: auc_3g
name|type|notnull|dflt_value|pk
algo_id_3g|INTEGER|1||0
ind_bitlen|INTEGER|1|5|0
k|VARCHAR(32)|1||0
op|VARCHAR(32)|0||0
opc|VARCHAR(32)|0||0
sqn|INTEGER|1|0|0
subscriber_id|INTEGER|0||1
Table auc_3g contents:
algo_id_3g|ind_bitlen|k|op|opc|sqn|subscriber_id
5|5|C01ffedC1cadaeAc1d1f1edAcac1aB0a||CededEffacedAceFacedBadFadedBeef|0|1
5|5|44444444444444444444444444444444|44444444444444444444444444444444||0|5
5|5|55555555555555555555555555555555||55555555555555555555555555555555|0|6
Table: subscriber
name|type|notnull|dflt_value|pk
ggsn_number|VARCHAR(15)|0||0
gmlc_number|VARCHAR(15)|0||0
hlr_number|VARCHAR(15)|0||0
id|INTEGER|0||1
imeisv|VARCHAR|0||0
imsi|VARCHAR(15)|1||0
lmsi|INTEGER|0||0
ms_purged_cs|BOOLEAN|1|0|0
ms_purged_ps|BOOLEAN|1|0|0
msisdn|VARCHAR(15)|0||0
nam_cs|BOOLEAN|1|1|0
nam_ps|BOOLEAN|1|1|0
periodic_lu_tmr|INTEGER|0||0
periodic_rau_tau_tmr|INTEGER|0||0
sgsn_address|VARCHAR|0||0
sgsn_number|VARCHAR(15)|0||0
smsc_number|VARCHAR(15)|0||0
vlr_number|VARCHAR(15)|0||0
Table subscriber contents:
ggsn_number|gmlc_number|hlr_number|id|imeisv|imsi|lmsi|ms_purged_cs|ms_purged_ps|msisdn|nam_cs|nam_ps|periodic_lu_tmr|periodic_rau_tau_tmr|sgsn_address|sgsn_number|smsc_number|vlr_number
|||1||123456789012345||0|0|098765432109876|1|1||||||MSC-1
|||2||111111111||1|0||1|1||||||
|||3||222222222||0|1|22222|1|1||||||
|||4||333333||0|0|3|0|1||||||
|||5||444444444444444||0|0|4444|1|0||||||
|||6||5555555||0|0|55555555555555|0|0||||||
Table: subscriber_apn
name|type|notnull|dflt_value|pk
apn|VARCHAR(256)|1||0
subscriber_id|INTEGER|0||0
Table subscriber_apn contents:
Table: subscriber_multi_msisdn
name|type|notnull|dflt_value|pk
msisdn|VARCHAR(15)|1||0
subscriber_id|INTEGER|0||0
Table subscriber_multi_msisdn contents:
Launching osmo-hlr to upgrade db:
osmo-hlr --database $db --db-upgrade --db-check --config-file $srcdir/osmo-hlr.cfg
rc = 0
DMAIN hlr starting
DDB using database: <PATH>test.db
DDB Database <PATH>test.db' has HLR DB schema version 0
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 1
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 2
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 3
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 4
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 5
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 6
DDB Database <PATH>test.db' has been upgraded to HLR DB schema version 7
DMAIN Cmdline option --db-check: Database was opened successfully, quitting.
Resulting db:
Table: auc_2g
name|type|notnull|dflt_value|pk
algo_id_2g|INTEGER|1||0
ki|VARCHAR(32)|1||0
subscriber_id|INTEGER|0||1
Table auc_2g contents:
algo_id_2g|ki|subscriber_id
1|BeefedCafeFaceAcedAddedDecadeFee|1
2|33333333333333333333333333333333|4
6|55555555555555555555555555555555|6
Table: auc_3g
name|type|notnull|dflt_value|pk
algo_id_3g|INTEGER|1||0
ind_bitlen|INTEGER|1|5|0
k|VARCHAR(64)|1||0
op|VARCHAR(64)|0||0
opc|VARCHAR(64)|0||0
sqn|INTEGER|1|0|0
subscriber_id|INTEGER|0||1
Table auc_3g contents:
algo_id_3g|ind_bitlen|k|op|opc|sqn|subscriber_id
5|5|C01ffedC1cadaeAc1d1f1edAcac1aB0a||CededEffacedAceFacedBadFadedBeef|0|1
5|5|44444444444444444444444444444444|44444444444444444444444444444444||0|5
5|5|55555555555555555555555555555555||55555555555555555555555555555555|0|6
Table: ind
name|type|notnull|dflt_value|pk
ind|INTEGER|0||1
vlr|TEXT|1||0
Table ind contents:
Table: subscriber
name|type|notnull|dflt_value|pk
ggsn_number|VARCHAR(15)|0||0
gmlc_number|VARCHAR(15)|0||0
id|INTEGER|0||1
imei|VARCHAR(14)|0||0
imeisv|VARCHAR|0||0
imsi|VARCHAR(15)|1||0
last_lu_seen|TIMESTAMP|0|NULL|0
last_lu_seen_ps|TIMESTAMP|0|NULL|0
lmsi|INTEGER|0||0
ms_purged_cs|BOOLEAN|1|0|0
ms_purged_ps|BOOLEAN|1|0|0
msc_number|VARCHAR(15)|0||0
msisdn|VARCHAR(15)|0||0
nam_cs|BOOLEAN|1|1|0
nam_ps|BOOLEAN|1|1|0
periodic_lu_tmr|INTEGER|0||0
periodic_rau_tau_tmr|INTEGER|0||0
sgsn_address|VARCHAR|0||0
sgsn_number|VARCHAR(15)|0||0
sgsn_via_proxy|VARCHAR|0||0
smsc_number|VARCHAR(15)|0||0
vlr_number|VARCHAR(15)|0||0
vlr_via_proxy|VARCHAR|0||0
Table subscriber contents:
ggsn_number|gmlc_number|id|imei|imeisv|imsi|last_lu_seen|last_lu_seen_ps|lmsi|ms_purged_cs|ms_purged_ps|msc_number|msisdn|nam_cs|nam_ps|periodic_lu_tmr|periodic_rau_tau_tmr|sgsn_address|sgsn_number|sgsn_via_proxy|smsc_number|vlr_number|vlr_via_proxy
||1|||123456789012345||||0|0||098765432109876|1|1|||||||MSC-1|
||2|||111111111||||1|0|||1|1||||||||
||3|||222222222||||0|1||22222|1|1||||||||
||4|||333333||||0|0||3|0|1||||||||
||5|||444444444444444||||0|0||4444|1|0||||||||
||6|||5555555||||0|0||55555555555555|0|0||||||||
Table: subscriber_apn
name|type|notnull|dflt_value|pk
apn|VARCHAR(256)|1||0
subscriber_id|INTEGER|0||0
Table subscriber_apn contents:
Table: subscriber_multi_msisdn
name|type|notnull|dflt_value|pk
msisdn|VARCHAR(15)|1||0
subscriber_id|INTEGER|0||0
Table subscriber_multi_msisdn contents:
Verify that osmo-hlr can open it:
osmo-hlr --database $db --db-check --config-file $srcdir/osmo-hlr.cfg
rc = 0
DMAIN hlr starting
DDB using database: <PATH>test.db
DDB Database <PATH>test.db' has HLR DB schema version 7
DMAIN Cmdline option --db-check: Database was opened successfully, quitting.
+ mint_db=./mint.db
+ rm -f ./mint.db
+ osmo_verify_transcript_vty.py -v -n OsmoHLR -p 4258 -r ./../../src/osmo-hlr -c ./osmo-hlr.cfg -l ./mint.db ./create_subscribers.vty
DMAIN hlr starting
DDB using database: ./mint.db
DDB Missing database tables detected; Bootstrapping database './mint.db'
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 356, in verify_application
interact.connect()
File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/vty.py", line 84, in connect
super().connect()
File "/usr/local/lib/python3.11/dist-packages/osmopython-0.2.1-py3.11.egg/osmopy/osmo_interact/common.py", line 88, in connect
self.socket.connect((self.host, int(self.port)))
ConnectionRefusedError: [Errno 111] Connection refused
Launching: cd '/build/tests/db_upgrade'; ./../../src/osmo-hlr -c ./osmo-hlr.cfg -l ./mint.db
RESULTS:
FAIL: ./create_subscribers.vty
make[7]: Leaving directory '/build/tests/db_upgrade'
make[7]: *** [Makefile:481: upgrade-equivalence-test] Error 1
make[6]: *** [Makefile:734: db-upgrade-equivalence-test] Error 2
make[6]: Leaving directory '/build/tests'
make[5]: *** [Makefile:698: python-tests] Error 2
make[5]: Leaving directory '/build/tests'
make[4]: *** [Makefile:738: check-local] Error 2
make[4]: Leaving directory '/build/tests'
make[3]: *** [Makefile:555: check-am] Error 2
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
make[2]: *** [Makefile:405: check-recursive] Error 1
make[1]: Leaving directory '/build'
make[1]: *** [Makefile:490: check-recursive] Error 1
make: *** [Makefile:789: check] Error 2
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 2001703 killed;
[ssh-agent] Stopped.
Archiving artifacts
Sending e-mails to: jenkins-notifications@lists.osmocom.org laforge@gnumonks.org
Finished: FAILURE