nixbot

builds

failed supascan-1.0.0 checks.x86_64-linux.supascan · build #1037 · raw

unpackPhase
1unpacking source archive /nix/store/z09734sni15cz1rsc4m06vv7cjhc44mr-supascan2source root is supascan
buildPhase
3Building subPackage ./cmd/supascan
checkPhase
4=== RUN TestCategorizeFilePath5=== RUN TestCategorizeFilePath//boot/grub/grub.cfg6=== RUN TestCategorizeFilePath//boot/efi/EFI/BOOT/BOOTX64.EFI7=== RUN TestCategorizeFilePath//data/pgdata/base8=== RUN TestCategorizeFilePath//data/50M_PLACEHOLDER9=== RUN TestCategorizeFilePath//etc/postgresql/postgresql.conf10=== RUN TestCategorizeFilePath//etc/postgres/pg_hba.conf11=== RUN TestCategorizeFilePath//etc/ssl/certs/ca-certificates.crt12=== RUN TestCategorizeFilePath//etc/ssl/private/server.key13=== RUN TestCategorizeFilePath//etc/systemd/system/postgresql.service14=== RUN TestCategorizeFilePath//etc/nftables.conf15=== RUN TestCategorizeFilePath//etc/nftables/supabase.conf16=== RUN TestCategorizeFilePath//etc/fail2ban/jail.local17=== RUN TestCategorizeFilePath//etc/passwd18=== RUN TestCategorizeFilePath//etc/hosts19=== RUN TestCategorizeFilePath//home/ubuntu/.bashrc20=== RUN TestCategorizeFilePath//home/postgres/.profile21=== RUN TestCategorizeFilePath//nix/store/abc123-package22=== RUN TestCategorizeFilePath//nix/var/nix/profiles23=== RUN TestCategorizeFilePath//opt/saltstack/salt24=== RUN TestCategorizeFilePath//usr/local/bin/supascan25=== RUN TestCategorizeFilePath//usr/local/share/doc26=== RUN TestCategorizeFilePath//usr/bin/bash27=== RUN TestCategorizeFilePath//usr/lib/systemd28=== RUN TestCategorizeFilePath//var/lib/postgresql/data29=== RUN TestCategorizeFilePath//var/lib/postgresql/15/main30=== RUN TestCategorizeFilePath//var/log/syslog31=== RUN TestCategorizeFilePath//var/run/postgresql32=== RUN TestCategorizeFilePath//tmp/test33=== RUN TestCategorizeFilePath//root/.bashrc34--- PASS: TestCategorizeFilePath (0.00s)35 --- PASS: TestCategorizeFilePath//boot/grub/grub.cfg (0.00s)36 --- PASS: TestCategorizeFilePath//boot/efi/EFI/BOOT/BOOTX64.EFI (0.00s)37 --- PASS: TestCategorizeFilePath//data/pgdata/base (0.00s)38 --- PASS: TestCategorizeFilePath//data/50M_PLACEHOLDER (0.00s)39 --- PASS: TestCategorizeFilePath//etc/postgresql/postgresql.conf (0.00s)40 --- PASS: TestCategorizeFilePath//etc/postgres/pg_hba.conf (0.00s)41 --- PASS: TestCategorizeFilePath//etc/ssl/certs/ca-certificates.crt (0.00s)42 --- PASS: TestCategorizeFilePath//etc/ssl/private/server.key (0.00s)43 --- PASS: TestCategorizeFilePath//etc/systemd/system/postgresql.service (0.00s)44 --- PASS: TestCategorizeFilePath//etc/nftables.conf (0.00s)45 --- PASS: TestCategorizeFilePath//etc/nftables/supabase.conf (0.00s)46 --- PASS: TestCategorizeFilePath//etc/fail2ban/jail.local (0.00s)47 --- PASS: TestCategorizeFilePath//etc/passwd (0.00s)48 --- PASS: TestCategorizeFilePath//etc/hosts (0.00s)49 --- PASS: TestCategorizeFilePath//home/ubuntu/.bashrc (0.00s)50 --- PASS: TestCategorizeFilePath//home/postgres/.profile (0.00s)51 --- PASS: TestCategorizeFilePath//nix/store/abc123-package (0.00s)52 --- PASS: TestCategorizeFilePath//nix/var/nix/profiles (0.00s)53 --- PASS: TestCategorizeFilePath//opt/saltstack/salt (0.00s)54 --- PASS: TestCategorizeFilePath//usr/local/bin/supascan (0.00s)55 --- PASS: TestCategorizeFilePath//usr/local/share/doc (0.00s)56 --- PASS: TestCategorizeFilePath//usr/bin/bash (0.00s)57 --- PASS: TestCategorizeFilePath//usr/lib/systemd (0.00s)58 --- PASS: TestCategorizeFilePath//var/lib/postgresql/data (0.00s)59 --- PASS: TestCategorizeFilePath//var/lib/postgresql/15/main (0.00s)60 --- PASS: TestCategorizeFilePath//var/log/syslog (0.00s)61 --- PASS: TestCategorizeFilePath//var/run/postgresql (0.00s)62 --- PASS: TestCategorizeFilePath//tmp/test (0.00s)63 --- PASS: TestCategorizeFilePath//root/.bashrc (0.00s)64=== RUN TestCategorizeFiles65--- PASS: TestCategorizeFiles (0.00s)66=== RUN TestValidatorSpecLists67--- PASS: TestValidatorSpecLists (0.00s)68=== RUN TestCriticalAndAdvisoryDoNotOverlap69--- PASS: TestCriticalAndAdvisoryDoNotOverlap (0.00s)70PASS71ok github.com/supabase/supascan/cmd/supascan 0.003s72=== RUN TestLoad_Defaults73--- PASS: TestLoad_Defaults (0.00s)74=== RUN TestLoad_ConfigFile75--- PASS: TestLoad_ConfigFile (0.00s)76=== RUN TestLoad_CLIOverrides77--- PASS: TestLoad_CLIOverrides (0.00s)78=== RUN TestLoad_ShallowDepthZero79--- PASS: TestLoad_ShallowDepthZero (0.00s)80=== RUN TestLoad_ShallowDepthDefault81--- PASS: TestLoad_ShallowDepthDefault (0.00s)82=== RUN TestLoad_ShallowDepthFromCLI83--- PASS: TestLoad_ShallowDepthFromCLI (0.00s)84=== RUN TestLoad_ShallowDirs85--- PASS: TestLoad_ShallowDirs (0.00s)86=== RUN TestIsPathExcluded_PycacheAndPyc87--- PASS: TestIsPathExcluded_PycacheAndPyc (0.00s)88=== RUN TestIsPathExcluded_CacheAndHistory89--- PASS: TestIsPathExcluded_CacheAndHistory (0.00s)90PASS91ok github.com/supabase/supascan/internal/config 0.005s92=== RUN TestCheck93=== RUN TestCheck/clean_file94=== RUN TestCheck/setuid_not_listed95=== RUN TestCheck/setgid_not_listed96=== RUN TestCheck/setuid_listed97=== RUN TestCheck/world-writable_file98=== RUN TestCheck/sticky_world-writable_dir99=== RUN TestCheck/world-writable_dir100=== RUN TestCheck/group-writable_file101=== RUN TestCheck/group-writable_excepted102=== RUN TestCheck/subtree_excepted103=== RUN TestCheck/subtree_root_excepted104=== RUN TestCheck/sibling_of_subtree105=== RUN TestCheck/orphan_uid106=== RUN TestCheck/orphan_gid107=== RUN TestCheck/mode_outside_allowlist108=== RUN TestCheck/mode_outside_roots109=== RUN TestCheck/dir_mode_outside_allowlist110=== RUN TestCheck/dir_mode_allowed111--- PASS: TestCheck (0.00s)112 --- PASS: TestCheck/clean_file (0.00s)113 --- PASS: TestCheck/setuid_not_listed (0.00s)114 --- PASS: TestCheck/setgid_not_listed (0.00s)115 --- PASS: TestCheck/setuid_listed (0.00s)116 --- PASS: TestCheck/world-writable_file (0.00s)117 --- PASS: TestCheck/sticky_world-writable_dir (0.00s)118 --- PASS: TestCheck/world-writable_dir (0.00s)119 --- PASS: TestCheck/group-writable_file (0.00s)120 --- PASS: TestCheck/group-writable_excepted (0.00s)121 --- PASS: TestCheck/subtree_excepted (0.00s)122 --- PASS: TestCheck/subtree_root_excepted (0.00s)123 --- PASS: TestCheck/sibling_of_subtree (0.00s)124 --- PASS: TestCheck/orphan_uid (0.00s)125 --- PASS: TestCheck/orphan_gid (0.00s)126 --- PASS: TestCheck/mode_outside_allowlist (0.00s)127 --- PASS: TestCheck/mode_outside_roots (0.00s)128 --- PASS: TestCheck/dir_mode_outside_allowlist (0.00s)129 --- PASS: TestCheck/dir_mode_allowed (0.00s)130=== RUN TestLoadPolicy131--- PASS: TestLoadPolicy (0.00s)132=== RUN TestScan133 discovery_test.go:140: chmod /build/TestScan4177438941/001/usr/bin/allowed: operation not permitted134--- FAIL: TestScan (0.00s)135=== RUN TestScanOrphanIDs136--- PASS: TestScanOrphanIDs (0.00s)137=== RUN TestScanMissingPasswd138--- PASS: TestScanMissingPasswd (0.00s)139FAIL140FAIL github.com/supabase/supascan/internal/discovery 0.005s141? github.com/supabase/supascan/internal/logger [no test files]142=== RUN TestCommandScanner_BasicScan143--- PASS: TestCommandScanner_BasicScan (0.00s)144=== RUN TestCommandScanner_Properties145--- PASS: TestCommandScanner_Properties (0.00s)146=== RUN TestFileScanner_BasicScan147--- PASS: TestFileScanner_BasicScan (0.00s)148=== RUN TestFileScanner_Exclusions149--- PASS: TestFileScanner_Exclusions (0.00s)150=== RUN TestFileScanner_ShallowDirsDepthZero151--- PASS: TestFileScanner_ShallowDirsDepthZero (0.00s)152=== RUN TestFileScanner_ShallowDirsDepthOne153--- PASS: TestFileScanner_ShallowDirsDepthOne (0.00s)154=== RUN TestGroupScanner_BasicScan155--- PASS: TestGroupScanner_BasicScan (0.00s)156=== RUN TestGroupScanner_Properties157--- PASS: TestGroupScanner_Properties (0.00s)158=== RUN TestGroupScanner_MalformedLines159--- PASS: TestGroupScanner_MalformedLines (0.00s)160=== RUN TestKernelParamScanner_BasicScan161--- PASS: TestKernelParamScanner_BasicScan (0.00s)162=== RUN TestKernelParamScanner_Properties163--- PASS: TestKernelParamScanner_Properties (0.00s)164=== RUN TestKernelParamScanner_MultilineSkip165--- PASS: TestKernelParamScanner_MultilineSkip (0.00s)166=== RUN TestKernelParamScanner_TabsToSpaces167--- PASS: TestKernelParamScanner_TabsToSpaces (0.00s)168=== RUN TestMountScanner_BasicScan169--- PASS: TestMountScanner_BasicScan (0.00s)170=== RUN TestMountScanner_Properties171--- PASS: TestMountScanner_Properties (0.00s)172=== RUN TestMountScanner_FiltersInstanceSpecificOptions173--- PASS: TestMountScanner_FiltersInstanceSpecificOptions (0.00s)174=== RUN TestMountScanner_MalformedLines175--- PASS: TestMountScanner_MalformedLines (0.00s)176=== RUN TestPackageScanner_BasicScan177--- PASS: TestPackageScanner_BasicScan (0.00s)178=== RUN TestPackageScanner_FilterByStatus179--- PASS: TestPackageScanner_FilterByStatus (0.00s)180=== RUN TestPackageScanner_ScannerInterface181--- PASS: TestPackageScanner_ScannerInterface (0.00s)182=== RUN TestPackageScanner_EmptyOutput183--- PASS: TestPackageScanner_EmptyOutput (0.00s)184=== RUN TestPackageScanner_MalformedLine185--- PASS: TestPackageScanner_MalformedLine (0.00s)186=== RUN TestPortScanner_BasicScan187--- PASS: TestPortScanner_BasicScan (0.01s)188=== RUN TestPortScanner_Properties189--- PASS: TestPortScanner_Properties (0.00s)190=== RUN TestProcessScanner_BasicScan191--- PASS: TestProcessScanner_BasicScan (0.00s)192=== RUN TestProcessScanner_Properties193--- PASS: TestProcessScanner_Properties (0.00s)194=== RUN TestRunAll_SkipsDynamic195--- PASS: TestRunAll_SkipsDynamic (0.00s)196=== RUN TestServiceScanner_BasicScan197--- PASS: TestServiceScanner_BasicScan (0.00s)198=== RUN TestServiceScanner_Properties199--- PASS: TestServiceScanner_Properties (0.00s)200=== RUN TestUserScanner_BasicScan201--- PASS: TestUserScanner_BasicScan (0.00s)202=== RUN TestUserScanner_Properties203--- PASS: TestUserScanner_Properties (0.00s)204=== RUN TestUserScanner_MalformedLines205--- PASS: TestUserScanner_MalformedLines (0.00s)206PASS207ok github.com/supabase/supascan/internal/scanners 0.015s208=== RUN TestYAMLWriter_SingleResource209--- PASS: TestYAMLWriter_SingleResource (0.00s)210=== RUN TestYAMLWriter_ChunkedWriting211--- PASS: TestYAMLWriter_ChunkedWriting (0.00s)212=== RUN TestYAMLWriter_WritesZeroUserAndGroupIDs213--- PASS: TestYAMLWriter_WritesZeroUserAndGroupIDs (0.00s)214=== RUN TestYAMLWriter_JSONFormat215--- PASS: TestYAMLWriter_JSONFormat (0.00s)216PASS217ok github.com/supabase/supascan/internal/spec 0.005s218=== RUN TestCriticalSpecsList219--- PASS: TestCriticalSpecsList (0.00s)220=== RUN TestAdvisorySpecsList221--- PASS: TestAdvisorySpecsList (0.00s)222=== RUN TestNewValidator223--- PASS: TestNewValidator (0.00s)224=== RUN TestResultCounts225--- PASS: TestResultCounts (0.00s)226=== RUN TestRunDiscoverySkippedWithoutPolicy227--- PASS: TestRunDiscoverySkippedWithoutPolicy (0.00s)228PASS229ok github.com/supabase/supascan/internal/validator 0.003s230FAIL