Changes:
------------------------------------------ [...truncated 2.04 MB...] DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD INFO Log message for DDDDD on level LOGL_INFO DDDDD NOTICE Log message for DDDDD on level LOGL_NOTICE DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE INFO Log message for DEEE on level LOGL_INFO DEEE NOTICE Log message for DEEE on level LOGL_NOTICE DEEE ERROR Log message for DEEE on level LOGL_ERROR DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level set-all debug
logging_vty_test# log-sweep DAA DEBUG Log message for DAA on level LOGL_DEBUG DAA INFO Log message for DAA on level LOGL_INFO DAA NOTICE Log message for DAA on level LOGL_NOTICE DAA ERROR Log message for DAA on level LOGL_ERROR DAA FATAL Log message for DAA on level LOGL_FATAL DBB DEBUG Log message for DBB on level LOGL_DEBUG DBB INFO Log message for DBB on level LOGL_INFO DBB NOTICE Log message for DBB on level LOGL_NOTICE DBB ERROR Log message for DBB on level LOGL_ERROR DBB FATAL Log message for DBB on level LOGL_FATAL DCCC DEBUG Log message for DCCC on level LOGL_DEBUG DCCC INFO Log message for DCCC on level LOGL_INFO DCCC NOTICE Log message for DCCC on level LOGL_NOTICE DCCC ERROR Log message for DCCC on level LOGL_ERROR DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD DEBUG Log message for DDDDD on level LOGL_DEBUG DDDDD INFO Log message for DDDDD on level LOGL_INFO DDDDD NOTICE Log message for DDDDD on level LOGL_NOTICE DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE DEBUG Log message for DEEE on level LOGL_DEBUG DEEE INFO Log message for DEEE on level LOGL_INFO DEEE NOTICE Log message for DEEE on level LOGL_NOTICE DEEE ERROR Log message for DEEE on level LOGL_ERROR DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level set-all fatal
logging_vty_test# log-sweep DAA FATAL Log message for DAA on level LOGL_FATAL DBB FATAL Log message for DBB on level LOGL_FATAL DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level dddd error
logging_vty_test# log-sweep DAA FATAL Log message for DAA on level LOGL_FATAL DBB FATAL Log message for DBB on level LOGL_FATAL DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level ccc notice
logging_vty_test# log-sweep DAA FATAL Log message for DAA on level LOGL_FATAL DBB FATAL Log message for DBB on level LOGL_FATAL DCCC NOTICE Log message for DCCC on level LOGL_NOTICE DCCC ERROR Log message for DCCC on level LOGL_ERROR DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level bb info
logging_vty_test# log-sweep DAA FATAL Log message for DAA on level LOGL_FATAL DBB INFO Log message for DBB on level LOGL_INFO DBB NOTICE Log message for DBB on level LOGL_NOTICE DBB ERROR Log message for DBB on level LOGL_ERROR DBB FATAL Log message for DBB on level LOGL_FATAL DCCC NOTICE Log message for DCCC on level LOGL_NOTICE DCCC ERROR Log message for DCCC on level LOGL_ERROR DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# logging level aa debug
logging_vty_test# log-sweep DAA DEBUG Log message for DAA on level LOGL_DEBUG DAA INFO Log message for DAA on level LOGL_INFO DAA NOTICE Log message for DAA on level LOGL_NOTICE DAA ERROR Log message for DAA on level LOGL_ERROR DAA FATAL Log message for DAA on level LOGL_FATAL DBB INFO Log message for DBB on level LOGL_INFO DBB NOTICE Log message for DBB on level LOGL_NOTICE DBB ERROR Log message for DBB on level LOGL_ERROR DBB FATAL Log message for DBB on level LOGL_FATAL DCCC NOTICE Log message for DCCC on level LOGL_NOTICE DCCC ERROR Log message for DCCC on level LOGL_ERROR DCCC FATAL Log message for DCCC on level LOGL_FATAL DDDDD ERROR Log message for DDDDD on level LOGL_ERROR DDDDD FATAL Log message for DDDDD on level LOGL_FATAL DEEE FATAL Log message for DEEE on level LOGL_FATAL
logging_vty_test# 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 log-sweep [CATEGORY] 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 (aa|bb|ccc|dddd|eee|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 (aa|bb|ccc|dddd|eee|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
logging_vty_test# logp? logp Print a message on all log outputs; useful for placing markers in test logs
logging_vty_test# logp ? aa Antropomorphic Armadillos (AA) bb Bidirectional Breadspread (BB) ccc Chaos Communication Congress (CCC) dddd Dehydrated Dribbling Duck Dunkers (DDDD) eee Exhaustive Entropy Extraction (EEE) lglobal Library-internal global log family llapd LAPD in libosmogsm linp A-bis Intput Subsystem lmux A-bis B-Subchannel TRAU Frame Multiplex lmi A-bis Input Driver for Signalling lmib A-bis Input Driver for B-Channels (voice) lsms Layer3 Short Message Service (SMS) lctrl Control Interface lgtp GPRS GTP library lstats Statistics messages and logging lgsup Generic Subscriber Update Protocol loap Osmocom Authentication Protocol lss7 libosmo-sigtran Signalling System 7 lsccp libosmo-sigtran SCCP Implementation lsua libosmo-sigtran SCCP User Adaptation lm3ua libosmo-sigtran MTP3 User Adaptation lmgcp libosmo-mgcp Media Gateway Control Protocol ljibuf libosmo-netif Jitter Buffer lrspro Remote SIM protocol lns GPRS NS layer lbssgp GPRS BSSGP layer lnsdata GPRS NS layer data PDU lnssignal GPRS NS layer signal PDU liuup Iu UP layer lpfcp libosmo-pfcp Packet Forwarding Control Protocol lcsn1 libosmo-csn1 Concrete Syntax Notation 1 codec lio libosmocore IO Subsystem
logging_vty_test# logp lglobal ? debug Log debug messages and higher levels info Log informational messages and higher levels notice Log noticeable messages and higher levels error Log error messages and higher levels fatal Log only fatal messages
logging_vty_test# logp lglobal info ? LOGMESSAGE Arbitrary message to log on given category and log level
logging_vty_test# logging level set-all notice
logging_vty_test# logp aa error This is the log message DAA ERROR This is the log message
logging_vty_test# logp lglobal debug This log message is not echoed
logging_vty_test# logp lglobal notice This log message is echoed DLGLOBAL NOTICE This log message is echoed
logging_vty_test# logp lctrl notice This is a CTRL specific message DLCTRL NOTICE This is a CTRL specific message talloc report on 'vty' (total 75620 bytes in 4006 blocks) save_cwd contains 13 bytes in 1 blocks (ref 0) 0x60b000022a10 vty_command contains 50447 bytes in 2637 blocks (ref 0) 0x608000000280 vty_vector contains 25160 bytes in 1367 blocks (ref 0) 0x608000000200 full talloc report on 'logging_vty_test' (total 5423 bytes in 11 blocks) telnet_connection contains 1 bytes in 1 blocks (ref 0) 0x60b000092b10 logging contains 5422 bytes in 9 blocks (ref 0) 0x60b00002dcd0 vty_logp_doc_str contains 1303 bytes in 1 blocks (ref 0) 0x61a000001ee0 vty_logp_cmd_str contains 230 bytes in 1 blocks (ref 0) 0x613000001ca0 vty_log_level_doc_str contains 1096 bytes in 1 blocks (ref 0) 0x61a000000ce0 vty_log_level_cmd_str contains 206 bytes in 1 blocks (ref 0) 0x6120000015a0 vty_log_level_doc_str contains 1231 bytes in 1 blocks (ref 0) 0x61a0000006e0 vty_log_level_cmd_str contains 227 bytes in 1 blocks (ref 0) 0x613000000960 struct log_info contains 1128 bytes in 2 blocks (ref 0) 0x60d000003300 struct log_info_cat contains 1088 bytes in 1 blocks (ref 0) 0x61a0000000e0 signal 15 received
RESULTS: pass: ./logging/logging_vty_test.vty
make[7]: Leaving directory '/build/tests' make vty-test-vty make[7]: Entering directory '/build/tests' osmo_verify_transcript_vty.py -v \ -p 42042 \ -r "../tests/vty/vty_transcript_test" \ ./vty/*.vty <0000> socket.c:1093 unable to bind socket:127.0.0.1:42042: Address already in use <0000> socket.c:1105 no suitable addr found for: 127.0.0.1:42042 <0000> telnet_interface.c:83 Cannot bind telnet at 127.0.0.1 42042 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1950743 killed; [ssh-agent] Stopped. Archiving artifacts
jenkins-notifications@lists.osmocom.org