~bouncepaw/#1158263

success

73a7480Timur Ismagilov

Do not save reposts with duplicate ID:s

Owner
~bouncepaw
Created
3 months ago
Updated
3 months ago
Build manifest
view manifest »

Tasks

view log »
test view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[#1158263] 2024/02/27 20:43:46 Booting image alpine/edge (default) on port 22674
[#1158263] 2024/02/27 20:43:46 Waiting for guest to settle
[#1158263] 2024/02/27 20:43:55 Sending tasks
[#1158263] 2024/02/27 20:43:55 Sending build environment
[#1158263] 2024/02/27 20:43:56 Installing packages
Warning: Permanently added '[localhost]:22674' (ED25519) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
OK: 467 MiB in 139 packages
Warning: Permanently added '[localhost]:22674' (ED25519) to the list of known hosts.
(1/1) Installing go (1.22.0-r0)
Executing busybox-1.36.1-r19.trigger
OK: 650 MiB in 140 packages
[#1158263] 2024/02/27 20:43:58 Cloning repositories
Cloning into 'betula'...
+ cd betula
+ git checkout -q 73a7480b8c38240af5a2aabad0a1712aa7366999
+ cd betula
+ git submodule update --init --recursive
[#1158263] 2024/02/27 20:44:00 Running task test
test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
+ cd betula
+ make test
rm -f betula
go build -o betula ./cmd/betula
go: downloading github.com/mattn/go-sqlite3 v1.14.16
go: downloading golang.org/x/crypto v0.12.0
go: downloading humungus.tedunangst.com/r/webs v0.7.10
go: downloading golang.org/x/net v0.14.0
go: downloading git.sr.ht/~bouncepaw/mycomarkup/v5 v5.6.0
go: downloading golang.org/x/text v0.12.0
go test ./db
ok  	git.sr.ht/~bouncepaw/betula/db	0.062s
go test ./types
ok  	git.sr.ht/~bouncepaw/betula/types	0.002s
go test ./feeds
ok  	git.sr.ht/~bouncepaw/betula/feeds	0.009s
go test ./readpage
ok  	git.sr.ht/~bouncepaw/betula/readpage	0.213s
go test ./fediverse/activities
ok  	git.sr.ht/~bouncepaw/betula/fediverse/activities	0.002s
sh test-web.sh
rm: can't remove 'testing.betula': No such file or directory
killall: betula: no process killed
2024/02/27 20:44:24 Generating a new pair of RSA keys
2024/02/27 20:44:24 Running HTTP server at 0.0.0.0:1738
This is an experimental automated system for testing the WWW interface of Betula.
The instance is located at http://localhost:1738. Cross your fingers.

rm: can't remove '/home/build/.cache/betula/testing-cookie': No such file or directory
OK [First screen]
2024/02/27 20:44:25 /register
2024/02/27 20:44:25 Setting new credentials
OK [Register on first screen]
2024/02/27 20:44:25 Bookmark no. 1 not found
2024/02/27 20:44:25 404 Not found: /1
OK [Access non-existent post]
2024/02/27 20:44:25 Received job no. 1 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Create a post]
2024/02/27 20:44:25 Get bookmark page no. 1
OK [Access the freshly-created post]
OK [Log out]
2024/02/27 20:44:25 Unauthorized attempt to access /settings. 401.
2024/02/27 20:44:25 401 Unauthorized: /settings
OK [Logged out settings]
2024/02/27 20:44:25 Credentials match.
OK [Log in]
OK [Save link: both empty]
2024/02/27 20:44:25 Received job no. 2 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Save link: given url empty title]
2024/02/27 20:44:25 Received job no. 3 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Save link: given url to title]
2024/02/27 20:44:25 Received job no. 4 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Save link: both given]
OK [Save link: non-URL title and no URL]
OK [Save link: non-URL text to URL]
2024/02/27 20:44:25 Received job no. 5 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Save link: page with no title, but giving a title]
OK [Save link: page with no title, not giving a title]
2024/02/27 20:44:25 Received job no. 6 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
OK [Save link: headless title]
2024/02/27 20:44:25 Received job no. 7 ‘Send Create{Note}’
2024/02/27 20:44:25 Nobody to broadcast to :-(
2024/02/27 20:44:26 Received job no. 8 ‘Send Create{Note}’
2024/02/27 20:44:26 Nobody to broadcast to :-(
2024/02/27 20:44:26 Received job no. 9 ‘Send Create{Note}’
2024/02/27 20:44:26 Nobody to broadcast to :-(
2024/02/27 20:44:26 Received job no. 10 ‘Send Create{Note}’
2024/02/27 20:44:26 Nobody to broadcast to :-(
OK [Empty search]
OK [Existing tag search]
OK [Non-existent tag search]
2024/02/27 20:44:26 Searching ‘Merlin’. Authorized: true
OK [Search for some text]
2024/02/27 20:44:26 Searching ‘#me -#garden’. Authorized: true
OK [Tag search]
2024/02/27 20:44:26 Searching ‘микориза’. Authorized: true
OK [Search case-insensitive non-ASCII]
OK [Repost: Empty URL]
OK [Repost: Bad URL]
2024/02/27 20:44:26 Fetching remote bookmark from https://mycorrhiza.wiki
2024/02/27 20:44:26 Tried to fetch a remote bookmark from https://mycorrhiza.wiki, failed with: invalid character '<' looking for beginning of value. Falling back to microformats
OK [Repost: Non-repostable URL]
2024/02/27 20:44:26 Fetching remote bookmark from https://links.bouncepaw.com/1
2024/02/27 20:44:26 tags [{"gestlings" "" '\x00'} {"music" "" '\x00'} {"programming" "" '\x00'}]
map["@context":["https://www.w3.org/ns/activitystreams" map["Hashtag":"https://www.w3.org/ns/activitystreams#Hashtag"]] "actor":"https://links.bouncepaw.com/@bouncepaw" "attachment":[map["href":"https://pbat.ch/gestlings/" "type":"Link"]] "attributedTo":"https://links.bouncepaw.com/@bouncepaw" "content":"<h3><a href=\"https://pbat.ch/gestlings/\"'>Gestlings</a></h3><article class=\"mycomarkup-doc\"><p>Cool system, though I do not understand it fully. I especially like the Gestku the author posts on the Fediverse.\n</p></article><p><a href=\"https://links.bouncepaw.com/tag/gestlings\" class=\"mention hashtag\" rel=\"tag\">#<span>gestlings</span></a>, <a href=\"https://links.bouncepaw.com/tag/music\" class=\"mention hashtag\" rel=\"tag\">#<span>music</span></a>, <a href=\"https://links.bouncepaw.com/tag/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p>" "id":"https://links.bouncepaw.com/1" "name":"Gestlings" "published":"2023-01-18T13:09:16Z" "source":map["content":"Cool system, though I do not understand it fully. I especially like the Gestku the author posts on the Fediverse." "mediaType":"text/mycomarkup"] "tag":[map["href":"https://links.bouncepaw.com/tag/gestlings" "name":"#gestlings" "type":"Hashtag"] map["href":"https://links.bouncepaw.com/tag/music" "name":"#music" "type":"Hashtag"] map["href":"https://links.bouncepaw.com/tag/programming" "name":"#programming" "type":"Hashtag"]] "to":["https://www.w3.org/ns/activitystreams#Public" "https://links.bouncepaw.com/followers"] "type":"Note"]
2024/02/27 20:44:26 Fetched a remote bookmark from https://links.bouncepaw.com/1
2024/02/27 20:44:26 Received job no. 11 ‘notify about my repost’
2024/02/27 20:44:26 Get bookmark page no. 11
2024/02/27 20:44:26 Sending activity {"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"http://localhost:1738/@betula","preferredUsername":"bo"},"id":"http://localhost:1738/11","object":"https://links.bouncepaw.com/1","type":"Announce"} to https://links.bouncepaw.com/inbox
OK [Repost: Successful repost]
2024/02/27 20:44:26 Fetching remote bookmark from https://links.bouncepaw.com/1
2024/02/27 20:44:26 Nobody to broadcast to :-(
2024/02/27 20:44:26 tags [{"gestlings" "" '\x00'} {"music" "" '\x00'} {"programming" "" '\x00'}]
map["@context":["https://www.w3.org/ns/activitystreams" map["Hashtag":"https://www.w3.org/ns/activitystreams#Hashtag"]] "actor":"https://links.bouncepaw.com/@bouncepaw" "attachment":[map["href":"https://pbat.ch/gestlings/" "type":"Link"]] "attributedTo":"https://links.bouncepaw.com/@bouncepaw" "content":"<h3><a href=\"https://pbat.ch/gestlings/\"'>Gestlings</a></h3><article class=\"mycomarkup-doc\"><p>Cool system, though I do not understand it fully. I especially like the Gestku the author posts on the Fediverse.\n</p></article><p><a href=\"https://links.bouncepaw.com/tag/gestlings\" class=\"mention hashtag\" rel=\"tag\">#<span>gestlings</span></a>, <a href=\"https://links.bouncepaw.com/tag/music\" class=\"mention hashtag\" rel=\"tag\">#<span>music</span></a>, <a href=\"https://links.bouncepaw.com/tag/programming\" class=\"mention hashtag\" rel=\"tag\">#<span>programming</span></a></p>" "id":"https://links.bouncepaw.com/1" "name":"Gestlings" "published":"2023-01-18T13:09:16Z" "source":map["content":"Cool system, though I do not understand it fully. I especially like the Gestku the author posts on the Fediverse." "mediaType":"text/mycomarkup"] "tag":[map["href":"https://links.bouncepaw.com/tag/gestlings" "name":"#gestlings" "type":"Hashtag"] map["href":"https://links.bouncepaw.com/tag/music" "name":"#music" "type":"Hashtag"] map["href":"https://links.bouncepaw.com/tag/programming" "name":"#programming" "type":"Hashtag"]] "to":["https://www.w3.org/ns/activitystreams#Public" "https://links.bouncepaw.com/followers"] "type":"Note"]
2024/02/27 20:44:26 Fetched a remote bookmark from https://links.bouncepaw.com/1
2024/02/27 20:44:26 Received job no. 12 ‘notify about my repost’
2024/02/27 20:44:26 Get bookmark page no. 12
2024/02/27 20:44:26 Sending activity {"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"http://localhost:1738/@betula","preferredUsername":"bo"},"id":"http://localhost:1738/12","object":"https://links.bouncepaw.com/1","type":"Announce"} to https://links.bouncepaw.com/inbox
OK [Repost: Tags considered]
killall betula
Build complete: success 3 months ago (took 40 seconds)