This file contains hidden or 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
t/test-file_with_fails.tap .. | |
1..6 | |
# | |
# Create a new Board and Tile, then place | |
# the Tile onto the board. | |
# | |
ok 1 - The object isa Board | |
ok 2 - Board size is zero | |
ok 3 - The object isa Tile | |
ok 4 - Get possible places to put the Tile |
This file contains hidden or 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
loadtest needs a script below /var/lib/openqa/cache/tests/sle - bootloader_poo40670.pm is not | |
[2018-11-06T18:17:18.0074 CET] [debug] error on bootloader_poo40670.pm: Can't locate ../../../pool/1/bootloader_poo40670.pm in @INC (you may need to install the ..::..::..::pool::1::bootloader_poo40670 module) (@INC contains: ../../../pool/1 /var/lib/openqa/cache/tests/sle/lib /var/lib/openqa/pool/1/blib/arch /var/lib/openqa/pool/1/blib/lib /usr/lib/os-autoinst /usr/lib/perl5/site_perl/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/vendor_perl/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.2 /usr/lib/perl5/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/5.18.2 /usr/lib/perl5/site_perl .) at (eval 739) line 1. | |
error on bootloader_poo40670.pm: Can't locate ../../../pool/1/bootloader_poo40670.pm in @INC (you may need to install the ..::..::..::pool::1::bootloader_poo40670 module) (@INC contains: ../../../pool/1 /var/lib/openqa/cache/tests/sle/lib /var/lib/openqa/poo |
This file contains hidden or 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
# https://github.com/foursixnine/systeminstaller/blob/master/bootstrap-os.sh | |
# you could run all of this in a shell script | |
BOOTSTRAP_ROOTFS=/tmp/rootfs | |
mkdir ${BOOTSTRAP_ROOTFS} | |
mount -t ext3 -o noatime /dev/your/device ${BOOTSTRAP_ROOTFS} | |
mount -t proc proc ${BOOTSTRAP_ROOTFS}/proc/ | |
mount -t sysfs sys ${BOOTSTRAP_ROOTFS}/sys/ | |
mount -o bind /dev ${BOOTSTRAP_ROOTFS}/dev/ |
This file contains hidden or 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
use strict; | |
use warnings; | |
use feature 'say'; | |
use Data::Dump qw(pp); | |
This file contains hidden or 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
use strict; | |
use warnings; | |
use Test::More; | |
use Carp qw/carp/; | |
use feature 'say'; | |
sub get_var { | |
my ($return_this) = @_; | |
## no critic | |
return undef if $return_this eq 'Blah'; |
This file contains hidden or 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
[Vete ] usb 3-3: new full-speed USB device number 29 using xhci_hcd | |
[Por eso vete, olvida mi nombre, mi cara, mi casa ] usb 3-3: device descriptor read/64, error -71 | |
[Y pega la vuelta ] usb 3-3: device descriptor read/64, error -71 | |
[Jamás te pude comprender ] usb 3-3: new full-speed USB device number 30 using xhci_hcd | |
[Vete, olvida mis ojos ] usb 3-3: device descriptor read/64, error -71 | |
[mis manos, mis labios ] usb 3-3: device descriptor read/64, error -71 | |
[Que no te desean ] usb usb3-port3: attempt power cycle | |
[Estás mintiendo, ya lo sé ] usb 3-3: new full-speed USB device number 31 using xhci_hcd | |
[Vete, olvida que existo, que me conociste ] usb 3-3: Device not responding to setup address. | |
[Y no te sorprendas, olvida de todo que tú para eso ] usb 3-3: Device not responding to s |
This file contains hidden or 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
set -e | |
MICROTIME=$(date +%s); | |
APIKEY="APIKEY" | |
APISECRET="APISECRET" | |
APIROUTE='/api/v1/jobs/1748061/restart' # Beware if your URL has extra characters | |
# See https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/UserAgent.pm#L78 | |
HMAC=$(echo -n "$APIROUTE$MICROTIME" | openssl dgst -sha1 -mac hmac -macopt key:$APISECRET | awk '{ print $2}'); |
This file contains hidden or 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
for job in $(cat jobs.list); do ./script/client --host openqa.suse.de jobs/${job##*/} delete; done; |
This file contains hidden or 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
# works | |
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s" | |
_cmd += " --apibase / --apikey %s --apisecret %s" | |
_cmd += " tests/%d/file/autoinst-log.txt get" | |
this_process = subprocess.run(_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | |
_output = this_process.stdout | |
# doesnt: | |
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s " |
This file contains hidden or 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
# Extremely basic development setup to serve the current directory at http://localhost:9001 | |
# Start nginx in this directory with `nginx -p . -c nginx.conf` | |
# Stop nginx with `nginx -p . -s stop` | |
# for opensuse: if running as a user, after running yarn build: `/usr/sbin/nginx -p . -c nginx.conf` | |
events {} | |
http { | |
# Serve files with correct mimetypes on OSX | |
# location may have to be adjusted depending on your OS and nginx install | |
include /usr/local/etc/nginx/mime.types; |