Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/tests-hw-setup

Scripts and files for openqa workers controlling hardware SUT
https://github.com/QubesOS/tests-hw-setup

thor: adjust power press for host 5

It's now connected to hal9005, instead of thor directly.

c8d90e121ddc293fee4ad0c39949c8588f8e9dea authored about 1 year ago by Marek Marczykowski <[email protected]>
thor: add host 13

This one is powered via shelly plug, instead of USB power strip.

9bcd6d8b0a28815b3047ea7b1f13f0e0872e1542 authored about 1 year ago by Marek Marczykowski <[email protected]>
thor: add host 12

There is a bit longer delay for power press.

2d991401ccfc3378bc061b1a8924d6243da1e340 authored about 1 year ago by Marek Marczykowski <[email protected]>
Use kickstart for devel install too

This pre-loads ssh keys

4d1048d92a5d8680dd0066af0756bb7c559d9cbf authored about 1 year ago by Marek Marczykowski <[email protected]>
Configure install kernel flavor via pillar

This allows using newer hosts that (still) require kernel-latest.

085c1b17ca4ad6e23a248390c8b0624b7cdb153a authored about 1 year ago by Marek Marczykowski <[email protected]>
Install curl on thor

Used to control shelly plug(s)

c50aac9d15b0c77ee9bd015c19286b577d428c93 authored about 1 year ago by Marek Marczykowski <[email protected]>
Adjust to support PiKVM v4 too

USB breaker is on a different GPIO.

50142ff8e8dc057206385bb25c254be28841ef3a authored about 1 year ago by Marek Marczykowski <[email protected]>
Fix sudo usage in openqa-store-asset

Use full path to the gadget-control binary to make sudo happy.

229c72e7cb1ff1c34427a52b3840171c38d3e0c6 authored about 1 year ago by Marek Marczykowski <[email protected]>
Update ustreamer

Especially to the version using CLOCK_MONOTONIC (instead of
CLOCK_MONOTONIC_RAW) for memory sinks.

776d7ba8599ec4c90d9141d2f1c24b4448e53224 authored about 1 year ago by Marek Marczykowski <[email protected]>
Add a state for 'thor' server too

It's a Debian on RPi. Add state for setting up most of configs.
/srv/tftp includes several binar...

c6a6694431ea02fa7036347d4c3a8b3f55fd31c1 authored about 1 year ago by Marek Marczykowski <[email protected]>
Misc fixups

- set DNS in installer
- restart dnsmasq if it fails to start (workaround for startup race
con...

655accefddd22a4af5d5562f2392f17ae5fe0bf0 authored about 1 year ago by Marek Marczykowski <[email protected]>
testbed-control: start/stop gitlab service only on hw2

Other hosts used by openQA do not have gitlab (yet).

5de30dfe12d0e9399b1d085fda738c1b0fc992b5 authored about 1 year ago by Marek Marczykowski <[email protected]>
Ease enabling mass storage gadget in kvmd

Prepare configuration so it can be enabled with kvmd-otgconf +
kvmd-otgmsd tools. Do not start i...

6aeeeaff0bfc38d043a0d0048e89d4068a1ebb1d authored about 1 year ago by Marek Marczykowski <[email protected]>
Workaround startup ordering of dnsmasq

dnsmasq requires the listening IP to be already set. Since wicked
doesn't support "wait for inte...

e3dd45dfece4327d062e419520b88b25e630cd71 authored about 1 year ago by Marek Marczykowski <[email protected]>
Update installing kvmd and other RPi.GPIO

pip now complains when used to install stuff system-wide. Generally it
means sense when somebody...

bb5a8d114b5f45015fc851a87f5dbce17240d8cf authored about 1 year ago by Marek Marczykowski <[email protected]>
Boot improvements

- use ether-wake via jump host (necessary if target is in a different
vlan)
- fix efibootmgr c...

46ab6e6e077ab36220bc63c1f01dfb319017b631 authored about 1 year ago by Marek Marczykowski <[email protected]>
Set gitlab-runner stop timeout high

Do not interrupt running (small) jobs, do graceful shutdown. This should
make openQA wait for Gi...

6389259f9b97e11c64f1526ec3383534b4281001 authored about 1 year ago by Marek Marczykowski <[email protected]>
Serial console improvement

- Make speed configurable via pillar
- Use picocom instead of stty+cat
- Make Xen opts configura...

6c5d301173e800be528f62b985b92a5164722216 authored about 1 year ago by Marek Marczykowski <[email protected]>
Update kernel

Newer includes local "force_eject" patch from pikvm project.

a912672973ca825e447718d76bd98f301ba90bb5 authored about 1 year ago by Marek Marczykowski <[email protected]>
Adjust hal9007-boot-menu-interact for updated firmware

It does no longer show boot menu on the serial console. Interact with it
blindly with USB keyboa...

aab12ae18820dda692637ef29856f7e53a8221c9 authored over 1 year ago by Marek Marczykowski <[email protected]>
Add VNC proxy for HDMI+USB gadget outside of openQA

Utilize PiKVM's kvmd VNC proxy, which fits this use case perfectly. The
kvmd project is so nicel...

792e305d83b77f0a852a54bcd88c24e6ab1c99de authored over 1 year ago by Marek Marczykowski <[email protected]>
Add one more gitlab-runner manual step to TODO file

534c175ffb6c9aa067ee3ce4f4f1373d5fd70d7b authored over 1 year ago by Marek Marczykowski <[email protected]>
Minor improvements

- load EDID at startup, so HDMI can work before first openQA job
- start with USB OTG in perip...

c8575863827d5d6630278b1650d15845276c5722 authored over 1 year ago by Marek Marczykowski <[email protected]>
Increase delay for running xrandr

With booting from USB gadget, it may take more time.

906c2f0de5fadd29f3f64dca7f5e00149360bdbb authored over 1 year ago by Marek Marczykowski <[email protected]>
testbed-control: add console for hal9011

3dcea6b6a5c7e59ec3e663a629bec75a47be2b55 authored over 1 year ago by Marek Marczykowski <[email protected]>
Fix setting TCP console

The fifo at /etc/ttyS0 needs to be created too. This part was
erroneously removed when consolida...

e574a523c1dd23b3f73e3ec42b41ab2280254f48 authored over 1 year ago by Marek Marczykowski <[email protected]>
Allow setting internal laptop screen name via pillar

It isn't always eDP-1.

9c3b7752ff95d2e737113d6573fc8603e0f11b28 authored over 1 year ago by Marek Marczykowski <[email protected]>
gitlab: fix starting ssh-agent

It requires the socket to not exist initially, so clean it up on start.
And also ensure the dire...

3b343246fa9f7129789c837929957a9b49fc604c authored over 1 year ago by Marek Marczykowski <[email protected]>
gadget-control: add 'cmd' command

Helpful shortcut for manual usage - do not require separate 'ret' to
execute the command. Best u...

43ffdb50645176731abe1b51942b42002e14bfb4 authored over 1 year ago by Marek Marczykowski <[email protected]>
Fix openqa handling for host reservation

Do not "reserve" the host just to check openqa version, fix sudo config.

4f7b5c2ec7ac8f1c1a2897b2bd7348acbeb70b22 authored over 1 year ago by Marek Marczykowski <[email protected]>
Adjust for nft-based firewall in sys-net

2e1665e552e12bab2477173428f64126c11b207c authored over 1 year ago by Marek Marczykowski <[email protected]>
Add simple, opportunistic host reservation

Add claim/release commands to testbed-control that helps coordinating
usage between different ru...

85d863c98df0aa812966ee204e931d0917488ad4 authored over 1 year ago by Marek Marczykowski <[email protected]>
testbed-control: improve hal* hostname handling

Do not assume the number is one digit, it's no longer true with hal9010.
Introduce a function th...

2c2558b0dfc55e29b98a12c748035d09fcc77805 authored over 1 year ago by Marek Marczykowski <[email protected]>
Fix openqa-worker@1 masking

Since 'hostid' was converted to int, adjust the condition too.

031b8c9341741f110bab7b27cc305d1eed362d5d authored almost 2 years ago by Marek Marczykowski <[email protected]>
gitlab runner: fix dependencies

Restart service if systemd unit changed.

6cb6eee80a5e47ddfc4231d32c8159a5813cce79 authored almost 2 years ago by Marek Marczykowski <[email protected]>
efi: Allow customizable second boot preference

There isn't always "Setup" there, allow setting secondary preference via
pillar.

7842d426999e810600e776c9d3ba3428834c5b37 authored almost 2 years ago by Marek Marczykowski <[email protected]>
Explicitly set console speed

Do not rely on it being configured before.

630f35fe24891ed829350e0031f376d4300ea0ea authored almost 2 years ago by Marek Marczykowski <[email protected]>
local-power-press: verify if power on really worked

If given board has input GPIO connected to power LED, verify if power on
really worked - and pre...

0af71553f0ca31930d6a846e78154c68d8d97db6 authored almost 2 years ago by Marek Marczykowski <[email protected]>
Add IP in known_hosts

The file is read-only in gitlab-runner, and ssh tries to set the IP if
it's missing. Avoid the w...

81c17eb47cde5c0058bffae2d34aa7538fc92115 authored almost 2 years ago by Marek Marczykowski <[email protected]>
gitlab-runner: change pull-policy to always

acc1adb66c717b911b37c1e09e4634c6c2ada211 authored almost 2 years ago by Marek Marczykowski <[email protected]>
Limit concurrency of gitlab-runner

Tests there access the connected SUT, which is only one. Limit
concurrensy to avoid tests racing...

2aebd43a0087df01e98b1ed26d8f1905f96e77e7 authored almost 2 years ago by Marek Marczykowski <[email protected]>
Add thor's testbed-control script

It isn't directly useful outside of this infra, but with some
modifications could be reused.

8343197abd43ef75a649011ac777939576fe1b7f authored almost 2 years ago by Marek Marczykowski <[email protected]>
Initial public commit

108ceb20aa30a1158972ae1967842d78962a7570 authored almost 2 years ago by Marek Marczykowski <[email protected]>