Files
mars_nwe_pcab/TEST-RESULTS-0.9.5-NDS-INTEGRATION.txt

192 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

MARS NWE 0.9.5 NDS Integration – actual test run
Base: uploaded 0.9.4 archive; remote Git DNS/fetch failed.
make -j2 check-release: exit 0
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 src/broker.c src/slp.c src/ncp_ip.c src/ncp_ip_config.c src/wire.c src/pcap_dyn.c src/ipxpkt.c src/gateway.c src/dhcp.c src/gateway_config.c -I/usr/include/json-c -ljson-c -ldl -o build/mars-pcapd
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -c src/shim.c -o build/shim.o
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_wire.c src/wire.c -o build/test-wire
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_native.c native/core.c -o build/test-native -ljson-c -lssl -lcrypto -pthread
cc -O2 -g -Wall -Wextra -std=c11 -DMARS_TESTING -Inative -I/usr/include/json-c tests/test_supervisor.c native/supervisor.c native/core.c -o build/test-supervisor -ljson-c -lssl -lcrypto -pthread
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_gateway.c src/ipxpkt.c src/gateway_config.c -o build/test-gateway -I/usr/include/json-c -ljson-c
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc -I/usr/include/json-c tests/test_gateway_auto.c native/gateway_auto.c native/core.c src/dhcp.c src/gateway_config.c -o build/test-gateway-auto -ljson-c -lssl -lcrypto -pthread
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc -Iclients/windows -Iclients/windows/ndis5 tests/test_winclient.c clients/windows/client_core.c clients/windows/ndis5/frame_queue.c src/ipxpkt.c src/dhcp.c -o build/test-winclient -I/usr/include/json-c -ljson-c
cc -O2 -g -Wall -Wextra -std=c89 -pedantic -DMARS_LEGACY_KERNEL -Iclients/windows/ndis3 tests/test_legacy.c clients/windows/ndis3/legacy_core.c clients/windows/ndis5/frame_queue.c -o build/test-legacy
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_print.c native/printing.c native/core.c -o build/test-print -ljson-c -lssl -lcrypto -pthread -ldl
cc -O2 -g -Wall -Wextra -std=c11 -I/usr/include/json-c native/print_stdin.c native/rawprint.c native/printing.c native/core.c -o build/mars-print -ljson-c -lssl -lcrypto -pthread -ldl
cc -O2 -g -Wall -Wextra -std=c11 tests/test_raw.c native/rawprint.c -o build/test-raw
cc -O2 -g -Wall -Wextra -std=c11 -Inative -I/usr/include/json-c tests/test_directory.c native/directory.c native/core.c -o build/test-directory -ljson-c -lssl -lcrypto -pthread
cc -O2 -g -Wall -Wextra -Werror -std=c11 -Inative -DMARS_WRAPPED -DMARS_ID_TESTING '-DMARS_ID_DB="/mnt/data/work/mars_nwe/build/identity-test/ids.sqlite3"' tests/test_identity.c native/identity.c native/identity_wrap.c -Wl,--wrap=getpwnam -Wl,--wrap=getpwuid -Wl,--wrap=getpwnam_r -Wl,--wrap=getpwuid_r -Wl,--wrap=getgrnam -Wl,--wrap=getgrgid -Wl,--wrap=getgrnam_r -Wl,--wrap=getgrgid_r -Wl,--wrap=initgroups -Wl,--wrap=getgrouplist -lsqlite3 -o build/test-identity
cc -O2 -g -Wall -Wextra -Werror -std=c11 -Inative -I/usr/include/json-c -DMARS_ID_TESTING '-DMARS_ID_DB="/mnt/data/work/mars_nwe/build/identity-test/api.sqlite3"' tests/test_identity_api.c native/identity.c native/identity_api.c native/core.c -ljson-c -lssl -lcrypto -pthread -lsqlite3 -o build/test-identity-api
cc -O2 -g -Wall -Wextra -std=c11 -I/usr/include/json-c tests/test_scripts.c -o build/test-scripts -ljson-c -lssl -lcrypto -pthread
cc -O2 -g -Wall -Wextra -std=c11 tests/test_trustee.c -o build/test-trustee
./build/test-nds-frag
PASS experimental NDS 104/2 fragment assembly, reply fragmentation, handles, bounds, errors
node --test browser/test.mjs browser/audio-controller.test.mjs browser/lifecycle.test.mjs
TAP version 13
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -Werror -std=c11 -Isrc tests/test_ncp_ip_config.c src/ncp_ip_config.c -o build/test-ncp-ip-config -I/usr/include/json-c -ljson-c
# Subtest: managed audio only starts on request, stops, and can restart after failure
ok 1 - managed audio only starts on request, stops, and can restart after failure
---
duration_ms: 3.344764
type: 'test'
...
# Subtest: missing audio server and spawn failure remain unavailable
ok 2 - missing audio server and spawn failure remain unavailable
---
duration_ms: 0.975358
type: 'test'
...
# Subtest: external audio mode does not start or kill a separate process
ok 3 - external audio mode does not start or kill a separate process
---
duration_ms: 0.141953
type: 'test'
...
node tests/test_ncp_ip_ui.cjs
PASS NCP/IP UI: local address selection, validation, revision, save, failed load
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -Werror -std=c11 -Isrc tests/test_slp.c src/slp.c -o build/test-slp
./build/test-nds-lab
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
MARS_NDS_LAB=0 ./build/test-nds-lab disabled
PASS disabled or invalid model fails closed
MARS_NDS_LAB=1 MARS_NDS_LAB_CONFIG='{"tree":"X","organization":"Y","units":["A/B"]}' ./build/test-nds-lab invalid
PASS disabled or invalid model fails closed
python3 tests/test_nds_hook.py
# Subtest: admin accessible while disabled, listener toggle and persisted restart
ok 4 - admin accessible while disabled, listener toggle and persisted restart
---
duration_ms: 570.039747
type: 'test'
...
# Subtest: configuration bounds and secure defaults
ok 5 - configuration bounds and secure defaults
---
duration_ms: 2.230146
type: 'test'
...
# Subtest: packet fragmentation and network order
ok 6 - packet fragmentation and network order
---
duration_ms: 1.847311
type: 'test'
...
# Subtest: RLE565
ok 7 - RLE565
---
duration_ms: 0.87733
type: 'test'
...
# Subtest: ADPCM independent block
ok 8 - ADPCM independent block
---
duration_ms: 0.392
type: 'test'
...
1..8
# tests 8
# suites 0
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 638.798093
node --check websetup/app.js
make -C clients/retro-browser check
make[1]: Entering directory '/mnt/data/work/mars_nwe/clients/retro-browser'
cc -O2 -Wall -Wextra -std=c89 -pedantic common/rbp.c common/test.c -o rbp-test
./rbp-test
PASS C89 wire fragmentation, endian, RLE bounds, PCM, IMA ADPCM
rm -f rbp-test
make[1]: Leaving directory '/mnt/data/work/mars_nwe/clients/retro-browser'
python3 tests/test_nds_directory.py
PASS native resolve/read/list/search, ambiguity, pagination, readonly, stable IDs
PASS provisioning, permission mode, duplicate and malformed object rejection
PASS trace metadata aggregation and signed error decoding (synthetic TSV)
python3 tests/test_nds_snapshot.py
PASS database-backed NCP Resolve Name and fail-closed login
PASS database-backed NCP Resolve Name and fail-closed login
PASS disabled or invalid model fails closed
PASS disabled or invalid model fails closed
PASS database-backed NCP Resolve Name and fail-closed login
PASS snapshot default privacy, stable IDs, no reuse, rollback on collision, absent/mismatched database fails closed
ar rcs build/libmarspcap.a build/shim.o
./build/test-native
PASS merge, CRLF, unknown lines, injection rejection
PASS managed LFN server version merge
PASS backup, revision conflict, private file, traversal rejection
PASS PBKDF2, default, persistent password, wrong password
PASS validation invalid configuration and detected Ethernet interface
./build/test-supervisor
PASS dispatcher hook compile/link fixture, rejects repeated or incompatible patch; actual upstream not tested
./build/test-gateway
PASS: IPXPKT both sockets, little-endian IDs, fragmentation, out-of-order, duplicates, expiry, throughput, malformed data, config validation, static MAC/IP and ARP policy
./build/test-gateway-auto
PASS: overlapping routes, DHCP OFFER/ACK/NAK, malformed and spoofed packets
./build/test-winclient
PASS: Windows client core + actual server codec/DHCP; peer validation, fragments, queue
./build/test-legacy
legacy core: queue, MAC, packet filter, invalid frames, lease expiry passed
./build/test-print
CUPS probe (actual library): { "error": "Bad file descriptor" }
PASS: invalid destination rejected
./build/test-raw
PASS: RAW TCP 9100 exact binary bytes over local TCP
./build/test-directory
PASS directory validation, persistence, revisions, backup, live reports
mkdir -p build/identity-test
chmod 0700 build/identity-test
./build/test-identity
PASS actual kernel UID-based file permission separation
PASS virtual UID/GID allocation, persistence, libc lookups, groups, permission and symlink rejection, no reuse
./build/test-identity-api
PASS API capability check, failed probe reservation, successful mocked Bindery create, duplicate rejection, no password in SQLite/API
./build/test-scripts
PASS system/personal scripts, CRLF, backup, inode/mode, stale revision, ASCII, symlink rejection
./build/test-trustee
MARS-TRUSTEE -1
MARS-TRUSTEE 65
MARS-TRUSTEE -1
PASS trustee path/rights validation, mock get/set/remove, revision conflict, symlink rejection
./build/test-ncp-ip-config
PASS NCP/IP local/private address and type validation
./build/test-slp
PASS SLPv2 query, attributes, scope/filter, no NDS advertisement, malformed packets and random inputs
cc -D_DEFAULT_SOURCE -O2 -g -Wall -Wextra -std=c11 -Isrc tests/test_ipc.c build/libmarspcap.a -o build/test-ipc
./build/test-wire
PASS: 4 frame types, addresses, padding, lengths, malformed frames and MTU
PASS supervisor: start, restart, stop, restart after stop, shutdown; browser independent start, update restart, crash recovery, shutdown (mock child processes)
node tests/test_directory_ui.cjs
PASS wizard form validation and generated client instructions
python3 tests/test_dos_export.py
Read-only DOS snapshot: /tmp/tmpbph8deu7/dos
Configure a SEPARATE read-only NetWare volume and its trustee rights. Source ACLs are not copied.
PASS: DOS aliases, collisions, reserved names, bytes, CP850 catalog, link rejection
Final NDS rerun after input validation change: exit 0
python3 tests/test_nds_directory.py
PASS native resolve/read/list/search, ambiguity, pagination, readonly, stable IDs
PASS provisioning, permission mode, duplicate and malformed object rejection
PASS trace metadata aggregation and signed error decoding (synthetic TSV)
python3 tests/test_nds_snapshot.py
PASS database-backed NCP Resolve Name and fail-closed login
PASS database-backed NCP Resolve Name and fail-closed login
PASS disabled or invalid model fails closed
PASS disabled or invalid model fails closed
PASS database-backed NCP Resolve Name and fail-closed login
PASS snapshot default privacy, stable IDs, no reuse, rollback on collision, absent/mismatched database fails closed
./build/test-nds-lab
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
MARS_NDS_LAB=0 ./build/test-nds-lab disabled
PASS disabled or invalid model fails closed
MARS_NDS_LAB=1 MARS_NDS_LAB_CONFIG='{"tree":"X","organization":"Y","units":["A/B"]}' ./build/test-nds-lab invalid
PASS disabled or invalid model fails closed
python3 tests/test_nds_hook.py
PASS dispatcher hook compile/link fixture, rejects repeated or incompatible patch; actual upstream not tested
Shell and JS syntax checks: exit 0
ASan/UBSan synthetic packet fuzz: exit 0 (leak detection disabled)
PASS ping, context, public Resolve Name, fragment isolation, replay, close, denied auth, malformed packets and 50000 random requests
NOT RUN: upstream build (external tree and CivetWeb headers unavailable), systemd, actual client login, tshark pcap parsing, real IPX/TCP network integration.