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
Doc test tool failure: xt/aspell.t #4162
Comments
For the version that is failing; please be specific about the OS version & the aspell version, and which language packs you have installed for aspell |
Failing on:
|
Do you need to be running all of xtest? do you get the same issue running e.g. 'xt/aspell.t doc/Type/CurrentThreadScheduler.pod6'? do you need to be running against more than one file? If you run aspell.t multiple times does it fail on the same file each time? what version of rakudo are you using? |
|
please experiment with the env var |
I get the same problem running classtut.po6 only on the master branch.
Yes
No
Yes
2022.12
I tried 2 and 8, no help |
also what is |
I get the same: 64 (also 8 cores) |
I still haven't heard of anyone else successfully running on Linux. Most devs running doc tests seem to be Mac ppl. |
I've repeatedly run the |
Can you be very specific about ONE set of variables that worked:
Thanks. |
I don't have a Debian box with Rakudo installed at the moment, but I can run Distro: GNU Guix 1.3 Distro: Void Linux 5.19.17 |
Thanks, David. Are you running those as VMs on your own host? Or a docker somehow that I could replicate? What I'm trying to do is use the identical setup as you (or anyone else who is having success). It's easiest for me to use a distro available on Digital Ocean, Linode, or Vultr. Generally that is Debian, Ubuntu, or Centos, or similar. |
Glad I could help (but it's "Daniel", actually).
That's on my own hosts (Guix on a desktop, void on a laptop).
I have a debian server that I can test on later today or tomorrow – it just doesn't have raku/the docs site installed at the moment. |
Daniel, I know that, sorry, please chalk it up to a "senior moment," I just recently talked to a "David." And thanks for your help. I need to find a good, repeatable solution for testing docs so @[Coke] won't ban me! I'm looking for a Mac Mini but having a budget crunch a the moment. I do have a new local host I was going to install Debian on. Are Guix or Void good choices for a long-time Debian user? I'll have to look at them. I have been considering using FreeBSD but that's a bit of a learning curve. |
@tbrowder: I bought a M1 Mac Mini two years ago to do the rakudo.org precomp releases. I sold it recently, because there are now online services that offer access to M1 Mac machines. I have applied and been granted a free MacStadium account for my work on Rakudo. I believe you can to. |
@patrickbkr, thanks, great idea! |
I'm willing to provide access to a Debian host on one of the cloud services iif someone will use it to find out why I'm having problems with aspell.t on Debian. Just let me know here or on IRC #raku. |
I just ran the Here's the info: (I know it's an old Rakudo version; let me know if you'd like me to update – it's just a slow server, so that'll take a bit). Distro: Debian Buster
Probably not. Both are rolling release distros (and Guix in particular still has some growing pains to work through – though it's super promising in the long term). As an aside, I'm a bit surprised to hear you say that you Raku developers seem more likely to use Macs. I haven't done any formal survey or anything, but my sense has been that Linux is 60%+. But maybe that's wildly wrong… |
Daniel, I followed those instructions. I also tried to search for bad utf-8 chars in all the pertinent input files using "grep -axv '.*'" (from reddit or stack overflow) and thought I found some bad chars in some of the pws files, but that changed later. I'm kinda pulling my hair out here because I can't seem to eliminate any possibilities to zero in on the problem (remember the definition of insanity), especially when I seem to be the only person having the problem. Regarding Macs, at least two of the prominent devs do: Lizmat and [Coke]. I think Tony-o might, too. So I may have ovestated the case. But neither one has a problem with aspell.t. |
Hmm, I reran with an up-to-date version of Rakudo (v2022.12) and it still ran fine on the debian buster linode server, so I really have no idea what the issue could be. I'll spin up a totally new linode server tomorrow and check with a clean install and see if I can reproduce the issue – it really seems like we should be able to get to the bottom of this. |
your errors here are about failures writing to processes, not invalid utf8. that was on the other report, I think. |
I don't know much about threading, but looking at the docs for |
Yup, that seems like a reasonable ask, will update tonight if no one else gets to it. |
Was a drop in replacement, done, please try |
We used Lock in 3 places in the test suite, but only aspell has the need to write to the process that was launched, so it makes sense you'd only experience issues there. |
I tried with the I see that the |
I've asked @JJ to tell repo users how to use the Makefile Docker targets which may help isolate my problem during aspell testing. |
I am unable to duplicate your error on the debian box you gave me access to. I followed the following directions:
(zef wasn't needed)
This is just a regular test failure due to the aspell library not being up to date (which it isn't) |
@tbrowder reports that on his box he still gets the error; I no longer have
|
got sudo back; seems to work fine if I run it as @tbrowder
|
Anyone have any ideas about what else @tbrowder is doing that we can compare? |
@tbrowder - can you post the env you see when you login directly so there's no potential crosstalk with my env? |
On Sun, Jan 1, 2023 at 16:31 Will Coleda ***@***.***> wrote:
@tbrowder <https://github.com/tbrowder> - can you post the env you see
when you login directly so there's no potential crosstalk with my env?
Yes, I will do that today.
…-Tom
|
@tbrowder - are you still having this issue? I'm not sure what else I can do since I cannot duplicate it using your own setup. |
Sorry I've been out of touch lately. I will try one more time on a new, local host. |
Without further info from @tbrowder, closing this ticket - I had it working on his OS setup. Regards. |
Problem or new feature
While testing the current doc master branch on a Debian 11 host I get test failures from
xt/aspell.t
:The full output of the log:
Note Aspell is locally installed from source to its current version: 0.68.0.
Suggestions
This occurs on all my Debian hosts running versions 10 or 11 (Debian is the the only OS I use except Windows which does not have Raku installed). I plan to try the same test on an Ubuntu host.
UPDATE
I get the same results with Ubuntu 22.
The text was updated successfully, but these errors were encountered: