MidnightBSD Magus

security/nebula

Scalable overlay networking tool

Flavor Version Run OSVersion Arch License Restricted Status
1.8.2 601 3.2 amd64 mit 0 fail

License Permissions:

Events

Machine Type Time Message
m3264 info 2025-03-01 23:09:25.284446 Test Started
m3264 fail 2025-03-01 23:10:32.038389 make test returned non-zero: 1
m3264 fail 2025-03-01 23:10:32.24558 Test complete.

Log

===>  Testing for nebula-1.8.2
(cd /magus/work/usr/mports/security/nebula/work/github.com/slackhq/nebula@v1.8.2;  for t in ./...; do  echo "===>  Testing ${t}";  /usr/bin/env -i HOME=/magus/work/usr/mports/security/nebula/work  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=302002 PATH=/magus/work/usr/mports/security/nebula/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TERM=vt100 TMPDIR=/tmp XDG_DATA_HOME=/magus/work/usr/mports/security/nebula/work  XDG_CONFIG_HOME=/magus/work/usr/mports/security/nebula/work  HOME=/magus/work/usr/mports/security/nebula/work TMPDIR="/tmp" PATH=/magus/work/usr/mports/security/nebula/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/magus/work/usr/mports/security/nebula/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES TARGETDIR=/usr/local  DESTDIR=  PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444" CGO_ENABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64=  GOARM=  GOTMPDIR="/magus/work/usr/mports/security/nebula/work" GOPATH="/magus/distfiles/go/security_nebula"  GOBIN="/magus/work/usr/mports/security/nebula/work/bin"  GO111MODULE=on  GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GOPROXY=off /usr/local/bin/go121 test -v -buildvcs=false -mod=vendor ${t};  done)
===>  Testing ./...
# github.com/slackhq/nebula/cmd/nebula-cert [github.com/slackhq/nebula/cmd/nebula-cert.test]
cmd/nebula-cert/ca_test.go:104:109: undefined: NoSuchDirError
cmd/nebula-cert/ca_test.go:117:109: undefined: NoSuchDirError
cmd/nebula-cert/keygen_test.go:51:107: undefined: NoSuchDirError
cmd/nebula-cert/keygen_test.go:64:107: undefined: NoSuchDirError
cmd/nebula-cert/print_test.go:51:73: undefined: NoSuchFileError
cmd/nebula-cert/sign_test.go:101:97: undefined: NoSuchFileError
cmd/nebula-cert/sign_test.go:123:97: undefined: NoSuchFileError
cmd/nebula-cert/sign_test.go:154:97: undefined: NoSuchFileError
cmd/nebula-cert/sign_test.go:224:115: undefined: NoSuchDirError
cmd/nebula-cert/sign_test.go:237:115: undefined: NoSuchDirError
cmd/nebula-cert/sign_test.go:237:115: too many errors
?   	github.com/slackhq/nebula/cmd/nebula	[no test files]
=== RUN   TestNewAllowListFromConfig
--- PASS: TestNewAllowListFromConfig (0.00s)
=== RUN   TestAllowList_Allow
--- PASS: TestAllowList_Allow (0.00s)
=== RUN   TestLocalAllowList_AllowName
--- PASS: TestLocalAllowList_AllowName (0.00s)
=== RUN   TestBits
--- PASS: TestBits (0.00s)
=== RUN   TestBitsDupeCounter
--- PASS: TestBitsDupeCounter (0.00s)
=== RUN   TestBitsOutOfWindowCounter
--- PASS: TestBitsOutOfWindowCounter (0.00s)
=== RUN   TestBitsLostCounter
--- PASS: TestBitsLostCounter (0.00s)
=== RUN   TestCalculatedRemoteApply
--- PASS: TestCalculatedRemoteApply (0.00s)
=== RUN   Test_NewConnectionManagerTest
--- PASS: Test_NewConnectionManagerTest (0.00s)
=== RUN   Test_NewConnectionManagerTest2
--- PASS: Test_NewConnectionManagerTest2 (0.00s)
=== RUN   Test_NewConnectionManagerTest_DisconnectInvalid
--- PASS: Test_NewConnectionManagerTest_DisconnectInvalid (0.00s)
=== RUN   TestControl_GetHostInfoByVpnIp
--- PASS: TestControl_GetHostInfoByVpnIp (0.00s)
=== RUN   TestParsequery
--- PASS: TestParsequery (0.00s)
=== RUN   TestNewFirewall
--- PASS: TestNewFirewall (0.00s)
=== RUN   TestFirewall_AddRule
--- PASS: TestFirewall_AddRule (0.00s)
=== RUN   TestFirewall_Drop
--- PASS: TestFirewall_Drop (0.00s)
=== RUN   TestFirewall_Drop2
--- PASS: TestFirewall_Drop2 (0.00s)
=== RUN   TestFirewall_Drop3
--- PASS: TestFirewall_Drop3 (0.00s)
=== RUN   TestFirewall_DropConntrackReload
--- PASS: TestFirewall_DropConntrackReload (0.00s)
=== RUN   Test_parsePort
--- PASS: Test_parsePort (0.00s)
=== RUN   TestNewFirewallFromConfig
--- PASS: TestNewFirewallFromConfig (0.00s)
=== RUN   TestAddFirewallRulesFromConfig
--- PASS: TestAddFirewallRulesFromConfig (0.00s)
=== RUN   TestTCPRTTTracking
--- PASS: TestTCPRTTTracking (0.00s)
=== RUN   TestFirewall_convertRule
--- PASS: TestFirewall_convertRule (0.00s)
=== RUN   Test_NewHandshakeManagerVpnIp
--- PASS: Test_NewHandshakeManagerVpnIp (0.00s)
=== RUN   TestHostMap_MakePrimary
--- PASS: TestHostMap_MakePrimary (0.00s)
=== RUN   TestHostMap_DeleteHostInfo
--- PASS: TestHostMap_DeleteHostInfo (0.00s)
=== RUN   TestOldIPv4Only
--- PASS: TestOldIPv4Only (0.00s)
=== RUN   TestNewLhQuery
--- PASS: TestNewLhQuery (0.00s)
=== RUN   Test_lhStaticMapping
--- PASS: Test_lhStaticMapping (0.00s)
=== RUN   TestReloadLighthouseInterval
--- PASS: TestReloadLighthouseInterval (0.00s)
=== RUN   TestLighthouse_Memory
--- PASS: TestLighthouse_Memory (0.00s)
=== RUN   TestLighthouse_reload
--- PASS: TestLighthouse_reload (0.00s)
=== RUN   Test_ipMaskContains
--- PASS: Test_ipMaskContains (0.00s)
=== RUN   Test_newPacket
--- PASS: Test_newPacket (0.00s)
=== RUN   TestNewPunchyFromConfig
--- PASS: TestNewPunchyFromConfig (0.00s)
=== RUN   TestPunchy_reload
--- PASS: TestPunchy_reload (0.00s)
=== RUN   TestRemoteList_Rebuild
--- PASS: TestRemoteList_Rebuild (0.00s)
=== RUN   TestNewTimerWheel
--- PASS: TestNewTimerWheel (0.00s)
=== RUN   TestTimerWheel_findWheel
--- PASS: TestTimerWheel_findWheel (0.00s)
=== RUN   TestTimerWheel_Add
--- PASS: TestTimerWheel_Add (0.01s)
=== RUN   TestTimerWheel_Purge
--- PASS: TestTimerWheel_Purge (0.00s)
PASS
ok  	github.com/slackhq/nebula	0.051s
?   	github.com/slackhq/nebula/cmd/nebula-service	[no test files]
?   	github.com/slackhq/nebula/e2e/router	[no test files]
?   	github.com/slackhq/nebula/e2e	[no test files]
=== RUN   TestMarshalingNebulaCertificate
--- PASS: TestMarshalingNebulaCertificate (0.00s)
=== RUN   TestNebulaCertificate_Sign
--- PASS: TestNebulaCertificate_Sign (0.00s)
=== RUN   TestNebulaCertificate_SignP256
--- PASS: TestNebulaCertificate_SignP256 (0.00s)
=== RUN   TestNebulaCertificate_Expired
--- PASS: TestNebulaCertificate_Expired (0.00s)
=== RUN   TestNebulaCertificate_MarshalJSON
--- PASS: TestNebulaCertificate_MarshalJSON (0.00s)
=== RUN   TestNebulaCertificate_Verify
--- PASS: TestNebulaCertificate_Verify (0.00s)
=== RUN   TestNebulaCertificate_VerifyP256
--- PASS: TestNebulaCertificate_VerifyP256 (0.00s)
=== RUN   TestNebulaCertificate_Verify_IPs
--- PASS: TestNebulaCertificate_Verify_IPs (0.00s)
=== RUN   TestNebulaCertificate_Verify_Subnets
--- PASS: TestNebulaCertificate_Verify_Subnets (0.00s)
=== RUN   TestNebulaCertificate_VerifyPrivateKey
--- PASS: TestNebulaCertificate_VerifyPrivateKey (0.00s)
=== RUN   TestNebulaCertificate_VerifyPrivateKeyP256
--- PASS: TestNebulaCertificate_VerifyPrivateKeyP256 (0.00s)
=== RUN   TestNewCAPoolFromBytes
--- PASS: TestNewCAPoolFromBytes (0.00s)
=== RUN   TestUnmrshalCertPEM
--- PASS: TestUnmrshalCertPEM (0.00s)
=== RUN   TestUnmarshalSigningPrivateKey
--- PASS: TestUnmarshalSigningPrivateKey (0.00s)
=== RUN   TestDecryptAndUnmarshalSigningPrivateKey
--- PASS: TestDecryptAndUnmarshalSigningPrivateKey (4.42s)
=== RUN   TestEncryptAndMarshalSigningPrivateKey
--- PASS: TestEncryptAndMarshalSigningPrivateKey (0.08s)
=== RUN   TestUnmarshalPrivateKey
--- PASS: TestUnmarshalPrivateKey (0.00s)
=== RUN   TestUnmarshalEd25519PublicKey
--- PASS: TestUnmarshalEd25519PublicKey (0.00s)
=== RUN   TestUnmarshalX25519PublicKey
--- PASS: TestUnmarshalX25519PublicKey (0.00s)
=== RUN   TestMarshalingNebulaCertificateConsistency
--- PASS: TestMarshalingNebulaCertificateConsistency (0.00s)
=== RUN   TestNebulaCertificate_Copy
--- PASS: TestNebulaCertificate_Copy (0.00s)
=== RUN   TestUnmarshalNebulaCertificate
--- PASS: TestUnmarshalNebulaCertificate (0.00s)
=== RUN   TestNewArgon2Parameters
--- PASS: TestNewArgon2Parameters (0.00s)
PASS
ok  	github.com/slackhq/nebula/cert	4.667s
=== RUN   TestCIDRTree_List
--- PASS: TestCIDRTree_List (0.00s)
=== RUN   TestCIDRTree_Contains
--- PASS: TestCIDRTree_Contains (0.00s)
=== RUN   TestCIDRTree_MostSpecificContains
--- PASS: TestCIDRTree_MostSpecificContains (0.00s)
=== RUN   TestCIDRTree_Match
--- PASS: TestCIDRTree_Match (0.00s)
=== RUN   TestCIDR6Tree_MostSpecificContains
--- PASS: TestCIDR6Tree_MostSpecificContains (0.00s)
=== RUN   TestCIDR6Tree_MostSpecificContainsIpV6
--- PASS: TestCIDR6Tree_MostSpecificContainsIpV6 (0.00s)
PASS
ok  	github.com/slackhq/nebula/cidr	0.016s
FAIL	github.com/slackhq/nebula/cmd/nebula-cert [build failed]
=== RUN   TestConfig_Load
--- PASS: TestConfig_Load (0.00s)
=== RUN   TestConfig_Get
--- PASS: TestConfig_Get (0.00s)
=== RUN   TestConfig_GetStringSlice
--- PASS: TestConfig_GetStringSlice (0.00s)
=== RUN   TestConfig_GetBool
--- PASS: TestConfig_GetBool (0.00s)
=== RUN   TestConfig_HasChanged
--- PASS: TestConfig_HasChanged (0.00s)
=== RUN   TestConfig_ReloadConfig
--- PASS: TestConfig_ReloadConfig (0.00s)
=== RUN   TestConfig_MergoMerge
    config_test.go:205: Merged Config: map[interface {}]interface {}{"firewall":map[interface {}]interface {}{"inbound":[]interface {}{map[interface {}]interface {}{"host":"any", "port":"any", "proto":"icmp"}, map[interface {}]interface {}{"groups":[]interface {}{"server"}, "port":443, "proto":"tcp"}, map[interface {}]interface {}{"groups":[]interface {}{"webapp"}, "port":443, "proto":"tcp"}}, "outbound":[]interface {}{map[interface {}]interface {}{"host":"any", "port":"any", "proto":"any"}}}, "listen":map[interface {}]interface {}{"host":"0.0.0.0", "port":4242}}
    config_test.go:208: Merged Config as YAML:
        firewall:
          inbound:
          - host: any
            port: any
            proto: icmp
          - groups:
            - server
            port: 443
            proto: tcp
          - groups:
            - webapp
            port: 443
            proto: tcp
          outbound:
          - host: any
            port: any
            proto: any
        listen:
          host: 0.0.0.0
          port: 4242
--- PASS: TestConfig_MergoMerge (0.00s)
PASS
ok  	github.com/slackhq/nebula/config	0.036s
?   	github.com/slackhq/nebula/examples/go_service	[no test files]
?   	github.com/slackhq/nebula/firewall	[no test files]
=== RUN   TestEncode
--- PASS: TestEncode (0.00s)
=== RUN   TestParse
--- PASS: TestParse (0.00s)
=== RUN   TestTypeName
--- PASS: TestTypeName (0.00s)
=== RUN   TestSubTypeName
--- PASS: TestSubTypeName (0.00s)
=== RUN   TestTypeMap
--- PASS: TestTypeMap (0.00s)
=== RUN   TestHeader_String
--- PASS: TestHeader_String (0.00s)
=== RUN   TestHeader_MarshalJSON
--- PASS: TestHeader_MarshalJSON (0.00s)
PASS
ok  	github.com/slackhq/nebula/header	0.017s
=== RUN   Test_CreateRejectPacket
--- PASS: Test_CreateRejectPacket (0.00s)
=== RUN   TestVpnIp_String
--- PASS: TestVpnIp_String (0.00s)
PASS
ok  	github.com/slackhq/nebula/iputil	0.017s
=== RUN   TestEncryptLockNeeded
--- PASS: TestEncryptLockNeeded (0.00s)
PASS
ok  	github.com/slackhq/nebula/noiseutil	0.025s
=== RUN   Test_parseRoutes
--- PASS: Test_parseRoutes (0.00s)
=== RUN   Test_parseUnsafeRoutes
--- PASS: Test_parseUnsafeRoutes (0.00s)
=== RUN   Test_makeRouteTree
--- PASS: Test_makeRouteTree (0.00s)
PASS
ok  	github.com/slackhq/nebula/overlay	0.017s
?   	github.com/slackhq/nebula/sshd	[no test files]
?   	github.com/slackhq/nebula/test	[no test files]
?   	github.com/slackhq/nebula/udp	[no test files]
=== RUN   TestService
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]"
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]"
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall started" firewallHashes="SHA:498215dec4e5687a2353f51c10838c113bd1af35ef72b8e8c9f536986ada5417,FNV:2782948616"
time="2025-03-01T23:10:31-05:00" level=info msg="listening \"0.0.0.0\" 4243"
time="2025-03-01T23:10:31-05:00" level=info msg="Main HostMap created" network=10.0.0.1/24 preferredRanges="[]"
time="2025-03-01T23:10:31-05:00" level=info msg="punchy disabled"
time="2025-03-01T23:10:31-05:00" level=info msg="Loaded send_recv_error config" sendRecvError=always
time="2025-03-01T23:10:31-05:00" level=info msg="Nebula interface is active" boringcrypto=false build=custom-app interface=faketun0 network=10.0.0.1/24 udpAddr="[::]:4243"
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]"
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]"
time="2025-03-01T23:10:31-05:00" level=info msg="Firewall started" firewallHashes="SHA:498215dec4e5687a2353f51c10838c113bd1af35ef72b8e8c9f536986ada5417,FNV:2782948616"
time="2025-03-01T23:10:31-05:00" level=info msg="listening \"0.0.0.0\" 0"
time="2025-03-01T23:10:31-05:00" level=info msg="Main HostMap created" network=10.0.0.2/24 preferredRanges="[]"
time="2025-03-01T23:10:31-05:00" level=info msg="punchy disabled"
time="2025-03-01T23:10:31-05:00" level=info msg="Loaded send_recv_error config" sendRecvError=always
time="2025-03-01T23:10:31-05:00" level=info msg="Nebula interface is active" boringcrypto=false build=custom-app interface=faketun0 network=10.0.0.2/24 udpAddr="[::]:38496"
time="2025-03-01T23:10:31-05:00" level=info msg="DNS results changed for host list" newSet="map[[::ffff:127.0.0.1]:4243:{}]" origSet="&map[]"
time="2025-03-01T23:10:31-05:00" level=info msg="Handshake message sent" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=4108318114 localIndex=4108318114 remoteIndex=0 udpAddrs="[127.0.0.1:4243]" vpnIp=10.0.0.1
time="2025-03-01T23:10:31-05:00" level=info msg="Handshake message received" certName=a fingerprint=4c30093b7f2332872b470f3c7de25d9b542418a2d04ed37bfef43f11c87edcf3 handshake="map[stage:1 style:ix_psk0]" initiatorIndex=4108318114 issuer=949d4e50a2d844a0b45153bb2fb961433c88f94c15fd1637ef3b14fd940cfc6d remoteIndex=0 responderIndex=0 udpAddr="127.0.0.1:38496" vpnIp=10.0.0.2
time="2025-03-01T23:10:31-05:00" level=info msg="Handshake message sent" certName=a fingerprint=4c30093b7f2332872b470f3c7de25d9b542418a2d04ed37bfef43f11c87edcf3 handshake="map[stage:2 style:ix_psk0]" initiatorIndex=4108318114 issuer=949d4e50a2d844a0b45153bb2fb961433c88f94c15fd1637ef3b14fd940cfc6d remoteIndex=0 responderIndex=2687827001 udpAddr="127.0.0.1:38496" vpnIp=10.0.0.2
time="2025-03-01T23:10:31-05:00" level=info msg="Handshake message received" certName=a durationNs=952243 fingerprint=4f66013040ba3599a5dabb6e0d366861adfdbfdf260d03fc64075f5c3303c036 handshake="map[stage:2 style:ix_psk0]" initiatorIndex=4108318114 issuer=949d4e50a2d844a0b45153bb2fb961433c88f94c15fd1637ef3b14fd940cfc6d remoteIndex=4108318114 responderIndex=2687827001 sentCachedPackets=2 udpAddr="127.0.0.1:4243" vpnIp=10.0.0.1
    service_test.go:119: accepted connection
    service_test.go:125: server: wrote message
    service_test.go:136: server: read message
--- PASS: TestService (0.01s)
PASS
ok  	github.com/slackhq/nebula/service	0.013s
=== RUN   TestContextualError_Log
--- PASS: TestContextualError_Log (0.00s)
=== RUN   TestLogWithContextIfNeeded
--- PASS: TestLogWithContextIfNeeded (0.00s)
=== RUN   TestContextualizeIfNeeded
--- PASS: TestContextualizeIfNeeded (0.00s)
PASS
ok  	github.com/slackhq/nebula/util	0.006s
FAIL
*** Error code 1

Stop.
make: stopped in /usr/mports/security/nebula

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis