activitypub icon indicating copy to clipboard operation
activitypub copied to clipboard

test.activitypub.rocks is down

Open ghost opened this issue 6 years ago • 30 comments

The test suite site seems to be down. Is there anywhere else to go to find the test suite?

ghost avatar Mar 04 '19 02:03 ghost

Yes, would also be nice to use it in an automatic way. Continuous Integration.

naturzukunft avatar Mar 04 '19 06:03 naturzukunft

Test suite would be huge. Is there a way we can run it ourselves?

aphelionz avatar Mar 20 '19 03:03 aphelionz

Just checked and it's still down. It looks like it needs an updated certificate.

lafnlab avatar May 06 '19 10:05 lafnlab

I just sent a tweet to @w3c. I don't know if they'll respond, but the account looks active, so it will probably read it.

lafnlab avatar May 10 '19 11:05 lafnlab

This is @cwebber 's server. @w3c has no control over it. Chris?

sandhawke avatar May 10 '19 14:05 sandhawke

Might there be a free version of the code that we might be able to run locally?

aphelionz avatar May 10 '19 15:05 aphelionz

What @aphelionz said! If someone can point me to the code for the test suite I’ll rehost it :)

ghost avatar May 10 '19 16:05 ghost

I contacted @cwebber on Twitter and he's aware of the issue. It's a hosting issue of some sort and he's working on it with author of Socialhome. https://twitter.com/dustyweb/status/1126873694993825792

lafnlab avatar May 10 '19 16:05 lafnlab

There's the SSL issue

> curl https://test.activitypub.rocks/
curl: (60) SSL certificate problem: certificate has expired

but even if you bypass that, you still get a 502 response:

> curl -k -I https://test.activitypub.rocks/
HTTP/1.1 502 Bad Gateway
Server: nginx
Date: Thu, 06 Jun 2019 12:05:29 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive

markcaudill avatar Jun 06 '19 12:06 markcaudill

