Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-05-02 Thread Robbin Ehn
On Thu, 27 Mar 2025 17:57:37 GMT, Hamlin Li wrote: >> Robbin Ehn has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains four additional >> commits sinc

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v4]

2025-05-02 Thread Hamlin Li
On Wed, 30 Apr 2025 12:00:45 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch explicit or implicit (sysroot). >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemented'" for SA

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-04-30 Thread Fei Yang
On Wed, 30 Apr 2025 11:57:32 GMT, Robbin Ehn wrote: > I don't see any alternatives - if this approach is not liked, any suggestions? The changes seems fine to me. It's just a pity that this would only work for riscv for now. I guess we don't have a better choice given current status of qemu-use

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v4]

2025-04-30 Thread Fei Yang
On Wed, 30 Apr 2025 12:00:45 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch explicit or implicit (sysroot). >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemented'" for SA

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-04-30 Thread Robbin Ehn
On Mon, 31 Mar 2025 10:45:54 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch explicit or implicit (sysroot). >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemented'" for SA

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v4]

2025-04-30 Thread Robbin Ehn
> Hi, for you to consider. > > These tests constantly fails in qemu-user. > Either the require host to be same arch explicit or implicit (sysroot). > E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not implemented'" > for SA tests. > > From bug: >> qemu-user/rv64 sets uarch to "qemu"

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-04-10 Thread Robbin Ehn
On Thu, 10 Apr 2025 02:13:46 GMT, Fei Yang wrote: > > qemu-user, "uarch: qemu" in cpuinfo: `[0.084s][info ][os,cpu] CPU: total 28 > > (initial active 28) qemu rv64 rvi rvm rva rvf rvd rvc rvv zba zbb zbs zfh > > zfhmin zvbc zvfh zicond` Hence we know this is qemu-user (only qemu-user > > sets

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-04-09 Thread Fei Yang
On Mon, 31 Mar 2025 10:45:54 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch explicit or implicit (sysroot). >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemented'" for SA

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-04-09 Thread Robbin Ehn
On Wed, 9 Apr 2025 07:29:01 GMT, Fei Yang wrote: > > > > It's not some intermittently failure. The majority of them can't work > > > > as they use pstack, open core files, use PerfData, etc.. and expected > > > > it to be rv64. But core files, pstack are in host arch as we are > > > > running

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-04-09 Thread Fei Yang
On Wed, 9 Apr 2025 06:31:55 GMT, Robbin Ehn wrote: > > > It's not some intermittently failure. The majority of them can't work as > > > they use pstack, open core files, use PerfData, etc.. and expected it to > > > be rv64. But core files, pstack are in host arch as we are running > > > qemu-u

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-04-08 Thread Robbin Ehn
On Wed, 9 Apr 2025 03:57:10 GMT, Fei Yang wrote: > > It's not some intermittently failure. The majority of them can't work as > > they use pstack, open core files, use PerfData, etc.. and expected it to be > > rv64. But core files, pstack are in host arch as we are running qemu-user. > > I can

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-04-08 Thread Fei Yang
On Fri, 28 Mar 2025 06:53:15 GMT, Robbin Ehn wrote: > It's not some intermittently failure. The majority of them can't work as they > use pstack, open core files, use PerfData, etc.. and expected it to be rv64. > But core files, pstack are in host arch as we are running qemu-user. I can > remo

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-04-08 Thread Robbin Ehn
On Mon, 31 Mar 2025 10:45:54 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch explicit or implicit (sysroot). >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemented'" for SA

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v3]

2025-03-31 Thread Robbin Ehn
> Hi, for you to consider. > > These tests constantly fails in qemu-user. > Either the require host to be same arch or they are very very slow in > emulation. > E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not implemented'" > for SA tests. > This is the initial set of tests, there

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-03-27 Thread Robbin Ehn
On Thu, 27 Mar 2025 17:57:37 GMT, Hamlin Li wrote: > I also feel annoying to see some tests fail interminently. > > Not sure if I understand the goal of this pr, seems it might not be the best > solution to simply disable these tests when running with qemu. My concerns > are: qemu is still one

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-03-27 Thread Hamlin Li
On Thu, 27 Mar 2025 14:32:18 GMT, Robbin Ehn wrote: >> Hi, for you to consider. >> >> These tests constantly fails in qemu-user. >> Either the require host to be same arch or they are very very slow in >> emulation. >> E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not >> implemen

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user [v2]

2025-03-27 Thread Robbin Ehn
> Hi, for you to consider. > > These tests constantly fails in qemu-user. > Either the require host to be same arch or they are very very slow in > emulation. > E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not implemented'" > for SA tests. > This is the initial set of tests, there

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user

2025-03-26 Thread Robbin Ehn
On Wed, 26 Mar 2025 10:20:19 GMT, Alan Bateman wrote: > > One issue with high timeout factor is that make+jtreg only can parallelize > > tests in the same directory. Which means you often end up with just waiting > > for one test to complete before anything else can happen. > > jtreg doesn't r

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user

2025-03-26 Thread Alan Bateman
On Wed, 26 Mar 2025 06:21:31 GMT, Robbin Ehn wrote: > One issue with high timeout factor is that make+jtreg only can parallelize > tests in the same directory. Which means you often end up with just waiting > for one test to complete before anything else can happen. jtreg doesn't require tests

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user

2025-03-25 Thread Robbin Ehn
On Tue, 25 Mar 2025 14:19:55 GMT, Robbin Ehn wrote: > Hi, for you to consider. > > These tests constantly fails in qemu-user. > Either the require host to be same arch or they are very very slow in > emulation. > E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not implemented'" > f

Re: RFR: 8352730: RISC-V: Disable tests in qemu-user

2025-03-25 Thread Fei Yang
On Tue, 25 Mar 2025 14:19:55 GMT, Robbin Ehn wrote: > Hi, for you to consider. > > These tests constantly fails in qemu-user. > Either the require host to be same arch or they are very very slow in > emulation. > E.g. "ptrace(PTRACE_ATTACH, ..) failed for 405157: Function not implemented'" > f