This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ pwd | |
/home/jaruga/fed/tests/ruby | |
$ git remote -v | grep origin | |
origin ssh://jaruga@pkgs.fedoraproject.org/tests/ruby (fetch) | |
origin ssh://jaruga@pkgs.fedoraproject.org/tests/ruby (push) | |
$ tmt -c distro=fedora run provision -h virtual -i fedora-rawhide -vvv | |
/var/tmp/tmt/run-002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tmt -c distro=fedora-rawhide run --all provision -h virtual -i fedora-rawhide tests -n '^/systemtap-static-probes-in-ruby$' | |
/var/tmp/tmt/run-044 | |
... | |
$ tmt run --id run-044 report -vvv >& tmt_run_report_044.log | |
$ cat tmt_run_report_044.log | |
/var/tmp/tmt/run-044 | |
/plans/all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tmt -c distro=fedora-rawhide run --all provision -h virtual -i fedora-rawhide plans --default | |
/var/tmp/tmt/run-014 | |
/default/plan | |
discover | |
how: fmf | |
directory: /home/jaruga/var/pkg/fed/tests/ruby | |
summary: 3 tests selected | |
provision | |
queued provision.provision task #1: default-0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tmt -c distro=fedora-rawhide run --all provision -h container -i fedora:rawhide plans --default | |
$ tmt run --last report -vvv plans --default >& tmt_run_report_container.log | |
$ cat tmt_run_report_container.log | |
/var/tmp/tmt/run-012 | |
/default/plan | |
report | |
how: display |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mock ruby-3.3.4-11.fc41.src.rpm | |
$ mock shell --unpriv | |
<mock-chroot> sh-5.2$ cd /builddir/build/BUILD/ruby-3.3.4-build/ruby-3.3.4 | |
<mock-chroot> sh-5.2$ pwd | |
/builddir/build/BUILD/ruby-3.3.4-build/ruby-3.3.4 | |
<mock-chroot> sh-5.2$ rpm -qf /usr/bin/annocheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv3) $ pip3 install transformers==3.0.0 | |
Collecting transformers==3.0.0 | |
Using cached transformers-3.0.0-py3-none-any.whl (754 kB) | |
Collecting numpy | |
Using cached numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) | |
Collecting tokenizers==0.8.0-rc4 | |
Using cached tokenizers-0.8.0rc4.tar.gz (96 kB) | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... done | |
Preparing metadata (pyproject.toml) ... done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat systemd-resoloved-debug.log | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Received dns UDP packet of size 64, ifindex=0, ttl=64, fragsize=0 | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Got DNS stub UDP query packet for id 38089 | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Looking up RR for rubyspecdoesntexist.fallingsnow.net IN A. | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Cache miss for rubyspecdoesntexist.fallingsnow.net IN A | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Firing regular transaction 63253 for <rubyspecdoesntexist.fallingsnow.net IN A> scope dns on */* (validate=yes). | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Using feature level UDP+EDNS0 for transaction 63253. | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Using DNS server 147.75.207.207 for transaction 63253. | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Announcing packet size 1472 in egress EDNS(0) packet. | |
Oct 17 15:28:58 ruby1 systemd-resolved[3712]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat card.rb | |
# Set your card number here. 16 digits. | |
card_no = '1234123412341234' | |
reverse_card_no = card_no.reverse | |
index = 1 | |
total = 0 | |
reverse_card_no.each_char do |c| | |
multi = (index % 2 == 1) ? 1 : 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat home/script/stap/para-callgraph.stp | |
#! /usr/bin/env stap | |
function trace(entry_p, extra) { | |
%( $# > 1 %? if (tid() in trace) %) | |
printf("%s%s%s %s\n", | |
thread_indent (entry_p), | |
(entry_p>0?"->":"<-"), | |
ppfunc (), | |
extra) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat ltrace_ttt.log | |
[pid 691834] 1680200962.002912 openssl.so->OPENSSL_init_ssl(0, 0, 0x7f2e32d09580, 0 <unfinished ...> | |
[pid 691834] 1680200962.003789 libssl.so.3->OPENSSL_init_crypto(76, 0, 0, 0) = 1 | |
[pid 691834] 1680200962.080976 libssl.so.3->CRYPTO_THREAD_run_once(0x7f2e20f18964, 0x7f2e20e822e9, 0x7f2e20ce8d08, 0x7601 <unfinished ...> | |
[pid 691834] 1680200962.081128 libssl.so.3->CRYPTO_THREAD_run_once(0x7f2e20f18958, 0x7f2e20e7c779, 0x7ffdf5534d90, 0x7601 <unfinished ...> | |
[pid 691834] 1680200962.081212 libssl.so.3->COMP_zlib(0x7ffdf5534ce8, 0x7f2e32d9a100, 0x7ffdf5534cd0, 0x7601) = 0x7f2e20ce5c80 | |
[pid 691834] 1680200962.081337 libssl.so.3->OPENSSL_sk_new(0x7f2e20e7c755, 0x7f2e32d9a100, 0x7ffdf5534cd0, 0x7601) = 0x1f148a0 | |
[pid 691834] 1680200962.081439 libssl.so.3->COMP_get_type(0x7f2e20ce5c80, 0, 0x7f2e20e7c755, 6) = 0 | |
[pid 691834] 1680200962.081550 <... CRYPTO_THREAD_run_once resumed> ) = 1 | |
[pid 691834] 1680200962.081592 libssl.so.3->OPENSSL_atexit(0x7f2e20e82365, 0x7f2e20f185e0, 8, 2) = 1 |
NewerOlder