I tried setting it up to be hosted at Feneas (https://feneas.org), but unfortunately couldn't get it to run :/ Waiting for some input from @cwebber

If anyone else feels like looking into building it, the repo is at: https://gitlab.com/dustyweb/pubstrate

We're happy to host at Feneas, just need to get a docker image built.

jaywink avatar Jun 06 '19 12:06 jaywink

Thanks! I'll take a look at the repo.

markcaudill avatar Jun 06 '19 12:06 markcaudill

Hi, is there anything in particular anyone can do to help with this?

I've started putting together a Dockerfile for the pubstrate codebase, but I'm having problems getting the dependencies to install... not sure guix likes running inside the container...

building /gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv...

Starting download of /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz
From https://ftpmirror.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz...
In procedure getaddrinfo: Servname not supported for ai_socktype
failed to download "/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz" from "mirror://gnu/autoconf/autoconf-2.69.tar.xz"
builder for `/gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv' failed to produce output path `/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz'
build of /gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv failed
View build log at '/var/log/guix/drvs/sc/7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv.bz2'.
cannot build derivation `/gnu/store/062wml1f7352kcardy5sfhxrhi7b3s6i-autoconf-2.69.drv': 1 dependencies couldn't be built
guix environment: error: build of `/gnu/store/062wml1f7352kcardy5sfhxrhi7b3s6i-autoconf-2.69.drv' failed

francisli avatar Jul 08 '19 05:07 francisli

FWIW, I had some time to look in to this again, and was able to get guix running properly in a Docker container, but now seem to be stuck in a dependency-hell-type situation. guile-8sync seems to depend upon a media library which no longer compiles:

building /gnu/store/wqm8iq48iky43gijhi8ppmcdinx4znvm-libextractor-1.9.drv...
/ 'build' phasebuilder for `/gnu/store/wqm8iq48iky43gijhi8ppmcdinx4znvm-libextractor-1.9.drv' failed with exit code 1
build of /gnu/store/wqm8iq48iky43gijhi8ppmcdinx4znvm-libextractor-1.9.drv failed
View build log at '/var/log/guix/drvs/wq/m8iq48iky43gijhi8ppmcdinx4znvm-libextractor-1.9.drv.bz2'.
cannot build derivation `/gnu/store/1nbb1681010my7kjsrs4f2z27csxyshy-gnunet-0.10.1.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/86r0q13g2l1569mszg34lgn87b9vl7xi-guile-8sync-git.drv': 1 dependencies couldn't be built
guix environment: error: build of `/gnu/store/86r0q13g2l1569mszg34lgn87b9vl7xi-guile-8sync-git.drv' failed

In the log, there are a bunch of compile errors related to exiv2:

In file included from exiv2_extractor.cc:31:0:
/gnu/store/ga88ad3i9f9fb1n55ypy6w8ccs5a2sgb-exiv2-0.27.1/include/exiv2/error.hpp:263:11: note: candidate: Exiv2::BasicError<char>::BasicError(const Exiv2::BasicError<char>&)
     class BasicError : public AnyError {
           ^
/gnu/store/ga88ad3i9f9fb1n55ypy6w8ccs5a2sgb-exiv2-0.27.1/include/exiv2/error.hpp:263:11: note:   no known conversion for argument 1 from ‘int’ to ‘const Exiv2::BasicError<char>&’
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/common -I/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/include/glib-2.0 -I/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/glib-2.0/include -g -O2 -MT libextractor_midi_la-midi_extractor.lo -MD -MP -MF .deps/libextractor_midi_la-midi_extractor.Tpo -c midi_extractor.c  -fPIC -DPIC -o .libs/libextractor_midi_la-midi_extractor.o
make[4]: *** [Makefile:2330: exiv2_extractor.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/jpeg_extractor.Tpo .deps/jpeg_extractor.Plo
mv -f .deps/libextractor_thumbnailgtk_la-thumbnailgtk_extractor.Tpo .deps/libextractor_thumbnailgtk_la-thumbnailgtk_extractor.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/common -I/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/include/glib-2.0 -I/gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3/lib/glib-2.0/include -g -O2 -MT libextractor_midi_la-midi_extractor.lo -MD -MP -MF .deps/libextractor_midi_la-midi_extractor.Tpo -c midi_extractor.c -o libextractor_midi_la-midi_extractor.o >/dev/null 2>&1
mv -f .deps/libextractor_ole2_la-ole2_extractor.Tpo .deps/libextractor_ole2_la-ole2_extractor.Plo
mv -f .deps/libextractor_midi_la-midi_extractor.Tpo .deps/libextractor_midi_la-midi_extractor.Plo
mv -f .deps/libextractor_gstreamer_la-gstreamer_extractor.Tpo .deps/libextractor_gstreamer_la-gstreamer_extractor.Plo
make[4]: Leaving directory '/tmp/guix-build-libextractor-1.9.drv-0/libextractor-1.9/src/plugins'
make[3]: *** [Makefile:2349: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guix-build-libextractor-1.9.drv-0/libextractor-1.9/src/plugins'
make[2]: *** [Makefile:433: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-libextractor-1.9.drv-0/libextractor-1.9/src'
make[1]: *** [Makefile:553: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libextractor-1.9.drv-0/libextractor-1.9'
make: *** [Makefile:460: all] Error 2
Backtrace:
           4 (primitive-load "/gnu/store/sd2aamqxy83avas2k1vfp2yv18r…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 6685e0 at /gnu/store/gfprsx2m62cvq…> …)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/utils.scm:616:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("-j" "6") exit-status: 2 term-signal: #f stop-signal: #f] 8effc0>)'.

I wonder if forcing an older version of exiv2 before they changed their error type would fix this, but I'm not familiar enough with the guix system to know how to configure that...

Hi, is there anything in particular anyone can do to help with this?

I've started putting together a Dockerfile for the pubstrate codebase, but I'm having problems getting the dependencies to install... not sure guix likes running inside the container...

building /gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv...

Starting download of /gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz
From https://ftpmirror.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz...
In procedure getaddrinfo: Servname not supported for ai_socktype
failed to download "/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz" from "mirror://gnu/autoconf/autoconf-2.69.tar.xz"
builder for `/gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv' failed to produce output path `/gnu/store/n2d3rwbvrlag5c1spv1b73vvg9w2r8cw-autoconf-2.69.tar.xz'
build of /gnu/store/sc7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv failed
View build log at '/var/log/guix/drvs/sc/7kdhbhwv7syynd1gmf67qrvwffxbpp-autoconf-2.69.tar.xz.drv.bz2'.
cannot build derivation `/gnu/store/062wml1f7352kcardy5sfhxrhi7b3s6i-autoconf-2.69.drv': 1 dependencies couldn't be built
guix environment: error: build of `/gnu/store/062wml1f7352kcardy5sfhxrhi7b3s6i-autoconf-2.69.drv' failed

francisli avatar Aug 03 '19 02:08 francisli

I worked on getting a Dockerfile together today. This is as far as I was able to get: https://gist.github.com/shanecav84/3598a253b009bf11d0d1bc5955f8d082

I wasn't able to get past this because guile-git was taking a LONG time to compile and I cut it short.

shanecav84 avatar Aug 18 '19 22:08 shanecav84

I think someone needs to just rewrite the test suite..

jaywink avatar Aug 18 '19 23:08 jaywink

I've had an item to use go-fed on my bucket list to do so but have too much on my plate to put effort into that bucket.

cjslep avatar Aug 19 '19 00:08 cjslep

@francisli @shanecav84 did you get any further than this? I'm also trying to get a working Dockerfile up and running, but guix environment -l guix.scm fails with a backtrace which I don't understand:

Backtrace:
          12 (apply-smob/1 #<catch-closure 1b70860>)
In ice-9/boot-9.scm:
    705:2 11 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 10 (_ #(#(#<directory (guile-user) 1c35140>)))
In guix/ui.scm:
  1747:12  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  8 (catch _ _ #<procedure 7fdd71831910 at guix/ui.scm:703?> ?)
    829:9  7 (catch _ _ #<procedure 7fdd71831928 at guix/ui.scm:826?> ?)
In guix/store.scm:
   623:10  6 (call-with-store _)
In guix/status.scm:
    768:4  5 (call-with-status-report _ _)
In guix/scripts/environment.scm:
   691:12  4 (_)
    337:4  3 (options/resolve-packages _ _)
In srfi/srfi-1.scm:
   679:15  2 (append-map _ _ . _)
   592:17  1 (map1 ((load package "guix.scm") (system . "x86_64-?") ?))
In guix/scripts/environment.scm:
    323:4  0 (packages->outputs _ _)

guix/scripts/environment.scm:323:4: In procedure packages->outputs:
Throw to key `match-error' with args `("match" "no matching pattern" #<unspecified>)'.

rigelk avatar Sep 16 '19 21:09 rigelk

That link is a 404 for me :(

aphelionz avatar Oct 24 '19 20:10 aphelionz

Hang on, the issues importer is buggy...

ap-socialhub avatar Oct 24 '19 20:10 ap-socialhub

Checking back on this now it looks like the socialhub post is gone. Any updates from anybody about the codebase for the activitypub test suite? Again, I'd be happy to host it.

aphelionz avatar Feb 14 '20 21:02 aphelionz

This whole thing seems like it's largely abandoned (no shade, I get it). If you want to host your own instance I'd say go for it. If you get it working, maybe send the URL to the w3c group so they can update their documentation.

markcaudill avatar Feb 17 '20 15:02 markcaudill

I'm happy to give it a go. Would people recommend Pubstrate at this point or just starting from scratch with a new conformance testing suite?

aphelionz avatar Feb 17 '20 18:02 aphelionz

Note https://socialhub.activitypub.rocks/t/the-activitypub-test-suite/290

sandhawke avatar Feb 17 '20 19:02 sandhawke

Sounds like starting fresh would be ideal then, but it's 100% your choice.

markcaudill avatar Feb 17 '20 20:02 markcaudill

People are telling to me to implement and/or asking if I've implemented "Activity Pub" in something I am working on. test.activitypub.rocks is down for at least a year and FediDB is in a private beta until a mysterious "soon" for presumably the last 4+ months. I feel like I have no choice but to respond to these inquiries with "it looks abandoned".

carcinocron avatar Jul 06 '20 16:07 carcinocron

What is the "it'? The particular test suite, or the ActivityPub protocol?

ActivityPub is not abandoned.

cjslep avatar Jul 11 '20 11:07 cjslep

Ok, well, this thread is a dead-end for me, and apparently maybe even a lot of other people, so flatly denying that it's abandoned isn't very convincing or inspiring.

carcinocron avatar Jul 14 '20 13:07 carcinocron

I get your frustration. It's coming through very clearly. The community is very grassroots oriented at the moment. That does mean it takes some effort to seek out the community and engage with it, unfortunately.

So if you want to connect with other folks, one option is that you can check out the local community at https://socialhub.activitypub.rocks/ (also linked upthread) where some folks hang out. Alternatively, there are the FENEAS folks at https://feneas.org (also linked upthread). Maybe a couple other orgs I'm forgetting.

Perhaps more inspiring, at ActivityPub's SocialHub under the "software" forum category there's at least 25 software-specific sub-forums for a "past look". In the "near future look", folks over at ForgeFed have some working specs to get forges to Federate over ActivityPub.

It is hard to get an ActivityPub server going. My current recommendation is to target one or a few specific software(s) to federate with. You're not missing too much as the old test suite was really just a bunch of checkboxes to check off or leave unchecked, and it only partially automated (I believe the C2S bit was more automated than the S2S bit). If you'd like to do the same -- go down a list and tick things off like checkboxes -- I have the copy of the list, but it was saved for go-fed here.

Hopefully this sets you down the productive path.

cjslep avatar Jul 14 '20 15:07 cjslep

FYI, I set up an alpha-state (aka buggy), unofficial test suite server. It does not intend to replace the official test suite, but aims to complement it whenever it gets back online. One can view it live here, or browse its source, or one can join the discussion.

cjslep avatar Aug 02 '20 21:08 cjslep

See also this new comment in the duplicate issue: https://github.com/w3c/activitypub/issues/358#issuecomment-1702970250

akuckartz avatar Sep 01 '23 19:09 akuckartz