Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.activitypub.rocks is down #337

Open
ghost opened this issue Mar 4, 2019 · 30 comments
Open

test.activitypub.rocks is down #337

ghost opened this issue Mar 4, 2019 · 30 comments
Assignees

Comments

@ghost
Copy link

ghost commented Mar 4, 2019

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

@naturzukunft
Copy link

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

@aphelionz
Copy link

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

@lafnlab
Copy link

lafnlab commented May 6, 2019

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

@lafnlab
Copy link

lafnlab commented May 10, 2019

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.

@sandhawke
Copy link

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

@aphelionz
Copy link

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

@ghost
Copy link
Author

ghost commented May 10, 2019

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

@lafnlab
Copy link

lafnlab commented May 10, 2019

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

@markcaudill
Copy link

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

@jaywink
Copy link

jaywink commented Jun 6, 2019

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.

@markcaudill
Copy link

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

@francisli
Copy link

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
Copy link

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

@shanecav84
Copy link

shanecav84 commented Aug 18, 2019

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.

@jaywink
Copy link

jaywink commented Aug 18, 2019

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

@cjslep
Copy link

cjslep commented Aug 19, 2019

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.

@rigelk
Copy link

rigelk commented Sep 16, 2019

@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>)'.

@aphelionz
Copy link

That link is a 404 for me :(

@ap-socialhub ap-socialhub reopened this Oct 24, 2019
@ap-socialhub
Copy link
Collaborator

Hang on, the issues importer is buggy...

@aphelionz
Copy link

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.

@markcaudill
Copy link

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.

@aphelionz
Copy link

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?

@sandhawke
Copy link

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

@markcaudill
Copy link

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

@carcinocron
Copy link

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".

@cjslep
Copy link

cjslep commented Jul 11, 2020

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

ActivityPub is not abandoned.

@carcinocron
Copy link

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.

@cjslep
Copy link

cjslep commented Jul 14, 2020

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
Copy link

cjslep commented Aug 2, 2020

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.

@akuckartz
Copy link

See also this new comment in the duplicate issue: #358 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests