>>> nebula: Building community/nebula 1.9.4-r0 (using abuild 3.14.1-r3) started Mon, 25 Nov 2024 22:00:56 +0000 >>> nebula: Validating /home/buildozer/aports/community/nebula/APKBUILD... >>> WARNING: nebula: Go packages require network connection to build. Maybe add 'net' to options >>> nebula: Analyzing dependencies... >>> nebula: Installing for build: build-base go (1/2) Installing go (1.23.3-r0) (2/2) Installing .makedepends-nebula (20241125.220056) Executing busybox-1.37.0-r8.trigger OK: 426 MiB in 101 packages >>> nebula: Cleaning up srcdir >>> nebula: Cleaning up pkgdir >>> nebula: Cleaning up tmpdir >>> nebula: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nebula-1.9.4.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> nebula: Fetching https://github.com/slackhq/nebula/archive/v1.9.4/nebula-1.9.4.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/nebula-1.9.4.tar.gz.part' nebula-1.9.4.tar.gz. 801k --:--:-- ETA nebula-1.9.4.tar.gz. 100% |********************************| 975k 0:00:00 ETA '/var/cache/distfiles/nebula-1.9.4.tar.gz.part' saved >>> nebula: Fetching https://distfiles.alpinelinux.org/distfiles/edge/nebula-1.9.4.tar.gz >>> nebula: Checking sha512sums... nebula-1.9.4.tar.gz: OK unset-CGO_ENABLED.patch: OK nebula.initd: OK >>> nebula: Unpacking /var/cache/distfiles/nebula-1.9.4.tar.gz... >>> nebula: unset-CGO_ENABLED.patch patching file Makefile go build -buildmode=pie -modcacherw -trimpath -buildvcs=false -ldflags "-X main.Build=1.9.4" -o ./nebula "./cmd/nebula" go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading dario.cat/mergo v1.0.0 go: downloading github.com/sirupsen/logrus v1.9.3 go: downloading github.com/cyberdelia/go-metrics-graphite v0.0.0-20161219230853-39f87cc3b432 go: downloading github.com/miekg/dns v1.1.61 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 go: downloading github.com/prometheus/client_golang v1.19.1 go: downloading github.com/gaissmai/bart v0.11.1 go: downloading github.com/flynn/noise v1.1.0 go: downloading github.com/nbrownus/go-metrics-prometheus v0.0.0-20210712211119-974a6260965f go: downloading golang.org/x/exp v0.0.0-20230725093048-515e97ebf090 go: downloading golang.org/x/net v0.28.0 go: downloading google.golang.org/protobuf v1.34.2 go: downloading golang.org/x/crypto v0.26.0 go: downloading github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be go: downloading github.com/armon/go-radix v1.0.0 go: downloading golang.org/x/sys v0.24.0 go: downloading github.com/vishvananda/netlink v1.2.1-beta.2 go: downloading github.com/vishvananda/netns v0.0.4 go: downloading github.com/prometheus/common v0.48.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/client_model v0.5.0 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading golang.org/x/term v0.23.0 go: downloading github.com/bits-and-blooms/bitset v1.13.0 go build -buildmode=pie -modcacherw -trimpath -buildvcs=false -ldflags "-X main.Build=1.9.4" -o ./nebula-cert ./cmd/nebula-cert go: downloading github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git go test -v ./... fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git go: downloading github.com/stretchr/testify v1.9.0 go: downloading gvisor.dev/gvisor v0.0.0-20240423190808-9d7a357edefe go: downloading golang.org/x/sync v0.8.0 go: downloading github.com/kardianos/service v1.2.2 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/google/btree v1.1.2 go: downloading golang.org/x/time v0.5.0 ? github.com/slackhq/nebula/cmd/nebula [no test files] ? github.com/slackhq/nebula/cmd/nebula-service [no test files] ? github.com/slackhq/nebula/e2e [no test files] ? github.com/slackhq/nebula/e2e/router [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 Test_getDnsServerAddr --- PASS: Test_getDnsServerAddr (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 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 TestHostMap_reload --- PASS: TestHostMap_reload (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_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.02s) === RUN TestTimerWheel_Purge --- PASS: TestTimerWheel_Purge (0.00s) PASS ok github.com/slackhq/nebula 0.058s ? github.com/slackhq/nebula/examples/go_service [no test files] ? github.com/slackhq/nebula/firewall [no test files] ? 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 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.01s) === 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 (8.44s) === RUN TestEncryptAndMarshalSigningPrivateKey --- PASS: TestEncryptAndMarshalSigningPrivateKey (0.39s) === 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 8.995s === RUN Test_caSummary --- PASS: Test_caSummary (0.00s) === RUN Test_caHelp --- PASS: Test_caHelp (0.00s) === RUN Test_ca --- PASS: Test_ca (5.13s) === RUN Test_keygenSummary --- PASS: Test_keygenSummary (0.00s) === RUN Test_keygenHelp --- PASS: Test_keygenHelp (0.00s) === RUN Test_keygen --- PASS: Test_keygen (0.00s) === RUN Test_help --- PASS: Test_help (0.00s) === RUN Test_handleError --- PASS: Test_handleError (0.00s) === RUN Test_printSummary --- PASS: Test_printSummary (0.00s) === RUN Test_printHelp --- PASS: Test_printHelp (0.00s) === RUN Test_printCert --- PASS: Test_printCert (0.00s) === RUN Test_signSummary --- PASS: Test_signSummary (0.00s) === RUN Test_signHelp --- PASS: Test_signHelp (0.00s) === RUN Test_signCert --- PASS: Test_signCert (0.71s) === RUN Test_verifySummary --- PASS: Test_verifySummary (0.00s) === RUN Test_verifyHelp --- PASS: Test_verifyHelp (0.00s) === RUN Test_verify --- PASS: Test_verify (0.00s) PASS ok github.com/slackhq/nebula/cmd/nebula-cert 6.035s === 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.007s === 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.006s === RUN Test_CreateRejectPacket --- PASS: Test_CreateRejectPacket (0.00s) PASS ok github.com/slackhq/nebula/iputil 0.006s === RUN TestEncryptLockNeeded --- PASS: TestEncryptLockNeeded (0.00s) PASS ok github.com/slackhq/nebula/noiseutil 0.007s === RUN Test_parseRoutes --- PASS: Test_parseRoutes (0.00s) === RUN Test_parseUnsafeRoutes --- PASS: Test_parseUnsafeRoutes (0.00s) === RUN Test_makeRouteTree --- PASS: Test_makeRouteTree (0.00s) === RUN TestTunAdvMSS === RUN TestTunAdvMSS/default === RUN TestTunAdvMSS/default-min === RUN TestTunAdvMSS/default-low === RUN TestTunAdvMSS/route === RUN TestTunAdvMSS/route-min === RUN TestTunAdvMSS/route-high --- PASS: TestTunAdvMSS (0.00s) --- PASS: TestTunAdvMSS/default (0.00s) --- PASS: TestTunAdvMSS/default-min (0.00s) --- PASS: TestTunAdvMSS/default-low (0.00s) --- PASS: TestTunAdvMSS/route (0.00s) --- PASS: TestTunAdvMSS/route-min (0.00s) --- PASS: TestTunAdvMSS/route-high (0.00s) PASS ok github.com/slackhq/nebula/overlay 0.005s === RUN TestService time="2024-11-25T22:01:50Z" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]" time="2024-11-25T22:01:50Z" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]" time="2024-11-25T22:01:50Z" level=info msg="Firewall started" firewallHashes="SHA:498215dec4e5687a2353f51c10838c113bd1af35ef72b8e8c9f536986ada5417,FNV:2782948616" time="2024-11-25T22:01:50Z" level=info msg="listening on 0.0.0.0:4243" time="2024-11-25T22:01:50Z" level=info msg="Main HostMap created" network=10.0.0.1/24 preferredRanges="[]" time="2024-11-25T22:01:50Z" level=info msg="punchy disabled" time="2024-11-25T22:01:50Z" level=info msg="Loaded send_recv_error config" sendRecvError=always time="2024-11-25T22:01:50Z" level=info msg="Nebula interface is active" boringcrypto=false build=custom-app interface=faketun0 network=10.0.0.1/24 udpAddr="0.0.0.0:4243" time="2024-11-25T22:01:50Z" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]" time="2024-11-25T22:01:50Z" level=info msg="Firewall rule added" firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip: localIp: proto:0 startPort:0]" time="2024-11-25T22:01:50Z" level=info msg="Firewall started" firewallHashes="SHA:498215dec4e5687a2353f51c10838c113bd1af35ef72b8e8c9f536986ada5417,FNV:2782948616" time="2024-11-25T22:01:50Z" level=info msg="listening on 0.0.0.0:0" time="2024-11-25T22:01:50Z" level=info msg="Main HostMap created" network=10.0.0.2/24 preferredRanges="[]" time="2024-11-25T22:01:50Z" level=info msg="punchy disabled" time="2024-11-25T22:01:50Z" level=info msg="Loaded send_recv_error config" sendRecvError=always time="2024-11-25T22:01:50Z" level=info msg="Nebula interface is active" boringcrypto=false build=custom-app interface=faketun0 network=10.0.0.2/24 udpAddr="0.0.0.0:54656" time="2024-11-25T22:01:50Z" level=info msg="DNS results changed for host list" newSet="map[127.0.0.1:4243:{}]" origSet="&map[]" time="2024-11-25T22:01:50Z" level=info msg="Handshake message sent" handshake="map[stage:1 style:ix_psk0]" initiatorIndex=1797575947 localIndex=1797575947 remoteIndex=0 udpAddrs="[127.0.0.1:4243]" vpnIp=10.0.0.1 time="2024-11-25T22:01:50Z" level=info msg="Handshake message received" certName=a fingerprint=feea110a49a12c7b4c03f0740f5862126fe73a562861e5e156044cf81ca6b0d8 handshake="map[stage:1 style:ix_psk0]" initiatorIndex=1797575947 issuer=712a03b149fbfaa2200265b18487069a750bba65d5543eb03b8d7a960f698f8c remoteIndex=0 responderIndex=0 udpAddr="127.0.0.1:54656" vpnIp=10.0.0.2 time="2024-11-25T22:01:50Z" level=info msg="Handshake message sent" certName=a fingerprint=feea110a49a12c7b4c03f0740f5862126fe73a562861e5e156044cf81ca6b0d8 handshake="map[stage:2 style:ix_psk0]" initiatorIndex=1797575947 issuer=712a03b149fbfaa2200265b18487069a750bba65d5543eb03b8d7a960f698f8c remoteIndex=0 responderIndex=1860910786 udpAddr="127.0.0.1:54656" vpnIp=10.0.0.2 time="2024-11-25T22:01:50Z" level=info msg="Handshake message received" certName=a durationNs=6724144 fingerprint=123035d125d096a542824157c05e48218d82d134ab92432340a1b9fd8f855ca9 handshake="map[stage:2 style:ix_psk0]" initiatorIndex=1797575947 issuer=712a03b149fbfaa2200265b18487069a750bba65d5543eb03b8d7a960f698f8c remoteIndex=1797575947 responderIndex=1860910786 sentCachedPackets=2 udpAddr="127.0.0.1:4243" vpnIp=10.0.0.1 service_test.go:115: accepted connection service_test.go:121: server: wrote message service_test.go:132: server: read message --- PASS: TestService (0.02s) PASS ok github.com/slackhq/nebula/service 0.026s === 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 >>> nebula: Entering fakeroot... >>> nebula-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/nebula/pkg/nebula-openrc/etc/init.d' >>> nebula-openrc*: Preparing subpackage nebula-openrc... libfakeroot internal error: payload not recognized! >>> nebula-openrc*: Running postcheck for nebula-openrc >>> nebula*: Running postcheck for nebula >>> nebula*: Preparing package nebula... >>> nebula*: Stripping binaries >>> nebula*: Script found. /bin/sh added as a dependency for nebula-1.9.4-r0.apk >>> nebula*: Adding .pre-install >>> nebula-openrc*: Scanning shared objects >>> nebula*: Scanning shared objects >>> nebula-openrc*: Tracing dependencies... >>> nebula-openrc*: Package size: 611.0 B >>> nebula-openrc*: Compressing data... >>> nebula-openrc*: Create checksum... >>> nebula-openrc*: Create nebula-openrc-1.9.4-r0.apk >>> nebula*: Tracing dependencies... /bin/sh so:libc.musl-loongarch64.so.1 >>> nebula*: Package size: 17.6 MB >>> nebula*: Compressing data... >>> nebula*: Create checksum... >>> nebula*: Create nebula-1.9.4-r0.apk >>> nebula: Build complete at Mon, 25 Nov 2024 22:01:54 +0000 elapsed time 0h 0m 58s >>> nebula: Cleaning up srcdir >>> nebula: Cleaning up pkgdir >>> nebula: Uninstalling dependencies... (1/2) Purging .makedepends-nebula (20241125.220056) (2/2) Purging go (1.23.3-r0) Executing busybox-1.37.0-r8.trigger OK: 243 MiB in 99 packages >>> nebula: Updating the community/loongarch64 repository index... >>> nebula: Signing the index...