Pernosco / pernosco

General-purpose public wiki and issue tracking
13 stars 0 forks source link

What's the right way to generate a pernosco trace that can be uploaded later? #55

Open KJTsanaktsidis opened 3 months ago

KJTsanaktsidis commented 3 months ago

I'm trying to use rr to find and fix flaky tests in the Ruby language test suite. I was hoping to set up a Jenkins server that did something along these lines:

Unfortunately, I'm having a lot of trouble getting the sources to appear in pernosco. What I'm doing is:

Pernosco doesn't seem to show any sources though for this trace. It knows the file names/line numbers from the debuginfo, but no source text:

image

You can see the rr_trace.tar.gz file on my jenkins server here: https://ruby-rr-ci.kjtsanaktsidis.id.au/jenkins/job/ruby_ci-rr-asan/206/testReport/test-all/TestYJIT/TestYJIT_test_code_gc_partial_last_page/attachments/rr_trace.tar.gz

I know that pernosco-submit has a --dry-run option, but I didn't think this would be suitable for this use-case because it signs the trace with my pernosco credentials, right? I guess I would want CI to produce an "unsigned" archive for this and allow people interested in the trace to sign & upload it with their own credentials.

Can you tell me how exactly I'm holding this wrong? Thanks!

khuey commented 3 months ago

Yeah seems like we need a "package everything but don't sign it" option. The on-premises version has a "package-build" command so I think I'll do that.

KJTsanaktsidis commented 2 months ago

That sounds like exactly what I need 👍 in the meanwhile I guess I’m the only one actually using this system so I’ll just upload my signed traces 🤷 (as long as this isn’t an abuse vector for you guys?)

khuey commented 2 months ago

Yeah that's fine (sorry I didn't see your reply earlier).