Open KJTsanaktsidis opened 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.
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?)
Yeah that's fine (sorry I didn't see your reply earlier).
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:
rr
has exited with status 1rr pack $trace_dir
pernosco-submit analyze-build --build-dir . --allow-source /usr/include --allow-source /usr/lib --allow-source /usr/local/include --allow-source /usr/local/lib --copy-sources .. $trace_dir miniruby ruby **/*.so
(this seems to create a directoryextra_rr_trace_files
in the trace)tar -cxf rr_trace.tar.gz $trace_dr
rr_trace.tar.gz
file onto my machine (which won't have the sources!) and extracting itpernosco-submit upload --title 'foo' --no-local-sources rr_trace
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:
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.gzI 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!