Skip to content

Instantly share code, notes, and snippets.

Jun Aruga junaruga

View GitHub Profile
@junaruga
junaruga / run.log
Created Apr 7, 2019
junaruga/qemu-user-static:register log
View run.log
$ cat run.log
+ QEMU_BIN_DIR=/usr/bin
+ '[' '!' -d /proc/sys/fs/binfmt_misc ]
+ '[' '!' -f /proc/sys/fs/binfmt_misc/register ]
+ mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+ '[' --reset '=' --reset ]
+ shift
+ find /proc/sys/fs/binfmt_misc -type f -name 'qemu-*' -exec sh -c 'echo -1 > {}' ';'
+ exec /qemu-binfmt-conf.sh --qemu-suffix -static '--qemu-path=/usr/bin'
+ qemu_target_list='i386 i486 alpha arm armeb sparc32plus ppc ppc64 ppc64le m68k mips mipsel mipsn32 mipsn32el mips64 mips64el sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb microblaze microblazeel or1k x86_64'
View markdown test
Multi lines code.
```
code 1
code 2
```
Citation test.
> citation 1
View rubygem-coderay.spec.1.1.2
# Generated from coderay-1.1.2.gem by gem2rpm -*- rpm-spec -*-
%global gem_name coderay
Name: rubygem-%{gem_name}
Version: 1.1.2
Release: 1%{?dist}
Summary: Fast syntax highlighting for selected languages
License: MIT
URL: http://coderay.rubychan.de
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
View product-listings-manager_install.log
$ git clone git@github.com:release-engineering/product-listings-manager.git
$ cd product-listings-manager
$ sudo dnf -y install postgresql-devel krb5-devel rpm-devel gcc python-devel
$ sh install_repeatedly.sh
Processing /home/jaruga/git/product-listings-manager
Collecting Flask (from product-listings-manager==0.2.0)
Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl
Collecting Flask-XML-RPC (from product-listings-manager==0.2.0)
Using cached https://files.pythonhosted.org/packages/d7/04/8ae1f839415f2f674565c973cf27c586c0380da2fa4738e50cdb8150d1aa/Flask-XML-RPC-0.1.2.tar.gz
View install_repeatedly.sh
#!/bin/sh
set -e
for i in $(seq 2); do
test -d venv && rm -rf venv
python3 -m venv ./venv
source venv/bin/activate
time pip install .
deactivate
View jruby_9.1.16_errno_constants_sort.txt
:E2BIG
:EACCES
:EADDRINUSE
:EADDRNOTAVAIL
:EAFNOSUPPORT
:EAGAIN
:EALREADY
:EBADF
:EBADMSG
:EBUSY
View ruby_2.5.1_errno_constants_sort.txt
:E2BIG
:EACCES
:EADDRINUSE
:EADDRNOTAVAIL
:EADV
:EAFNOSUPPORT
:EAGAIN
:EALREADY
:EAUTH
:EBADE
View mysql2 on mariadb-connector-c with debug log
$ bundle exec rspec spec/mysql2/client_spec.rb:474
Run options: include {:locations=>{"./spec/mysql2/client_spec.rb"=>[474]}}
Randomized with seed 29573
Mysql2::Client
[DEBUG] client.rb initialize conn_attrs: {"program_name"=>"/home/jaruga/git/mysql2/vendor/bundle/ruby/2.5.0/bin/rspec"}
[DEBUG] client.c rb_mysql_connect start.
[DEBUG] client.c rb_mysql_connect CLIENT_CONNECT_ATTRS is defined.
[DEBUG] client.c opt_connect_attr_add_i mysql_options4 key: program_name, value: /home/jaruga/git/mysql2/vendor/bundle/ruby/2.5.0/bin/rspec
View rpm-py-installer-python2.7-install.log
Collecting rpm-py-installer
1 location(s) to search for versions of rpm-py-installer:
* https://pypi.python.org/simple/rpm-py-installer/
Getting page https://pypi.python.org/simple/rpm-py-installer/
Looking up "https://pypi.python.org/simple/rpm-py-installer/" in the cache
Current age based on date: 133
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 133
View pytest_report.xml
<testsuite errors="0" failures="1" name="pytest" skips="0" tests="127" time="498.144">
<testcase classname="rebasehelper.tests.test_application.TestApplication" file="rebasehelper/tests/test_application.py" line="54" name="test_application_sources" time="0.40856456756591797"/>
<testcase classname="rebasehelper.tests.test_archive.TestArchive" file="rebasehelper/tests/test_archive.py" line="57" name="test_archive[tar.gz]" time="0.0021042823791503906"/>
<testcase classname="rebasehelper.tests.test_archive.TestArchive" file="rebasehelper/tests/test_archive.py" line="57" name="test_archive[tgz]" time="0.001932382583618164"/>
<testcase classname="rebasehelper.tests.test_archive.TestArchive" file="rebasehelper/tests/test_archive.py" line="57" name="test_archive[tar.xz]" time="0.0024712085723876953"/>
<testcase classname="rebasehelper.tests.test_archive.TestArchive" file="rebasehelper/tests/test_archive.py" line="57" name="test_archive[tar.bz2]" time="0.0025482177734375"/>
<testcase classname="rebasehelper.tests.test
You can’t perform that action at this time.