From ac95cdba0034d543e63afc254be71876d41b92f7 Mon Sep 17 00:00:00 2001 From: chrisfu Date: Thu, 29 Jan 2026 23:58:43 -0800 Subject: [PATCH 1/2] cleaning up; tests in the folder, scripts in the desk --- docker-run-ubuntu.sh | 7 - retropie_facts.json | 1298 ----------------- .../docker-root-prole-db.sh | 0 .../docker-run-prole-db.sh | 0 .../final_comprehensive_test.sh | 0 final_test.sh => tests/final_test.sh | 0 run_tests.sh => tests/run_tests.sh | 0 .../test_all_prole_home_fixes.sh | 0 .../test_build_system.sh | 0 .../test_docker_build_fix.sh | 0 .../test_embedded_resources.sh | 0 .../test_network_scan_fix.sh | 0 .../test_resource_paths.py | 0 13 files changed, 1305 deletions(-) delete mode 100755 docker-run-ubuntu.sh delete mode 100644 retropie_facts.json rename docker-root-prole-db.sh => scripts/docker-root-prole-db.sh (100%) rename docker-run-prole-db.sh => scripts/docker-run-prole-db.sh (100%) rename final_comprehensive_test.sh => tests/final_comprehensive_test.sh (100%) rename final_test.sh => tests/final_test.sh (100%) rename run_tests.sh => tests/run_tests.sh (100%) rename test_all_prole_home_fixes.sh => tests/test_all_prole_home_fixes.sh (100%) rename test_build_system.sh => tests/test_build_system.sh (100%) rename test_docker_build_fix.sh => tests/test_docker_build_fix.sh (100%) rename test_embedded_resources.sh => tests/test_embedded_resources.sh (100%) rename test_network_scan_fix.sh => tests/test_network_scan_fix.sh (100%) rename test_resource_paths.py => tests/test_resource_paths.py (100%) diff --git a/docker-run-ubuntu.sh b/docker-run-ubuntu.sh deleted file mode 100755 index ded799e..0000000 --- a/docker-run-ubuntu.sh +++ /dev/null @@ -1,7 +0,0 @@ -docker run --rm -it --hostname=prole_ubuntu_base \ - --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \ - --volume=/Users/chrisfu/dev/prole/data:/data \ - --network=bridge \ - --entrypoint bash \ - --restart=no \ -arm64v8/ubuntu:24.04 diff --git a/retropie_facts.json b/retropie_facts.json deleted file mode 100644 index 559d43c..0000000 --- a/retropie_facts.json +++ /dev/null @@ -1,1298 +0,0 @@ -retropie.prole.org | SUCCESS => { - "ansible_facts": { - "ansible_all_ipv4_addresses": [ - "10.0.0.207" - ], - "ansible_all_ipv6_addresses": [], - "ansible_apparmor": { - "status": "disabled" - }, - "ansible_architecture": "armv7l", - "ansible_bios_date": "", - "ansible_bios_vendor": "", - "ansible_bios_version": "", - "ansible_board_asset_tag": "", - "ansible_board_name": "", - "ansible_board_serial": "", - "ansible_board_vendor": "", - "ansible_board_version": "", - "ansible_chassis_asset_tag": "", - "ansible_chassis_serial": "", - "ansible_chassis_vendor": "", - "ansible_chassis_version": "", - "ansible_cmdline": { - "8250.nr_uarts": "1", - "cgroup_enable": "memory", - "cgroup_memory": "1", - "coherent_pool": "1M", - "console": "tty1", - "consoleblank": "0", - "fsck.repair": "yes", - "loglevel": "3", - "plymouth.enable": "0", - "root": "PARTUUID=2cb4498c-02", - "rootfstype": "ext4", - "rootwait": true, - "smsc95xx.macaddr": "E4:5F:01:90:35:0A", - "snd_bcm2835.enable_compat_alsa": "0", - "snd_bcm2835.enable_hdmi": "1", - "vc_mem.mem_base": "0x3ec00000", - "vc_mem.mem_size": "0x40000000", - "video": "HDMI-A-1:1920x1080M@60D,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48" - }, - "ansible_date_time": { - "date": "2026-01-21", - "day": "21", - "epoch": "1769056515", - "epoch_int": "1769056515", - "hour": "20", - "iso8601": "2026-01-22T04:35:15Z", - "iso8601_basic": "20260121T203515850792", - "iso8601_basic_short": "20260121T203515", - "iso8601_micro": "2026-01-22T04:35:15.850792Z", - "minute": "35", - "month": "01", - "second": "15", - "time": "20:35:15", - "tz": "PST", - "tz_dst": "PDT", - "tz_offset": "-0800", - "weekday": "Wednesday", - "weekday_number": "3", - "weeknumber": "03", - "year": "2026" - }, - "ansible_default_ipv4": { - "address": "10.0.0.207", - "alias": "wlan0", - "broadcast": "10.0.0.255", - "gateway": "10.0.0.1", - "interface": "wlan0", - "macaddress": "e4:5f:01:90:35:0b", - "mtu": 1500, - "netmask": "255.255.255.0", - "network": "10.0.0.0", - "prefix": "24", - "type": "ether" - }, - "ansible_default_ipv6": {}, - "ansible_device_links": { - "ids": { - "mmcblk0": [ - "mmc-ED2S5_0x80a45f3d" - ], - "mmcblk0p1": [ - "mmc-ED2S5_0x80a45f3d-part1" - ], - "mmcblk0p2": [ - "mmc-ED2S5_0x80a45f3d-part2" - ], - "sda": [ - "ata-Samsung_SSD_850_PRO_512GB_S250NX0H706703J", - "usb-Samsung_SSD_850_PRO_512G_0220042316AD-0:0", - "wwn-0x5002538840241855" - ], - "sda1": [ - "ata-Samsung_SSD_850_PRO_512GB_S250NX0H706703J-part1", - "usb-Samsung_SSD_850_PRO_512G_0220042316AD-0:0-part1", - "wwn-0x5002538840241855-part1" - ] - }, - "labels": { - "mmcblk0p1": [ - "boot" - ], - "mmcblk0p2": [ - "retropie" - ], - "sda1": [ - "nespirom" - ] - }, - "masters": {}, - "uuids": { - "mmcblk0p1": [ - "7B52-6C51" - ], - "mmcblk0p2": [ - "e55989cf-283b-4cfc-8f49-8559e5ed331b" - ], - "sda1": [ - "19f7d64e-05f5-4995-bd67-7701f73f6027" - ] - } - }, - "ansible_devices": { - "loop0": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop1": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop2": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop3": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop4": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop5": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop6": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "loop7": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "1", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 0, - "sectorsize": "512", - "size": "0.00 Bytes", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "mmcblk0": { - "holders": [], - "host": "", - "links": { - "ids": [ - "mmc-ED2S5_0x80a45f3d" - ], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": { - "mmcblk0p1": { - "holders": [], - "links": { - "ids": [ - "mmc-ED2S5_0x80a45f3d-part1" - ], - "labels": [ - "boot" - ], - "masters": [], - "uuids": [ - "7B52-6C51" - ] - }, - "sectors": 524288, - "sectorsize": 512, - "size": "256.00 MB", - "start": "8192", - "uuid": "7B52-6C51" - }, - "mmcblk0p2": { - "holders": [], - "links": { - "ids": [ - "mmc-ED2S5_0x80a45f3d-part2" - ], - "labels": [ - "retropie" - ], - "masters": [], - "uuids": [ - "e55989cf-283b-4cfc-8f49-8559e5ed331b" - ] - }, - "sectors": 249815040, - "sectorsize": 512, - "size": "119.12 GB", - "start": "532480", - "uuid": "e55989cf-283b-4cfc-8f49-8559e5ed331b" - } - }, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 250347520, - "sectorsize": "512", - "serial": "0x80a45f3d", - "size": "119.38 GB", - "support_discard": "4194304", - "vendor": null, - "virtual": 1 - }, - "ram0": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram1": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram10": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram11": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram12": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram13": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram14": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram15": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram2": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram3": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram4": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram5": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram6": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram7": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram8": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "ram9": { - "holders": [], - "host": "", - "links": { - "ids": [], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": null, - "partitions": {}, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "", - "sectors": 8192, - "sectorsize": "512", - "size": "4.00 MB", - "support_discard": "0", - "vendor": null, - "virtual": 1 - }, - "sda": { - "holders": [], - "host": "USB controller: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller (rev 01)", - "links": { - "ids": [ - "ata-Samsung_SSD_850_PRO_512GB_S250NX0H706703J", - "usb-Samsung_SSD_850_PRO_512G_0220042316AD-0:0", - "wwn-0x5002538840241855" - ], - "labels": [], - "masters": [], - "uuids": [] - }, - "model": "SSD 850 PRO 512G", - "partitions": { - "sda1": { - "holders": [], - "links": { - "ids": [ - "ata-Samsung_SSD_850_PRO_512GB_S250NX0H706703J-part1", - "usb-Samsung_SSD_850_PRO_512G_0220042316AD-0:0-part1", - "wwn-0x5002538840241855-part1" - ], - "labels": [ - "nespirom" - ], - "masters": [], - "uuids": [ - "19f7d64e-05f5-4995-bd67-7701f73f6027" - ] - }, - "sectors": 1000212480, - "sectorsize": 512, - "size": "476.94 GB", - "start": "2048", - "uuid": "19f7d64e-05f5-4995-bd67-7701f73f6027" - } - }, - "removable": "0", - "rotational": "0", - "sas_address": null, - "sas_device_handle": null, - "scheduler_mode": "mq-deadline", - "sectors": 1000215216, - "sectorsize": "512", - "size": "476.94 GB", - "support_discard": "0", - "vendor": "Samsung", - "virtual": 1, - "wwn": "0x5002538840241855" - } - }, - "ansible_distribution": "Debian", - "ansible_distribution_file_parsed": true, - "ansible_distribution_file_path": "/etc/os-release", - "ansible_distribution_file_variety": "Debian", - "ansible_distribution_major_version": "12", - "ansible_distribution_minor_version": "12", - "ansible_distribution_release": "bookworm", - "ansible_distribution_version": "12", - "ansible_dns": { - "nameservers": [ - "10.0.0.5", - "10.0.0.4" - ], - "search": [ - "prole.org" - ] - }, - "ansible_domain": "prole.org", - "ansible_effective_group_id": 0, - "ansible_effective_user_id": 0, - "ansible_end0": { - "active": false, - "device": "end0", - "features": { - "esp_hw_offload": "off [fixed]", - "esp_tx_csum_hw_offload": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "macsec_hw_offload": "off [fixed]", - "netns_local": "off [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on", - "rx_fcs": "off [fixed]", - "rx_gro_hw": "off [fixed]", - "rx_gro_list": "off", - "rx_udp_tunnel_port_offload": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "off", - "tls_hw_record": "off [fixed]", - "tls_hw_rx_offload": "off [fixed]", - "tls_hw_tx_offload": "off [fixed]", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "on", - "tx_esp_segmentation": "off [fixed]", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_list": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "off [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "on", - "tx_scatter_gather_fraglist": "off [fixed]", - "tx_sctp_segmentation": "off [fixed]", - "tx_tcp6_segmentation": "off [fixed]", - "tx_tcp_ecn_segmentation": "off [fixed]", - "tx_tcp_mangleid_segmentation": "off [fixed]", - "tx_tcp_segmentation": "off [fixed]", - "tx_tunnel_remcsum_segmentation": "off [fixed]", - "tx_udp_segmentation": "off [fixed]", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "macaddress": "e4:5f:01:90:35:0a", - "mtu": 1500, - "pciid": "fd580000.ethernet", - "promisc": false, - "speed": -1, - "timestamping": [], - "type": "ether" - }, - "ansible_env": { - "HOME": "/root", - "LANG": "en_US.UTF-8", - "LC_CTYPE": "C.UTF-8", - "LOGNAME": "root", - "MAIL": "/var/mail/root", - "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", - "PWD": "/home/ansible", - "SHELL": "/bin/bash", - "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-ipcnobnrlfppoinmldwfctbvmrfqbalg ; /usr/bin/python3.11", - "SUDO_GID": "1200513", - "SUDO_UID": "1201112", - "SUDO_USER": "ansible", - "TERM": "unknown", - "USER": "root" - }, - "ansible_fibre_channel_wwn": [], - "ansible_fips": false, - "ansible_form_factor": "", - "ansible_fqdn": "retropie.prole.org", - "ansible_hostname": "retropie", - "ansible_hostnqn": "", - "ansible_interfaces": [ - "wlan0", - "lo", - "end0" - ], - "ansible_is_chroot": false, - "ansible_iscsi_iqn": "iqn.1993-08.org.debian:01:9153962aa580", - "ansible_kernel": "5.10.103-v7l+", - "ansible_kernel_version": "#1529 SMP Tue Mar 8 12:24:00 GMT 2022", - "ansible_lo": { - "active": true, - "device": "lo", - "features": { - "esp_hw_offload": "off [fixed]", - "esp_tx_csum_hw_offload": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "on", - "highdma": "on [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "on [fixed]", - "macsec_hw_offload": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "on [fixed]", - "rx_fcs": "off [fixed]", - "rx_gro_hw": "off [fixed]", - "rx_gro_list": "off", - "rx_udp_tunnel_port_offload": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "on", - "tcp_segmentation_offload": "on", - "tls_hw_record": "off [fixed]", - "tls_hw_rx_offload": "off [fixed]", - "tls_hw_tx_offload": "off [fixed]", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "on [fixed]", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "on [fixed]", - "tx_checksumming": "on", - "tx_esp_segmentation": "off [fixed]", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_list": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "on [fixed]", - "tx_nocache_copy": "off [fixed]", - "tx_scatter_gather": "on [fixed]", - "tx_scatter_gather_fraglist": "on [fixed]", - "tx_sctp_segmentation": "on", - "tx_tcp6_segmentation": "on", - "tx_tcp_ecn_segmentation": "on", - "tx_tcp_mangleid_segmentation": "on", - "tx_tcp_segmentation": "on", - "tx_tunnel_remcsum_segmentation": "off [fixed]", - "tx_udp_segmentation": "off [fixed]", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "vlan_challenged": "on [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "127.0.0.1", - "broadcast": "", - "netmask": "255.0.0.0", - "network": "127.0.0.0", - "prefix": "8" - }, - "ipv6": [ - { - "address": "::1", - "prefix": "128", - "scope": "host" - } - ], - "mtu": 65536, - "promisc": false, - "timestamping": [], - "type": "loopback" - }, - "ansible_loadavg": { - "15m": 1.28369140625, - "1m": 1.3134765625, - "5m": 1.2451171875 - }, - "ansible_local": {}, - "ansible_locally_reachable_ips": { - "ipv4": [ - "10.0.0.207", - "127.0.0.0/8", - "127.0.0.1" - ], - "ipv6": [ - "::1" - ] - }, - "ansible_lsb": { - "codename": "bookworm", - "description": "Raspbian GNU/Linux 12 (bookworm)", - "id": "Raspbian", - "major_release": "12", - "release": "12" - }, - "ansible_lvm": "N/A", - "ansible_machine": "armv7l", - "ansible_machine_id": "25178e7efdaf467fb96ed453828f9812", - "ansible_memfree_mb": 5540, - "ansible_memory_mb": { - "nocache": { - "free": 7554, - "used": 344 - }, - "real": { - "free": 5540, - "total": 7898, - "used": 2358 - }, - "swap": { - "cached": 0, - "free": 2047, - "total": 2047, - "used": 0 - } - }, - "ansible_memtotal_mb": 7898, - "ansible_mounts": [ - { - "block_available": 22679536, - "block_size": 4096, - "block_total": 30732803, - "block_used": 8053267, - "device": "/dev/root", - "dump": 0, - "fstype": "ext4", - "inode_available": 7323475, - "inode_total": 7608752, - "inode_used": 285277, - "mount": "/", - "options": "rw,noatime", - "passno": 0, - "size_available": 92895379456, - "size_total": 125881561088, - "uuid": "N/A" - }, - { - "block_available": 45382, - "block_size": 4096, - "block_total": 65467, - "block_used": 20085, - "device": "/dev/mmcblk0p1", - "dump": 0, - "fstype": "vfat", - "inode_available": 0, - "inode_total": 0, - "inode_used": 0, - "mount": "/boot", - "options": "rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro", - "passno": 0, - "size_available": 185884672, - "size_total": 268152832, - "uuid": "7B52-6C51" - }, - { - "block_available": 108064328, - "block_size": 4096, - "block_total": 122802434, - "block_used": 14738106, - "device": "/dev/sda1", - "dump": 0, - "fstype": "ext4", - "inode_available": 31255586, - "inode_total": 31260672, - "inode_used": 5086, - "mount": "/home/pi/ssd", - "options": "rw,nosuid,nodev,noexec,relatime,stripe=8191", - "passno": 0, - "size_available": 442631487488, - "size_total": 502998769664, - "uuid": "19f7d64e-05f5-4995-bd67-7701f73f6027" - } - ], - "ansible_nodename": "retropie.prole.org", - "ansible_os_family": "Debian", - "ansible_pkg_mgr": "apt", - "ansible_proc_cmdline": { - "8250.nr_uarts": "1", - "cgroup_enable": "memory", - "cgroup_memory": "1", - "coherent_pool": "1M", - "console": [ - "ttyS0,115200", - "tty1" - ], - "consoleblank": "0", - "fsck.repair": "yes", - "loglevel": "3", - "plymouth.enable": "0", - "root": "PARTUUID=2cb4498c-02", - "rootfstype": "ext4", - "rootwait": true, - "smsc95xx.macaddr": "E4:5F:01:90:35:0A", - "snd_bcm2835.enable_compat_alsa": "0", - "snd_bcm2835.enable_hdmi": "1", - "vc_mem.mem_base": "0x3ec00000", - "vc_mem.mem_size": "0x40000000", - "video": "HDMI-A-1:1920x1080M@60D,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48" - }, - "ansible_processor": [ - "0", - "ARMv7 Processor rev 3 (v7l)", - "1", - "ARMv7 Processor rev 3 (v7l)", - "2", - "ARMv7 Processor rev 3 (v7l)", - "3", - "ARMv7 Processor rev 3 (v7l)" - ], - "ansible_processor_cores": 1, - "ansible_processor_count": 4, - "ansible_processor_nproc": 4, - "ansible_processor_threads_per_core": 1, - "ansible_processor_vcpus": 4, - "ansible_product_name": "", - "ansible_product_serial": "", - "ansible_product_uuid": "", - "ansible_product_version": "", - "ansible_python": { - "executable": "/usr/bin/python3.11", - "has_sslcontext": true, - "type": "cpython", - "version": { - "major": 3, - "micro": 2, - "minor": 11, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 3, - 11, - 2, - "final", - 0 - ] - }, - "ansible_python_version": "3.11.2", - "ansible_real_group_id": 0, - "ansible_real_user_id": 0, - "ansible_selinux": { - "status": "disabled" - }, - "ansible_selinux_python_present": true, - "ansible_service_mgr": "systemd", - "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAK9OY3P2yjXmyQkBKXJFMqPiyGMsLL9GOR7ksxujqLIc5i/a2BkfuvUOavQY5BcxkbQ6Iq8XrorHDXzM5pK/Iu/mZM4POOqda40ZDeR8so/9aBLprtIQ6UErED1X49KdzTfe7hVKMyOHmbYqLP10OamoCXH6gCPtsin106uCIK5xAAAAFQD5XDZXINZmMplGY3y5lcGuQGlAJQAAAIEAoQcv04Ms+DCmDxo3S6lSUlyHreohpjpxjnEXSHp8CckrIhx3+AT/M6uDTgJTBa3LBv/klxXXNUgxl50VimbsMSYSOl+iLea9o6/fLTktgsoSRbrHjQHNzqQTWVEV/w8l00F6OGBV3nlKJstKULoKANff97XxpEWs7VrjMoQSS1MAAACAc8zGDsIQh5ZJM+0sqcbS43nFg4d91TYkKFW0AnxhlJLgQt3pi6vIwFKzhZ0RxhHONb1Lu/aHaVUAcbOiMgSxdNj5Z35dtyk38/7E2gDb4tgu4fl6Bbee6eCBdY1sQS5hbtKwb9VwUr70aJRphacE4bGs9ldJOVzZKiByp7dKB3M=", - "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", - "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7g3Z8b+EbX15vdiLv2tJ3CUqznX+Yzu83RyXXwR3aDoRcJGr9rHf5VgiBmDM0Oe+Typ0Lr49p0SZThVWAmIb8=", - "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", - "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEoFpDwK9GqYWXKNfpC33JQrnkfyjjAfw7hZ5zRleJqy", - "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", - "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDChSaScdfNKIBBuVq8ElSlL9PUn7hWn8n2O8neuGhbWub2Bli1bvsftMiJGiMGET+W2wRk3j6Bye9kTcv4kv57Uw3yo0BqU62D2e9iwUMvQD9idNnWc+2QS7oRaejeZFz9YSMt2t8qtkr2j/xNW99szm+r8KgHU3Gc16+4MnPLmm011ny8fAkDBBgnWreIS62bGu0wVIalj4+cJryTFcwegoaKvOMVr9/AlIls6WHSP7hkUXr+0YJfQtUCBO6fU7yhSo5wtAmEo1G3iTpC95HlnWhH3eQiBJSlJXPlJEaD4vaTsEYaNkVCcHyaK+5PVC3oHx97tsdBclmXgIKLU3Nt", - "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", - "ansible_swapfree_mb": 2047, - "ansible_swaptotal_mb": 2047, - "ansible_system": "Linux", - "ansible_system_capabilities": [], - "ansible_system_capabilities_enforced": "False", - "ansible_system_vendor": "", - "ansible_systemd": { - "features": "+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified", - "version": 252 - }, - "ansible_uptime_seconds": 2049051, - "ansible_user_dir": "/root", - "ansible_user_gecos": "root", - "ansible_user_gid": 0, - "ansible_user_id": "root", - "ansible_user_shell": "/bin/bash", - "ansible_user_uid": 0, - "ansible_userspace_bits": "32", - "ansible_virtualization_role": "NA", - "ansible_virtualization_tech_guest": [], - "ansible_virtualization_tech_host": [], - "ansible_virtualization_type": "NA", - "ansible_wlan0": { - "active": true, - "device": "wlan0", - "features": { - "esp_hw_offload": "off [fixed]", - "esp_tx_csum_hw_offload": "off [fixed]", - "fcoe_mtu": "off [fixed]", - "generic_receive_offload": "on", - "generic_segmentation_offload": "off [requested on]", - "highdma": "off [fixed]", - "hw_tc_offload": "off [fixed]", - "l2_fwd_offload": "off [fixed]", - "large_receive_offload": "off [fixed]", - "loopback": "off [fixed]", - "macsec_hw_offload": "off [fixed]", - "netns_local": "on [fixed]", - "ntuple_filters": "off [fixed]", - "receive_hashing": "off [fixed]", - "rx_all": "off [fixed]", - "rx_checksumming": "off [fixed]", - "rx_fcs": "off [fixed]", - "rx_gro_hw": "off [fixed]", - "rx_gro_list": "off", - "rx_udp_tunnel_port_offload": "off [fixed]", - "rx_vlan_filter": "off [fixed]", - "rx_vlan_offload": "off [fixed]", - "rx_vlan_stag_filter": "off [fixed]", - "rx_vlan_stag_hw_parse": "off [fixed]", - "scatter_gather": "off", - "tcp_segmentation_offload": "off", - "tls_hw_record": "off [fixed]", - "tls_hw_rx_offload": "off [fixed]", - "tls_hw_tx_offload": "off [fixed]", - "tx_checksum_fcoe_crc": "off [fixed]", - "tx_checksum_ip_generic": "off [fixed]", - "tx_checksum_ipv4": "off [fixed]", - "tx_checksum_ipv6": "off [fixed]", - "tx_checksum_sctp": "off [fixed]", - "tx_checksumming": "off", - "tx_esp_segmentation": "off [fixed]", - "tx_fcoe_segmentation": "off [fixed]", - "tx_gre_csum_segmentation": "off [fixed]", - "tx_gre_segmentation": "off [fixed]", - "tx_gso_list": "off [fixed]", - "tx_gso_partial": "off [fixed]", - "tx_gso_robust": "off [fixed]", - "tx_ipxip4_segmentation": "off [fixed]", - "tx_ipxip6_segmentation": "off [fixed]", - "tx_lockless": "off [fixed]", - "tx_nocache_copy": "off", - "tx_scatter_gather": "off [fixed]", - "tx_scatter_gather_fraglist": "off [fixed]", - "tx_sctp_segmentation": "off [fixed]", - "tx_tcp6_segmentation": "off [fixed]", - "tx_tcp_ecn_segmentation": "off [fixed]", - "tx_tcp_mangleid_segmentation": "off [fixed]", - "tx_tcp_segmentation": "off [fixed]", - "tx_tunnel_remcsum_segmentation": "off [fixed]", - "tx_udp_segmentation": "off [fixed]", - "tx_udp_tnl_csum_segmentation": "off [fixed]", - "tx_udp_tnl_segmentation": "off [fixed]", - "tx_vlan_offload": "off [fixed]", - "tx_vlan_stag_hw_insert": "off [fixed]", - "vlan_challenged": "off [fixed]" - }, - "hw_timestamp_filters": [], - "ipv4": { - "address": "10.0.0.207", - "broadcast": "10.0.0.255", - "netmask": "255.255.255.0", - "network": "10.0.0.0", - "prefix": "24" - }, - "macaddress": "e4:5f:01:90:35:0b", - "module": "brcmfmac", - "mtu": 1500, - "pciid": "mmc1:0001:1", - "promisc": false, - "timestamping": [], - "type": "ether" - }, - "discovered_interpreter_python": "/usr/bin/python3.11", - "gather_subset": [ - "all" - ], - "module_setup": true - }, - "changed": false -} diff --git a/docker-root-prole-db.sh b/scripts/docker-root-prole-db.sh similarity index 100% rename from docker-root-prole-db.sh rename to scripts/docker-root-prole-db.sh diff --git a/docker-run-prole-db.sh b/scripts/docker-run-prole-db.sh similarity index 100% rename from docker-run-prole-db.sh rename to scripts/docker-run-prole-db.sh diff --git a/final_comprehensive_test.sh b/tests/final_comprehensive_test.sh similarity index 100% rename from final_comprehensive_test.sh rename to tests/final_comprehensive_test.sh diff --git a/final_test.sh b/tests/final_test.sh similarity index 100% rename from final_test.sh rename to tests/final_test.sh diff --git a/run_tests.sh b/tests/run_tests.sh similarity index 100% rename from run_tests.sh rename to tests/run_tests.sh diff --git a/test_all_prole_home_fixes.sh b/tests/test_all_prole_home_fixes.sh similarity index 100% rename from test_all_prole_home_fixes.sh rename to tests/test_all_prole_home_fixes.sh diff --git a/test_build_system.sh b/tests/test_build_system.sh similarity index 100% rename from test_build_system.sh rename to tests/test_build_system.sh diff --git a/test_docker_build_fix.sh b/tests/test_docker_build_fix.sh similarity index 100% rename from test_docker_build_fix.sh rename to tests/test_docker_build_fix.sh diff --git a/test_embedded_resources.sh b/tests/test_embedded_resources.sh similarity index 100% rename from test_embedded_resources.sh rename to tests/test_embedded_resources.sh diff --git a/test_network_scan_fix.sh b/tests/test_network_scan_fix.sh similarity index 100% rename from test_network_scan_fix.sh rename to tests/test_network_scan_fix.sh diff --git a/test_resource_paths.py b/tests/test_resource_paths.py similarity index 100% rename from test_resource_paths.py rename to tests/test_resource_paths.py From a9c1c188919bdf619cc40009e2a85750b90d9587 Mon Sep 17 00:00:00 2001 From: chrisfu Date: Fri, 30 Jan 2026 00:03:29 -0800 Subject: [PATCH 2/2] samba family passwords never expire --- infrastructure/setup/cr_samba_family_users.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/setup/cr_samba_family_users.sh b/infrastructure/setup/cr_samba_family_users.sh index 5b246a7..dfdcdc3 100755 --- a/infrastructure/setup/cr_samba_family_users.sh +++ b/infrastructure/setup/cr_samba_family_users.sh @@ -96,6 +96,10 @@ for user in "${USERS[@]}"; do # membership first "${SUDO[@]}" samba-tool group addmembers "${GROUP}" "${user}" >/dev/null 2>&1 || true + # ensure password never expires + "${SUDO[@]}" samba-tool user setexpiry "${user}" --noexpiry >/dev/null + "${SUDO[@]}" samba-tool user setpassword "${user}" --must-change-at-next-login=no + # now set the final (possibly weak) password under the PSO echo " set final password for ${user}" "${SUDO[@]}" samba-tool user setpassword "${user}"