-
Notifications
You must be signed in to change notification settings - Fork 63
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
Running version 3.0.0 #168
Comments
Hi @dmundra, Could you please provide a public URL that we can test? It's impossible for us to debug the issue otherwise. I've noticed you're using Node 17, could you please test it again using an LTS version of Node, as those are the only ones that we support? If I'm reading your example correctly and the URL that you're testing has the same content as https://accessibility.civicactions.com/guide/glossary, this is working correctly with 3.0.0: Broadly speaking, the error that you show there is a puppeteer error, so there's very little that we can do about it besides updating puppeteer to a latest version. I've seen similar errors in the past with puppeteer choking on servers that are configured in a specific way. If pa11y runs successfully on a public facing URL, but fails to run on a localhost one, this may be the same problem. |
Hi @josebolos, I am testing locally and in GitHub actions for the site you mentioned, CivicActions/accessibility#580 (comment) I got the same error when trying it against the live sitemap.xml
I am also running with axe but I get the error even when not running with axe. I will try different version of node as well. I did find this puppeteer issue puppeteer/puppeteer#6258 if it helps. Maybe some of those versions needs to be changed for pa11y-ci. |
Same error with node LTS version v16.13.0 |
I couldn't re-create it locally by running npx pa11y-ci --sitemap https://accessibility.civicactions.com/sitemap.xml --sitemap-exclude "/*.pdf" If possible, could you share your |
This is @dmundra's config file for that site: {
"defaults": {
"concurrency": 4,
"standard": "WCAG2AA",
"runners": ["axe"]
}
} He's also using System:
OS: Linux 5.11 Ubuntu 20.04.3 LTS (Focal Fossa)
CPU: (2) x64 Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz
Memory: 4.13 GB / 6.79 GB
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 16.13.0 - /opt/hostedtoolcache/node/16.13.0/x64/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.0 - /opt/hostedtoolcache/node/16.13.0/x64/bin/npm
pa11y: 6.1.1 I'm testing on a local GitHub Actions For me, this runs fine on my local Windows 10 machine. On a side note, I'm running |
I suspect this has to do with concurrency. I changed my config file to |
Changing config |
In summary, there are likely two things that don't work in this scenario:
The workaround is to change configurations in {
"defaults": {
"concurrency": 1,
"standard": "WCAG2AA",
"runners": ["htmlcs"]
}
} |
Same issue on CircleCI's
{
"defaults": {
"concurrency": 4
}
} |
Thanks @DaveSkender.
I am doing the same in GitHub Actions, i.e. running against a local detached Jekyll site. The relevant files: |
Confirmed that reducing concurrency to 1 allows the process to run to completion. |
@joeyciechanowicz @josebolos I believe it's the same core issues I came across tonight working on a reporter, and in longer running
It looks to be a missing I have a PR if you want it, but it is just the one line. |
This should be fixen in v3.0.1 via #170 thanks to @aarongoldenthal. Feel free to reopen the issue if you're still experiencing this problem. |
After #128, I updated to 3.0.0 but I am getting a puppeteer error. Am I missing something?
The text was updated successfully, but these errors were encountered: