>>> ntfy: Building testing/ntfy 1.27.2-r3 (using abuild 3.10.0_rc1-r2) started Tue, 01 Nov 2022 22:08:20 +0000 >>> ntfy: Checking sanity of /home/buildozer/aports/testing/ntfy/APKBUILD... >>> ntfy: Analyzing dependencies... >>> ntfy: Installing for build: build-base go nodejs npm (1/6) Installing go (1.19.3-r0) (2/6) Installing icu-data-en (72.1-r1) Executing icu-data-en-72.1-r1.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (3/6) Installing icu-libs (72.1-r1) (4/6) Installing nodejs (16.18.0-r1) (5/6) Installing npm (9.0.1-r0) (6/6) Installing .makedepends-ntfy (20221101.220821) Executing busybox-1.35.0-r27.trigger OK: 852 MiB in 104 packages >>> ntfy: Cleaning up srcdir >>> ntfy: Cleaning up pkgdir >>> ntfy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ntfy-1.27.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12.1M 100 12.1M 0 0 46.8M 0 --:--:-- --:--:-- --:--:-- 46.9M >>> ntfy: Fetching https://distfiles.alpinelinux.org/distfiles/edge/ntfy-1.27.2.tar.gz >>> ntfy: Checking sha512sums... ntfy-1.27.2.tar.gz: OK version.patch: OK ntfy.initd: OK ntfy.confd: OK >>> ntfy: Unpacking /var/cache/distfiles/edge/ntfy-1.27.2.tar.gz... >>> ntfy: version.patch patching file Makefile cd web && npm install npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. added 1452 packages, and audited 1453 packages in 24s 202 packages are looking for funding run `npm fund` for details 9 high severity vulnerabilities To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. # If this fails for .svg files, optimize them with svgo cd web \ && npm run build \ && mv build/index.html build/app.html \ && rm -rf ../server/site \ && mv build ../server/site \ && rm \ ../server/site/config.js \ ../server/site/asset-manifest.json > ntfy@1.0.0 build > react-scripts build Creating an optimized production build... Compiled successfully. File sizes after gzip: 275.58 kB build/static/js/main.115efdf8.js The project was built assuming it is hosted at /. You can control this with the homepage field in your package.json. The build folder is ready to be deployed. You may serve it with a static server: npm install -g serve serve -s build Find out more about deployment here: https://cra.link/deployment mkdir -p server/docs server/site touch server/docs/index.html server/site/app.html fatal: not a git repository (or any of the parent directories): .git # This is a target to build the CLI (including the server) manually. # Use this for development, if you really don't want to install GoReleaser ... mkdir -p dist/ntfy_linux_server server/docs CGO_ENABLED=1 go build \ -o dist/ntfy_linux_server/ntfy \ -tags sqlite_omit_load_extension,osusergo,netgo \ -ldflags \ "-linkmode=external -extldflags=-static -s -w -X main.version=1.27.2 -X main.commit= -X main.date=1667340662" go: downloading github.com/urfave/cli/v2 v2.10.2 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/mattn/go-sqlite3 v1.14.13 go: downloading golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d go: downloading golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 go: downloading golang.org/x/time v0.0.0-20220609170525-579cf78fd858 go: downloading github.com/gabriel-vasile/mimetype v1.4.0 go: downloading github.com/olebedev/when v0.0.0-20211212231525-59bd4edcf9d6 go: downloading github.com/emersion/go-smtp v0.15.0 go: downloading golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f go: downloading firebase.google.com/go/v4 v4.8.0 go: downloading google.golang.org/api v0.85.0 go: downloading github.com/gorilla/websocket v1.5.0 go: downloading github.com/emersion/go-sasl v0.0.0-20211008083017-0b9dcfb154ac go: downloading golang.org/x/sys v0.0.0-20220622161953-175b2fd9d664 go: downloading github.com/AlekSi/pointer v1.2.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading cloud.google.com/go/firestore v1.6.1 go: downloading cloud.google.com/go/storage v1.23.0 go: downloading golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2 go: downloading golang.org/x/net v0.0.0-20220622184535-263ec571b305 go: downloading cloud.google.com/go v0.102.1 go: downloading google.golang.org/grpc v1.47.0 go: downloading cloud.google.com/go/compute v1.7.0 go: downloading google.golang.org/genproto v0.0.0-20220623142657-077d458a5694 go: downloading github.com/golang/protobuf v1.5.2 go: downloading github.com/googleapis/gax-go/v2 v2.4.0 go: downloading github.com/googleapis/go-type-adapters v1.0.0 go: downloading cloud.google.com/go/iam v0.3.0 go: downloading github.com/google/uuid v1.3.0 go: downloading google.golang.org/protobuf v1.28.0 go: downloading go.opencensus.io v0.23.0 go: downloading golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2 go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 go: downloading github.com/BurntSushi/toml v1.1.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading golang.org/x/text v0.3.7 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.1.0 go: downloading github.com/google/go-cmp v0.5.8 go test -v heckel.io/ntfy heckel.io/ntfy/auth heckel.io/ntfy/client heckel.io/ntfy/cmd heckel.io/ntfy/log heckel.io/ntfy/server heckel.io/ntfy/util go: downloading github.com/stretchr/testify v1.7.0 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/davecgh/go-spew v1.1.1 ? heckel.io/ntfy [no test files] === RUN TestSQLiteAuth_FullScenario_Default_DenyAll --- PASS: TestSQLiteAuth_FullScenario_Default_DenyAll (0.61s) === RUN TestSQLiteAuth_AddUser_Invalid --- PASS: TestSQLiteAuth_AddUser_Invalid (0.01s) === RUN TestSQLiteAuth_AddUser_Timing --- PASS: TestSQLiteAuth_AddUser_Timing (0.13s) === RUN TestSQLiteAuth_Authenticate_Timing --- PASS: TestSQLiteAuth_Authenticate_Timing (0.49s) === RUN TestSQLiteAuth_UserManagement --- PASS: TestSQLiteAuth_UserManagement (0.25s) === RUN TestSQLiteAuth_ChangePassword --- PASS: TestSQLiteAuth_ChangePassword (0.63s) === RUN TestSQLiteAuth_ChangeRole --- PASS: TestSQLiteAuth_ChangeRole (0.14s) PASS ok heckel.io/ntfy/auth 2.258s === RUN TestClient_Publish_Subscribe 2022/11/01 22:13:51 INFO Listening on :26590[http], ntfy , log level is INFO 2022/11/01 22:13:52 INFO 127.0.0.1:26590/mytopic Connection exited --- PASS: TestClient_Publish_Subscribe (1.43s) === RUN TestClient_Publish_Poll 2022/11/01 22:13:52 INFO Listening on :16740[http], ntfy , log level is INFO --- PASS: TestClient_Publish_Poll (0.02s) === RUN TestConfig_Load --- PASS: TestConfig_Load (0.00s) PASS ok heckel.io/ntfy/client 1.478s === RUN TestCLI_Access_Show 2022/11/01 22:13:51 INFO Listening on :16152[http], ntfy , log level is INFO --- PASS: TestCLI_Access_Show (0.02s) === RUN TestCLI_Access_Grant_And_Publish 2022/11/01 22:13:51 INFO Listening on :27993[http], ntfy , log level is INFO 2022/11/01 22:13:52 INFO unauthorized: unauthorized 2022/11/01 22:13:52 INFO 127.0.0.1 HTTP POST /announcements Connection closed with HTTP 403 (ntfy error 40301): forbidden 2022/11/01 22:13:52 INFO unauthorized: unauthorized 2022/11/01 22:13:52 INFO 127.0.0.1 HTTP GET /something-else/json?poll=1&poll=1 Connection closed with HTTP 403 (ntfy error 40301): forbidden --- PASS: TestCLI_Access_Grant_And_Publish (0.51s) === RUN TestNewYamlSourceFromFile --- PASS: TestNewYamlSourceFromFile (0.00s) === RUN TestCLI_Publish_Subscribe_Poll_Real_Server --- PASS: TestCLI_Publish_Subscribe_Poll_Real_Server (0.63s) === RUN TestCLI_Publish_Subscribe_Poll 2022/11/01 22:13:52 INFO Listening on :17209[http], ntfy , log level is INFO --- PASS: TestCLI_Publish_Subscribe_Poll (0.03s) === RUN TestCLI_Publish_All_The_Things 2022/11/01 22:13:52 INFO Listening on :18990[http], ntfy , log level is INFO --- PASS: TestCLI_Publish_All_The_Things (0.02s) === RUN TestCLI_Publish_Wait_PID_And_Cmd 2022/11/01 22:13:52 INFO Listening on :21748[http], ntfy , log level is INFO --- PASS: TestCLI_Publish_Wait_PID_And_Cmd (1.54s) === RUN TestCLI_Serve_Unix_Curl 2022/11/01 22:13:54 INFO Listening on /tmp/TestCLI_Serve_Unix_Curl586956573/001/ntfy.sock[unix], ntfy , log level is INFO --- PASS: TestCLI_Serve_Unix_Curl (0.06s) === RUN TestCLI_Serve_WebSocket 2022/11/01 22:13:54 INFO Listening on :15932[http], ntfy , log level is INFO --- PASS: TestCLI_Serve_WebSocket (0.01s) === RUN TestCLI_User_Add 2022/11/01 22:13:54 INFO Listening on :23664[http], ntfy , log level is INFO --- PASS: TestCLI_User_Add (0.17s) === RUN TestCLI_User_Add_Exists 2022/11/01 22:13:54 INFO Listening on :18137[http], ntfy , log level is INFO --- PASS: TestCLI_User_Add_Exists (0.17s) === RUN TestCLI_User_Add_Admin 2022/11/01 22:13:54 INFO Listening on :24400[http], ntfy , log level is INFO --- PASS: TestCLI_User_Add_Admin (0.17s) === RUN TestCLI_User_Add_Password_Mismatch 2022/11/01 22:13:55 INFO Listening on :25051[http], ntfy , log level is INFO --- PASS: TestCLI_User_Add_Password_Mismatch (0.02s) === RUN TestCLI_User_ChangePass 2022/11/01 22:13:55 INFO Listening on :11501[http], ntfy , log level is INFO --- PASS: TestCLI_User_ChangePass (0.29s) === RUN TestCLI_User_ChangeRole 2022/11/01 22:13:55 INFO Listening on :16414[http], ntfy , log level is INFO --- PASS: TestCLI_User_ChangeRole (0.17s) === RUN TestCLI_User_Delete 2022/11/01 22:13:55 INFO Listening on :17999[http], ntfy , log level is INFO --- PASS: TestCLI_User_Delete (0.14s) PASS ok heckel.io/ntfy/cmd 3.994s ? heckel.io/ntfy/log [no test files] === RUN TestParseActions --- PASS: TestParseActions (0.00s) === RUN TestFileCache_Write_Success --- PASS: TestFileCache_Write_Success (0.00s) === RUN TestFileCache_Write_Remove_Success --- PASS: TestFileCache_Write_Remove_Success (0.00s) === RUN TestFileCache_Write_FailedTotalSizeLimit --- PASS: TestFileCache_Write_FailedTotalSizeLimit (0.00s) === RUN TestFileCache_Write_FailedFileSizeLimit --- PASS: TestFileCache_Write_FailedFileSizeLimit (0.00s) === RUN TestFileCache_Write_FailedAdditionalLimiter --- PASS: TestFileCache_Write_FailedAdditionalLimiter (0.00s) === RUN TestSqliteCache_Messages --- PASS: TestSqliteCache_Messages (0.01s) === RUN TestMemCache_Messages --- PASS: TestMemCache_Messages (0.00s) === RUN TestSqliteCache_MessagesScheduled --- PASS: TestSqliteCache_MessagesScheduled (0.01s) === RUN TestMemCache_MessagesScheduled --- PASS: TestMemCache_MessagesScheduled (0.00s) === RUN TestSqliteCache_Topics --- PASS: TestSqliteCache_Topics (0.01s) === RUN TestMemCache_Topics --- PASS: TestMemCache_Topics (0.00s) === RUN TestSqliteCache_MessagesTagsPrioAndTitle --- PASS: TestSqliteCache_MessagesTagsPrioAndTitle (0.01s) === RUN TestMemCache_MessagesTagsPrioAndTitle --- PASS: TestMemCache_MessagesTagsPrioAndTitle (0.00s) === RUN TestSqliteCache_MessagesSinceID --- PASS: TestSqliteCache_MessagesSinceID (0.01s) === RUN TestMemCache_MessagesSinceID --- PASS: TestMemCache_MessagesSinceID (0.00s) === RUN TestSqliteCache_Prune --- PASS: TestSqliteCache_Prune (0.01s) === RUN TestMemCache_Prune --- PASS: TestMemCache_Prune (0.00s) === RUN TestSqliteCache_Attachments --- PASS: TestSqliteCache_Attachments (0.01s) === RUN TestMemCache_Attachments --- PASS: TestMemCache_Attachments (0.00s) === RUN TestSqliteCache_Migration_From0 2022/11/01 22:13:52 INFO Migrating cache database schema: from 0 to 1 2022/11/01 22:13:52 INFO Migrating cache database schema: from 1 to 2 2022/11/01 22:13:52 INFO Migrating cache database schema: from 2 to 3 2022/11/01 22:13:52 INFO Migrating cache database schema: from 3 to 4 2022/11/01 22:13:52 INFO Migrating cache database schema: from 4 to 5 2022/11/01 22:13:52 INFO Migrating cache database schema: from 5 to 6 2022/11/01 22:13:52 INFO Migrating cache database schema: from 6 to 7 --- PASS: TestSqliteCache_Migration_From0 (0.03s) === RUN TestSqliteCache_Migration_From1 2022/11/01 22:13:52 INFO Migrating cache database schema: from 1 to 2 2022/11/01 22:13:52 INFO Migrating cache database schema: from 2 to 3 2022/11/01 22:13:52 INFO Migrating cache database schema: from 3 to 4 2022/11/01 22:13:52 INFO Migrating cache database schema: from 4 to 5 2022/11/01 22:13:52 INFO Migrating cache database schema: from 5 to 6 2022/11/01 22:13:52 INFO Migrating cache database schema: from 6 to 7 --- PASS: TestSqliteCache_Migration_From1 (0.03s) === RUN TestSqliteCache_StartupQueries_WAL --- PASS: TestSqliteCache_StartupQueries_WAL (0.00s) === RUN TestSqliteCache_StartupQueries_None --- PASS: TestSqliteCache_StartupQueries_None (0.00s) === RUN TestSqliteCache_StartupQueries_Fail --- PASS: TestSqliteCache_StartupQueries_Fail (0.00s) === RUN TestMemCache_NopCache --- PASS: TestMemCache_NopCache (0.00s) === RUN TestToFirebaseMessage_Keepalive --- PASS: TestToFirebaseMessage_Keepalive (0.00s) === RUN TestToFirebaseMessage_Open --- PASS: TestToFirebaseMessage_Open (0.00s) === RUN TestToFirebaseMessage_Message_Normal_Allowed --- PASS: TestToFirebaseMessage_Message_Normal_Allowed (0.00s) === RUN TestToFirebaseMessage_Message_Normal_Not_Allowed --- PASS: TestToFirebaseMessage_Message_Normal_Not_Allowed (0.00s) === RUN TestToFirebaseMessage_PollRequest --- PASS: TestToFirebaseMessage_PollRequest (0.00s) === RUN TestMaybeTruncateFCMMessage --- PASS: TestMaybeTruncateFCMMessage (0.00s) === RUN TestMaybeTruncateFCMMessage_NotTooLong --- PASS: TestMaybeTruncateFCMMessage_NotTooLong (0.00s) === RUN TestToFirebaseSender_Abuse 2022/11/01 22:13:52 WARN 1.2.3.4/mytopic/ Firebase quota exceeded (likely for topic), temporarily denying Firebase access to visitor --- PASS: TestToFirebaseSender_Abuse (0.00s) === RUN TestMatrix_NewRequestFromMatrixJSON_Success --- PASS: TestMatrix_NewRequestFromMatrixJSON_Success (0.00s) === RUN TestMatrix_NewRequestFromMatrixJSON_TooLarge --- PASS: TestMatrix_NewRequestFromMatrixJSON_TooLarge (0.00s) === RUN TestMatrix_NewRequestFromMatrixJSON_InvalidJSON --- PASS: TestMatrix_NewRequestFromMatrixJSON_InvalidJSON (0.00s) === RUN TestMatrix_NewRequestFromMatrixJSON_NotAMatrixMessage --- PASS: TestMatrix_NewRequestFromMatrixJSON_NotAMatrixMessage (0.00s) === RUN TestMatrix_NewRequestFromMatrixJSON_MismatchingPushKey --- PASS: TestMatrix_NewRequestFromMatrixJSON_MismatchingPushKey (0.00s) === RUN TestMatrix_WriteMatrixDiscoveryResponse --- PASS: TestMatrix_WriteMatrixDiscoveryResponse (0.00s) === RUN TestMatrix_WriteMatrixError --- PASS: TestMatrix_WriteMatrixError (0.00s) === RUN TestMatrix_WriteMatrixSuccess --- PASS: TestMatrix_WriteMatrixSuccess (0.00s) === RUN TestServer_PublishAndPoll --- PASS: TestServer_PublishAndPoll (0.01s) === RUN TestServer_PublishWithFirebase --- PASS: TestServer_PublishWithFirebase (0.00s) === RUN TestServer_SubscribeOpenAndKeepalive --- PASS: TestServer_SubscribeOpenAndKeepalive (1.31s) === RUN TestServer_PublishAndSubscribe --- PASS: TestServer_PublishAndSubscribe (0.21s) === RUN TestServer_StaticSites --- PASS: TestServer_StaticSites (0.01s) === RUN TestServer_WebEnabled --- PASS: TestServer_WebEnabled (0.01s) === RUN TestServer_PublishLargeMessage --- PASS: TestServer_PublishLargeMessage (0.00s) === RUN TestServer_PublishPriority --- PASS: TestServer_PublishPriority (0.02s) === RUN TestServer_PublishGETOnlyOneTopic --- PASS: TestServer_PublishGETOnlyOneTopic (0.00s) === RUN TestServer_PublishNoCache --- PASS: TestServer_PublishNoCache (0.00s) === RUN TestServer_PublishAt --- PASS: TestServer_PublishAt (1.01s) === RUN TestServer_PublishAtWithCacheError --- PASS: TestServer_PublishAtWithCacheError (0.00s) === RUN TestServer_PublishAtTooShortDelay --- PASS: TestServer_PublishAtTooShortDelay (0.00s) === RUN TestServer_PublishAtTooLongDelay --- PASS: TestServer_PublishAtTooLongDelay (0.00s) === RUN TestServer_PublishAtInvalidDelay --- PASS: TestServer_PublishAtInvalidDelay (0.00s) === RUN TestServer_PublishAtTooLarge --- PASS: TestServer_PublishAtTooLarge (0.00s) === RUN TestServer_PublishAtAndPrune 2022/11/01 22:13:55 INFO Stats: 1 messages published, 1 in cache, 1 topic(s) active, 0 subscriber(s), 1 visitor(s), 0 mails received (0 successful, 0 failed), 0 mails sent (0 successful, 0 failed) --- PASS: TestServer_PublishAtAndPrune (0.01s) === RUN TestServer_PublishAndMultiPoll --- PASS: TestServer_PublishAndMultiPoll (0.01s) === RUN TestServer_PublishWithNopCache --- PASS: TestServer_PublishWithNopCache (0.20s) === RUN TestServer_PublishAndPollSince --- PASS: TestServer_PublishAndPollSince (1.11s) === RUN TestServer_PollSinceID_MultipleTopics --- PASS: TestServer_PollSinceID_MultipleTopics (0.01s) === RUN TestServer_PollSinceID_MultipleTopics_IDDoesNotMatch --- PASS: TestServer_PollSinceID_MultipleTopics_IDDoesNotMatch (0.01s) === RUN TestServer_PublishViaGET --- PASS: TestServer_PublishViaGET (0.01s) === RUN TestServer_PublishMessageInHeaderWithNewlines --- PASS: TestServer_PublishMessageInHeaderWithNewlines (0.00s) === RUN TestServer_PublishInvalidTopic --- PASS: TestServer_PublishInvalidTopic (0.00s) === RUN TestServer_PollWithQueryFilters --- PASS: TestServer_PollWithQueryFilters (0.01s) === RUN TestServer_SubscribeWithQueryFilters --- PASS: TestServer_SubscribeWithQueryFilters (1.06s) === RUN TestServer_Auth_Success_Admin --- PASS: TestServer_Auth_Success_Admin (0.19s) === RUN TestServer_Auth_Success_User --- PASS: TestServer_Auth_Success_User (0.18s) === RUN TestServer_Auth_Success_User_MultipleTopics 2022/11/01 22:13:58 INFO unauthorized: unauthorized 2022/11/01 22:13:58 INFO 9.9.9.9 HTTP GET /mytopic,anothertopic,NOT-THIS-ONE/auth Connection closed with HTTP 403 (ntfy error 40301): forbidden --- PASS: TestServer_Auth_Success_User_MultipleTopics (0.27s) === RUN TestServer_Auth_Fail_InvalidPass 2022/11/01 22:13:58 INFO authentication failed: unauthenticated 2022/11/01 22:13:58 INFO 9.9.9.9 HTTP GET /mytopic/auth Connection closed with HTTP 401 (ntfy error 40101): unauthorized --- PASS: TestServer_Auth_Fail_InvalidPass (0.38s) === RUN TestServer_Auth_Fail_Unauthorized 2022/11/01 22:13:58 INFO unauthorized: unauthorized 2022/11/01 22:13:58 INFO 9.9.9.9 HTTP GET /mytopic/auth Connection closed with HTTP 403 (ntfy error 40301): forbidden --- PASS: TestServer_Auth_Fail_Unauthorized (0.19s) === RUN TestServer_Auth_Fail_CannotPublish 2022/11/01 22:13:59 INFO unauthorized: unauthorized 2022/11/01 22:13:59 INFO 9.9.9.9 HTTP PUT /announcements Connection closed with HTTP 403 (ntfy error 40301): forbidden 2022/11/01 22:13:59 INFO unauthorized: unauthorized 2022/11/01 22:13:59 INFO 9.9.9.9 HTTP GET /private/json Connection closed with HTTP 403 (ntfy error 40301): forbidden --- PASS: TestServer_Auth_Fail_CannotPublish (0.19s) === RUN TestServer_Auth_ViaQuery 2022/11/01 22:13:59 INFO authentication failed: unauthenticated 2022/11/01 22:13:59 INFO 9.9.9.9 HTTP GET /mytopic/json Connection closed with HTTP 401 (ntfy error 40101): unauthorized --- PASS: TestServer_Auth_ViaQuery (0.27s) === RUN TestServer_PublishTooRequests_Defaults 2022/11/01 22:13:59 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 429 (ntfy error 42901): limit reached: too many requests, please be nice --- PASS: TestServer_PublishTooRequests_Defaults (0.06s) === RUN TestServer_PublishTooRequests_Defaults_ExemptHosts --- PASS: TestServer_PublishTooRequests_Defaults_ExemptHosts (0.06s) === RUN TestServer_PublishTooRequests_ShortReplenish 2022/11/01 22:13:59 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 429 (ntfy error 42901): limit reached: too many requests, please be nice --- PASS: TestServer_PublishTooRequests_ShortReplenish (0.57s) === RUN TestServer_PublishTooManyEmails_Defaults 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 429 (ntfy error 42902): limit reached: too many emails, please be nice --- PASS: TestServer_PublishTooManyEmails_Defaults (0.02s) === RUN TestServer_PublishTooManyEmails_Replenish 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 429 (ntfy error 42902): limit reached: too many emails, please be nice 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 429 (ntfy error 42902): limit reached: too many emails, please be nice --- PASS: TestServer_PublishTooManyEmails_Replenish (0.53s) === RUN TestServer_PublishDelayedEmail_Fail --- PASS: TestServer_PublishDelayedEmail_Fail (0.01s) === RUN TestServer_PublishEmailNoMailer_Fail --- PASS: TestServer_PublishEmailNoMailer_Fail (0.01s) === RUN TestServer_UnifiedPushDiscovery --- PASS: TestServer_UnifiedPushDiscovery (0.01s) === RUN TestServer_PublishUnifiedPushBinary_AndPoll --- PASS: TestServer_PublishUnifiedPushBinary_AndPoll (0.01s) === RUN TestServer_PublishUnifiedPushBinary_Truncated --- PASS: TestServer_PublishUnifiedPushBinary_Truncated (0.01s) === RUN TestServer_PublishUnifiedPushText --- PASS: TestServer_PublishUnifiedPushText (0.01s) === RUN TestServer_MatrixGateway_Discovery_Success --- PASS: TestServer_MatrixGateway_Discovery_Success (0.01s) === RUN TestServer_MatrixGateway_Discovery_Failure_Unconfigured 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP GET /_matrix/push/v1/notify Connection closed with HTTP 500 (ntfy error 50003): internal server error: base-url must be be configured for this feature --- PASS: TestServer_MatrixGateway_Discovery_Failure_Unconfigured (0.01s) === RUN TestServer_MatrixGateway_Push_Success --- PASS: TestServer_MatrixGateway_Push_Success (0.01s) === RUN TestServer_MatrixGateway_Push_Failure_InvalidPushkey --- PASS: TestServer_MatrixGateway_Push_Failure_InvalidPushkey (0.01s) === RUN TestServer_MatrixGateway_Push_Failure_EverythingIsWrong --- PASS: TestServer_MatrixGateway_Push_Failure_EverythingIsWrong (0.01s) === RUN TestServer_MatrixGateway_Push_Failure_Unconfigured 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP POST /_matrix/push/v1/notify Connection closed with HTTP 500 (ntfy error 50003): internal server error: base-url must be be configured for this feature --- PASS: TestServer_MatrixGateway_Push_Failure_Unconfigured (0.01s) === RUN TestServer_PublishActions_AndPoll --- PASS: TestServer_PublishActions_AndPoll (0.01s) === RUN TestServer_PublishAsJSON --- PASS: TestServer_PublishAsJSON (0.01s) === RUN TestServer_PublishAsJSON_WithEmail --- PASS: TestServer_PublishAsJSON_WithEmail (0.11s) === RUN TestServer_PublishAsJSON_WithActions --- PASS: TestServer_PublishAsJSON_WithActions (0.01s) === RUN TestServer_PublishAsJSON_Invalid --- PASS: TestServer_PublishAsJSON_Invalid (0.01s) === RUN TestServer_PublishAttachment --- PASS: TestServer_PublishAttachment (0.01s) === RUN TestServer_PublishAttachmentShortWithFilename --- PASS: TestServer_PublishAttachmentShortWithFilename (0.01s) === RUN TestServer_PublishAttachmentExternalWithoutFilename --- PASS: TestServer_PublishAttachmentExternalWithoutFilename (0.00s) === RUN TestServer_PublishAttachmentExternalWithFilename --- PASS: TestServer_PublishAttachmentExternalWithFilename (0.00s) === RUN TestServer_PublishAttachmentBadURL --- PASS: TestServer_PublishAttachmentBadURL (0.00s) === RUN TestServer_PublishAttachmentTooLargeContentLength 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 413 (ntfy error 41301): attachment too large, or bandwidth limit reached --- PASS: TestServer_PublishAttachmentTooLargeContentLength (0.00s) === RUN TestServer_PublishAttachmentTooLargeBodyAttachmentFileSizeLimit 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 413 (ntfy error 41301): attachment too large, or bandwidth limit reached --- PASS: TestServer_PublishAttachmentTooLargeBodyAttachmentFileSizeLimit (0.01s) === RUN TestServer_PublishAttachmentExpiryBeforeDelivery --- PASS: TestServer_PublishAttachmentExpiryBeforeDelivery (0.00s) === RUN TestServer_PublishAttachmentTooLargeBodyVisitorAttachmentTotalSizeLimit 2022/11/01 22:14:00 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 413 (ntfy error 41301): attachment too large, or bandwidth limit reached --- PASS: TestServer_PublishAttachmentTooLargeBodyVisitorAttachmentTotalSizeLimit (0.01s) === RUN TestServer_PublishAttachmentAndPrune 2022/11/01 22:14:01 INFO Stats: 1 messages published, 1 in cache, 1 topic(s) active, 0 subscriber(s), 1 visitor(s), 0 mails received (0 successful, 0 failed), 0 mails sent (0 successful, 0 failed) --- PASS: TestServer_PublishAttachmentAndPrune (1.01s) === RUN TestServer_PublishAttachmentBandwidthLimit 2022/11/01 22:14:01 INFO 9.9.9.9 HTTP GET /file/gnLs0j0FCxro.txt Connection closed with HTTP 429 (ntfy error 42905): too many requests: daily bandwidth limit reached --- PASS: TestServer_PublishAttachmentBandwidthLimit (0.01s) === RUN TestServer_PublishAttachmentBandwidthLimitUploadOnly 2022/11/01 22:14:01 INFO 9.9.9.9 HTTP PUT /mytopic Connection closed with HTTP 413 (ntfy error 41301): attachment too large, or bandwidth limit reached --- PASS: TestServer_PublishAttachmentBandwidthLimitUploadOnly (0.01s) === RUN TestServer_PublishAttachmentUserStats --- PASS: TestServer_PublishAttachmentUserStats (0.01s) === RUN TestServer_Visitor_XForwardedFor_None --- PASS: TestServer_Visitor_XForwardedFor_None (0.00s) === RUN TestServer_Visitor_XForwardedFor_Single --- PASS: TestServer_Visitor_XForwardedFor_Single (0.00s) === RUN TestServer_Visitor_XForwardedFor_Multiple --- PASS: TestServer_Visitor_XForwardedFor_Multiple (0.01s) === RUN TestServer_PublishWhileUpdatingStatsWithLotsOfMessages 2022/11/01 22:14:01 Adding 50000 messages 2022/11/01 22:14:05 Done: Adding 50000 messages; took 3.067s 2022/11/01 22:14:05 Updating stats 2022/11/01 22:14:05 Publishing message 2022/11/01 22:14:05 Done: Publishing message; took 2ms 2022/11/01 22:14:05 INFO Stats: 1 messages published, 50000 in cache, 50000 topic(s) active, 0 subscriber(s), 1 visitor(s), 0 mails received (0 successful, 0 failed), 0 mails sent (0 successful, 0 failed) 2022/11/01 22:14:05 Done: Updating stats; took 238ms 2022/11/01 22:14:05 Done: Waiting for all locks --- PASS: TestServer_PublishWhileUpdatingStatsWithLotsOfMessages (3.31s) === RUN TestFormatMail_Basic --- PASS: TestFormatMail_Basic (0.00s) === RUN TestFormatMail_JustEmojis --- PASS: TestFormatMail_JustEmojis (0.00s) === RUN TestFormatMail_JustOtherTags --- PASS: TestFormatMail_JustOtherTags (0.00s) === RUN TestFormatMail_JustPriority --- PASS: TestFormatMail_JustPriority (0.00s) === RUN TestFormatMail_UTF8Subject --- PASS: TestFormatMail_UTF8Subject (0.00s) === RUN TestFormatMail_WithAllTheThings --- PASS: TestFormatMail_WithAllTheThings (0.00s) === RUN TestSmtpBackend_Multipart --- PASS: TestSmtpBackend_Multipart (0.00s) === RUN TestSmtpBackend_MultipartNoBody --- PASS: TestSmtpBackend_MultipartNoBody (0.00s) === RUN TestSmtpBackend_Plaintext --- PASS: TestSmtpBackend_Plaintext (0.00s) === RUN TestSmtpBackend_Plaintext_No_ContentType --- PASS: TestSmtpBackend_Plaintext_No_ContentType (0.00s) === RUN TestSmtpBackend_Plaintext_EncodedSubject --- PASS: TestSmtpBackend_Plaintext_EncodedSubject (0.00s) === RUN TestSmtpBackend_Plaintext_TooLongTruncate --- PASS: TestSmtpBackend_Plaintext_TooLongTruncate (0.00s) === RUN TestSmtpBackend_Unsupported --- PASS: TestSmtpBackend_Unsupported (0.00s) === RUN TestReadBoolParam --- PASS: TestReadBoolParam (0.00s) === RUN TestRenderHTTPRequest_ValidShort --- PASS: TestRenderHTTPRequest_ValidShort (0.00s) === RUN TestRenderHTTPRequest_ValidLong --- PASS: TestRenderHTTPRequest_ValidLong (0.00s) === RUN TestRenderHTTPRequest_InvalidShort --- PASS: TestRenderHTTPRequest_InvalidShort (0.00s) === RUN TestRenderHTTPRequest_InvalidLong --- PASS: TestRenderHTTPRequest_InvalidLong (0.00s) === RUN TestConfig_New --- PASS: TestConfig_New (0.00s) PASS ok heckel.io/ntfy/server 12.797s === RUN TestSniffWriter_WriteHTML --- PASS: TestSniffWriter_WriteHTML (0.00s) === RUN TestSniffWriter_WriteTwoWriteCalls --- PASS: TestSniffWriter_WriteTwoWriteCalls (0.00s) === RUN TestSniffWriter_NoSniffWriterWriteHTML --- PASS: TestSniffWriter_NoSniffWriterWriteHTML (0.00s) === RUN TestSniffWriter_WriteHTMLSplitIntoTwoWrites --- PASS: TestSniffWriter_WriteHTMLSplitIntoTwoWrites (0.00s) === RUN TestSniffWriter_WriteUnknownMimeType --- PASS: TestSniffWriter_WriteUnknownMimeType (0.00s) === RUN TestSniffWriter_WriteWithFilenameAPK --- PASS: TestSniffWriter_WriteWithFilenameAPK (0.00s) === RUN TestCachingEmbedFS --- PASS: TestCachingEmbedFS (0.00s) === RUN TestCachingEmbedFS_Range --- PASS: TestCachingEmbedFS_Range (0.00s) === RUN TestGzipHandler --- PASS: TestGzipHandler (0.00s) === RUN TestGzipHandler_NoGzip --- PASS: TestGzipHandler_NoGzip (0.00s) === RUN TestFixedLimiter_Add --- PASS: TestFixedLimiter_Add (0.00s) === RUN TestFixedLimiter_AddSub --- PASS: TestFixedLimiter_AddSub (0.00s) === RUN TestBytesLimiter_Add_Simple --- PASS: TestBytesLimiter_Add_Simple (0.00s) === RUN TestBytesLimiter_Add_Wait --- PASS: TestBytesLimiter_Add_Wait (0.20s) === RUN TestLimitWriter_WriteNoLimiter --- PASS: TestLimitWriter_WriteNoLimiter (0.00s) === RUN TestLimitWriter_WriteOneLimiter --- PASS: TestLimitWriter_WriteOneLimiter (0.00s) === RUN TestLimitWriter_WriteTwoLimiters --- PASS: TestLimitWriter_WriteTwoLimiters (0.00s) === RUN TestLimitWriter_WriteTwoDifferentLimiters --- PASS: TestLimitWriter_WriteTwoDifferentLimiters (0.00s) === RUN TestLimitWriter_WriteTwoDifferentLimiters_Wait --- PASS: TestLimitWriter_WriteTwoDifferentLimiters_Wait (0.25s) === RUN TestLimitWriter_WriteTwoDifferentLimiters_Wait_FixedLimiterFail --- PASS: TestLimitWriter_WriteTwoDifferentLimiters_Wait_FixedLimiterFail (0.25s) === RUN TestPeak_LimitReached --- PASS: TestPeak_LimitReached (0.00s) === RUN TestPeak_LimitNotReached --- PASS: TestPeak_LimitNotReached (0.00s) === RUN TestPeak_Nil --- PASS: TestPeak_Nil (0.00s) === RUN TestParseFutureTime_11am_FutureTime --- PASS: TestParseFutureTime_11am_FutureTime (0.00s) === RUN TestParseFutureTime_9am_PastTime --- PASS: TestParseFutureTime_9am_PastTime (0.00s) === RUN TestParseFutureTime_Monday_10_30pm_FutureTime --- PASS: TestParseFutureTime_Monday_10_30pm_FutureTime (0.00s) === RUN TestParseFutureTime_30m --- PASS: TestParseFutureTime_30m (0.00s) === RUN TestParseFutureTime_30min --- PASS: TestParseFutureTime_30min (0.00s) === RUN TestParseFutureTime_3h --- PASS: TestParseFutureTime_3h (0.00s) === RUN TestParseFutureTime_1day --- PASS: TestParseFutureTime_1day (0.00s) === RUN TestParseFutureTime_UnixTime --- PASS: TestParseFutureTime_UnixTime (0.00s) === RUN TestRandomString --- PASS: TestRandomString (0.00s) === RUN TestFileExists --- PASS: TestFileExists (0.00s) === RUN TestInStringList --- PASS: TestInStringList (0.00s) === RUN TestInStringListAll --- PASS: TestInStringListAll (0.00s) === RUN TestInIntList --- PASS: TestInIntList (0.00s) === RUN TestSplitNoEmpty --- PASS: TestSplitNoEmpty (0.00s) === RUN TestParsePriority --- PASS: TestParsePriority (0.00s) === RUN TestParsePriority_Invalid --- PASS: TestParsePriority_Invalid (0.00s) === RUN TestPriorityString --- PASS: TestPriorityString (0.00s) === RUN TestPriorityString_Invalid --- PASS: TestPriorityString_Invalid (0.00s) === RUN TestShortTopicURL --- PASS: TestShortTopicURL (0.00s) === RUN TestParseSize_10GSuccess --- PASS: TestParseSize_10GSuccess (0.00s) === RUN TestParseSize_10MUpperCaseSuccess --- PASS: TestParseSize_10MUpperCaseSuccess (0.00s) === RUN TestParseSize_10kLowerCaseSuccess --- PASS: TestParseSize_10kLowerCaseSuccess (0.00s) === RUN TestParseSize_FailureInvalid --- PASS: TestParseSize_FailureInvalid (0.00s) === RUN TestSplitKV --- PASS: TestSplitKV (0.00s) === RUN TestLastString --- PASS: TestLastString (0.00s) === RUN TestQuoteCommand --- PASS: TestQuoteCommand (0.00s) PASS ok heckel.io/ntfy/util 0.718s >>> ntfy: Entering fakeroot... >>> ntfy-openrc*: Running split function openrc... >>> ntfy-openrc*: Preparing subpackage ntfy-openrc... >>> ntfy-openrc*: Running postcheck for ntfy-openrc >>> ntfy*: Running postcheck for ntfy >>> ntfy*: Preparing package ntfy... >>> ntfy*: Stripping binaries >>> ntfy*: Script found. /bin/sh added as a dependency for ntfy-1.27.2-r3.apk >>> ntfy*: Adding .pre-install >>> ntfy-openrc*: Scanning shared objects >>> ntfy*: Scanning shared objects >>> ntfy-openrc*: Tracing dependencies... >>> ntfy-openrc*: Package size: 24.0 KB >>> ntfy-openrc*: Compressing data... >>> ntfy-openrc*: Create checksum... >>> ntfy-openrc*: Create ntfy-openrc-1.27.2-r3.apk >>> ntfy*: Tracing dependencies... >>> ntfy*: Package size: 25.0 MB >>> ntfy*: Compressing data... >>> ntfy*: Create checksum... >>> ntfy*: Create ntfy-1.27.2-r3.apk >>> ntfy: Build complete at Tue, 01 Nov 2022 22:14:06 +0000 elapsed time 0h 5m 46s >>> ntfy: Cleaning up srcdir >>> ntfy: Cleaning up pkgdir >>> ntfy: Uninstalling dependencies... (1/6) Purging .makedepends-ntfy (20221101.220821) (2/6) Purging go (1.19.3-r0) (3/6) Purging npm (9.0.1-r0) (4/6) Purging nodejs (16.18.0-r1) (5/6) Purging icu-libs (72.1-r1) (6/6) Purging icu-data-en (72.1-r1) Executing busybox-1.35.0-r27.trigger OK: 393 MiB in 98 packages >>> ntfy: Updating the testing/x86_64 repository index... >>> ntfy: Signing the index...