Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
574 commits
Select commit Hold shift + click to select a range
a5a8b65
remote/client: fallback to telnet when microcom is not available
NickCao May 23, 2024
b6ec6f1
Merge pull request #1412 from NickCao/telnet
Emantor Jun 26, 2024
1e8bad9
Merge pull request #1404 from enkiusz/settle-success-code
Emantor Jun 26, 2024
cecb82f
Merge pull request #1346 from flxzt/sigrok-driver-fixes
Emantor Jun 26, 2024
9c5034a
Merge pull request #1359 from sjg20/disk
Emantor Jun 26, 2024
4fd7caf
Merge pull request #1388 from Emantor/doc/await-resource
Emantor Jun 26, 2024
a0fc26d
driver/serialdigitaloutput: fix get() for DTR signal
Bastian-Krause Jun 27, 2024
63685d6
util/ssh: stop keepalive in disconnect() when existing connection is …
Bastian-Krause Jun 27, 2024
ad07f49
doc/configuration: drop additional empty lines
Bastian-Krause Jun 27, 2024
c7237e0
doc/configuration: use consistent optional notation for arguments
Bastian-Krause Jun 27, 2024
c47ce18
doc/configuration: use consistent lower case description for arguments
Bastian-Krause Jun 27, 2024
bfbfd25
doc/configuration: add required invert argument to SerialPortDigitalO…
Bastian-Krause Jun 27, 2024
4c4715d
doc/configuration: split DediprogFlashDriver example
Bastian-Krause Jun 27, 2024
c3a3fe5
doc/configuration: fix a typo: infromation -> information
Bastian-Krause Jun 27, 2024
11cce1d
driver/power: Remove check for maximum number of outlets for raritan
edersondisouza Jun 27, 2024
09bbb34
Merge pull request #1432 from Bastian-Krause/bst/serialdigitaloutput
Emantor Jun 28, 2024
ccf7a3f
Merge pull request #1430 from Bastian-Krause/bst/util-ssh-keepalive
Bastian-Krause Jul 1, 2024
2b5a67f
Merge pull request #1435 from edersondisouza/raritan-no-max-outlets
Bastian-Krause Jul 3, 2024
169b525
driver/externalconsoledriver: use bufsize=0 for opening external process
Bastian-Krause Jul 7, 2024
0d293be
Merge pull request #1440 from Bastian-Krause/bst/externalconsole-bufsize
jluebbe Jul 17, 2024
1296989
Merge pull request #1433 from Bastian-Krause/bst/docs-2024-06
jluebbe Jul 17, 2024
451cc12
Merge pull request #1405 from enkiusz/tinycontrol-ippower-6g10a-support
jluebbe Jul 17, 2024
271b1da
Merge pull request #1307 from hoyes/docker-arm64
jluebbe Jul 17, 2024
0cb2186
driver/power/tinycontrol: fix import order
Bastian-Krause Jul 17, 2024
8af37ae
Merge pull request #1444 from Bastian-Krause/bst/fix-1405
Bastian-Krause Jul 17, 2024
bc6edfe
logging: fix class name in StepLogger warning
Bastian-Krause Jul 22, 2024
2dd4034
doc: document StepLogger
Bastian-Krause Jul 22, 2024
fb5e982
autoinstall/main: use labgrid's StepLogger/basicConfig
Bastian-Krause Jul 22, 2024
fe7b570
doc/usage: adjust docs for legacy --lg-colored-steps, LG_COLOR_SCHEME
Bastian-Krause Jul 22, 2024
04d6d07
examples/qemu-networking/qemunetworkstrategy: fix NameErrors
Bastian-Krause Jul 22, 2024
c8128f6
examples: drop unused imports
Bastian-Krause Jul 22, 2024
c872e7f
examples: make imports consistent
Bastian-Krause Jul 22, 2024
a3bc87c
examples: use labgrid's StepLogger/basicConfig
Bastian-Krause Jul 22, 2024
5755430
Merge pull request #1449 from Bastian-Krause/bst/examples-fixes
Bastian-Krause Jul 23, 2024
fe10000
Merge pull request #1448 from Bastian-Krause/bst/lg-colored-steps
Bastian-Krause Jul 23, 2024
99edb4d
Merge pull request #1447 from Bastian-Krause/bst/autoinstall-improvem…
Bastian-Krause Jul 23, 2024
8599a03
Merge pull request #1446 from Bastian-Krause/bst/steplogger-improvements
Bastian-Krause Jul 23, 2024
0bf0141
util/yaml: warn on duplicate keys in mappings
Bastian-Krause Jul 26, 2024
64b995f
Merge pull request #1451 from Bastian-Krause/bst/yaml-duplicate-keys
Bastian-Krause Jul 30, 2024
fe8ee04
dockerfiles/staging/docker-compose: drop obsolete version element
Bastian-Krause Aug 1, 2024
2750002
docker: migrate to Docker compose v2
Bastian-Krause Aug 1, 2024
476ca9e
Merge pull request #1460 from Bastian-Krause/bst/bst-docker-compose-v2
Emantor Aug 6, 2024
ed51858
workflows/reusable-unit-tests: do not install ncurses-term, drop TERM…
Bastian-Krause Aug 2, 2024
a972458
Merge pull request #1461 from Bastian-Krause/bst/github-color-remains
Emantor Aug 6, 2024
1bce19f
remote/client: suggest non-deprecated env var LG_PLACE instead of PLACE
Bastian-Krause Jul 23, 2024
16db15a
Merge pull request #1463 from Bastian-Krause/bst/client-env-lg-place
Emantor Aug 7, 2024
2000489
resource/udev: use filter_match for HIDRelay
jluebbe Aug 8, 2024
cb1e88c
util/agents/usb_hid_relay: run ruff format
jluebbe Aug 8, 2024
e592a37
util/agents/usb_hid_relay: use VID to detect the protocol
jluebbe Aug 8, 2024
c9fc5bf
labgrid/util/agents/usb_hid_relay: keep the USB device open
jluebbe Aug 8, 2024
a9d2d1c
util/agents/usb_hid_relay: add support for the LCTech USB HID relay
jluebbe Aug 8, 2024
17c2c71
Merge pull request #1464 from jluebbe/lcus-hid
Emantor Aug 12, 2024
02a4657
CHANGES: more updates for 24.0 release
Emantor Aug 12, 2024
7f2c8fc
Merge pull request #1465 from Emantor/topic/changes-24.0
Emantor Aug 12, 2024
b65340d
CHANGES: add release date to 24.0
Bastian-Krause Aug 13, 2024
2317d02
CHANGES: Add 23.0.x releases from stable-23.0 branch
Bastian-Krause Aug 13, 2024
f4793e1
debian: add unreleased version 24.1.0
Bastian-Krause Aug 13, 2024
5e4ab58
Merge pull request #1470 from Bastian-Krause/bst/v24-changes
Emantor Aug 13, 2024
2099ee2
treewide: replace autobahn and crossbar with gRPC
jluebbe Jun 20, 2024
d7ac3e7
remote/exporter: make coordinator port default to 20408
Bastian-Krause Aug 2, 2024
db9a326
remote/coordinator: catch exceptions from poll steps separately
jluebbe Jul 3, 2024
829acab
remote/coordinator: simplify _update_acquired_places()
jluebbe Jul 3, 2024
2ca1329
remote/coordinator: split out code to acquire a resource on the exporter
jluebbe Jul 3, 2024
33126fa
remote/client: explicitly handle orphaned resources in the client
jluebbe Jul 3, 2024
fc7b802
remote/coordinator: refactor handling of orphaned resources
jluebbe Jul 3, 2024
bef539e
remote: rework grpc timeout configuration
jluebbe Jul 3, 2024
f32d418
remote/coordinator: disable so_reuseport
jluebbe Jul 3, 2024
9ad28c3
remote/coordinator: store event loop in loop attribute
Bastian-Krause Aug 1, 2024
1bd0f99
remote/client: drop error check already done by argparser
Bastian-Krause Jul 23, 2024
5679fa5
remote/client: replace manual place checks with helper method calls
Bastian-Krause Aug 8, 2024
4230591
remote/client: drop redundant checks
Bastian-Krause Jul 23, 2024
624667c
remote/client: be more explicit about expected place acquired state i…
Bastian-Krause Jul 23, 2024
da95c44
remote: use more explicit event loop handling
Bastian-Krause Aug 1, 2024
0e1e4fb
remote/client: rework event loop handling in start_session()
Bastian-Krause Aug 1, 2024
545d240
remote/client: provide default for ClientSession.env to make it optional
Bastian-Krause Aug 2, 2024
37a92b5
remote: make start_session() args more explicit
Bastian-Krause Aug 2, 2024
606af35
tests/test_ethernetport: create and set event loop for test
Bastian-Krause Jul 31, 2024
cb9ecde
tests/conftest: turn exporter fixture into class
Bastian-Krause Jul 2, 2024
373874b
tests/conftest: move common Exporter functionality into generic Labgr…
Bastian-Krause Jul 17, 2024
15da271
tests/conftest: make coordinator fixture use a helper class Coordinator
Bastian-Krause Jul 17, 2024
5b2776d
tests/conftest: move suspend_tree/resume_tree into LabgridComponent
Bastian-Krause Jul 17, 2024
df8df52
tests/test_remote: add test_exporter_start_coordinator_unreachable
Bastian-Krause Jul 17, 2024
8462aeb
tests/test_remote: add test_exporter_coordinator_becomes_unreachable
Bastian-Krause Jul 17, 2024
61516b6
contrib/systemd: update service for new versions of coordinator/exporter
Bastian-Krause Aug 7, 2024
394864e
contrib/coordinator-statsd: migrate to gRPC
Bastian-Krause Aug 2, 2024
b589897
contrib/labgrid-webapp: migrate to gRPC
Bastian-Krause Aug 2, 2024
5a49429
contrib/sync-places: migrate to gRPC
Bastian-Krause Aug 2, 2024
13969df
examples: migrate to gRPC
Bastian-Krause Aug 7, 2024
c613f1e
dockerfiles: migrate to gRPC
Bastian-Krause Jul 22, 2024
81f5801
man: update for gRPC
Bastian-Krause Aug 8, 2024
e0167ae
doc: update for gRPC
Bastian-Krause Aug 8, 2024
045634b
github/workflows/reusable-unit-tests: skip pylint for python3.8
Bastian-Krause Jul 22, 2024
bf4379c
pyproject: advertise python3.12 compatibility
Bastian-Krause Aug 7, 2024
0ea9fe5
debian: install labgrid-coordinator
Bastian-Krause Aug 13, 2024
1a406bc
debian: numpy is no longer an indirect dependency
Bastian-Krause Aug 13, 2024
ab8f79a
CHANGES: add gRPC migration to new 24.1 release
Bastian-Krause Aug 13, 2024
00e13b7
github/workflows/scheduled-unit-tests: drop scheduled docker tests on…
Bastian-Krause Aug 14, 2024
f472ae7
Merge pull request #1475 from Bastian-Krause/bst/scheduled-docker-stable
Bastian-Krause Aug 15, 2024
1ab0abd
Merge pull request #1469 from labgrid-project/grpc
Emantor Aug 16, 2024
5a212eb
doc/RELEASE: update release instructions
Bastian-Krause Aug 13, 2024
2f5d3ae
pyproject.toml: add ruff to dev extra
Bastian-Krause Aug 13, 2024
abcb421
github/workflows/reusable-unit-tests: enforce ruff format on labgrid.…
Bastian-Krause Aug 13, 2024
288a0d0
fix: match interface regex in ShellDriver
rpoisel Aug 30, 2024
a9a74af
Merge pull request #1490 from honeytreelabs/dev-fix-default-interface…
Emantor Aug 30, 2024
965e5e0
remote/coordinator: Fix typo to allow for reservations matching multi…
enkiusz Sep 3, 2024
f1b2bc3
Merge pull request #1491 from enkiusz/devel/fix-reserve-multiple-tags
Emantor Sep 3, 2024
b9e2bbc
Merge pull request #1480 from Bastian-Krause/bst/ruff
Emantor Sep 9, 2024
8550918
Merge pull request #1472 from Bastian-Krause/bst/release
Emantor Sep 9, 2024
a9295fc
driver/usbvideodriver: reduce latency of GStreamer pipeline
tretter Sep 11, 2024
6b54121
Merge pull request #1494 from tretter/reduce-latency-of-labgrid-clien…
Emantor Sep 12, 2024
a3501a2
github: install setuptools_scm via apt
Bastian-Krause Sep 30, 2024
b762cc9
github: bump ubuntu runner images to 24.04
Bastian-Krause Sep 30, 2024
d377f0a
README: add getting started section
Emantor Sep 20, 2024
b120654
Merge pull request #1496 from Emantor/doc/readme-getting-started
Emantor Sep 30, 2024
de12746
man: rename rst2man.py -> rst2man
Bastian-Krause Oct 8, 2024
9d96b69
doc/conf: drop obsolete html_theme_path
Bastian-Krause Oct 8, 2024
3ef1d2d
man: regenerate man pages with docutils 0.21
Bastian-Krause Oct 8, 2024
51205ed
udev: Adds model id for stlink-v2 and v3
nvincent-vossloh Oct 10, 2024
c15f98b
pyproject.toml: drop Python 3.8 support
Bastian-Krause Oct 10, 2024
76c21cf
github: drop Python 3.8 support
Bastian-Krause Oct 10, 2024
8d68d8b
CHANGES: drop Python 3.8 support
Bastian-Krause Oct 10, 2024
b081260
treewide: drop pylint disable=no-self-use comments
Bastian-Krause Sep 28, 2024
67266de
pyproject.toml: limit pysnmp's pyasn1 dependency to <0.6.0
Bastian-Krause Sep 28, 2024
b9047fd
Merge pull request #1518 from nvincent-vossloh/add-stlink-chipid
jluebbe Oct 11, 2024
57711db
Merge pull request #1522 from Bastian-Krause/bst/limit-pyasn1
Emantor Oct 14, 2024
a0dda92
Merge pull request #1520 from Bastian-Krause/bst/drop-py3.8
Emantor Oct 14, 2024
f424c0b
Merge pull request #1521 from Bastian-Krause/bst/pylint-no-self-use
Emantor Oct 14, 2024
28fee23
Merge pull request #1519 from Bastian-Krause/bst/doc-fixes-2024
Emantor Oct 14, 2024
2ddc8b1
Merge pull request #1510 from Bastian-Krause/bst/ubuntu-24.04
Bastian-Krause Oct 14, 2024
ea40a22
helpers/labgrid-raw-interface: run ruff format
Bastian-Krause Oct 11, 2024
c1aec37
helpers/labgrid-raw-interface: introduce subparsers per program, pass…
Bastian-Krause Oct 11, 2024
f31f3da
driver/rawnetworkinterfacedriver: run ruff format
Bastian-Krause Oct 11, 2024
4f6fe09
driver/rawnetworkinterfacedriver: move timeout to tcpdump
JoshuaWatt Jan 19, 2024
dcfa087
driver/rawnetworkinterfacedriver: implement live streaming
JoshuaWatt Jan 19, 2024
b6c9e4e
github: update codecov/codecov-action v3 -> v4
Bastian-Krause Sep 30, 2024
e2ecd3e
pyproject.toml: use recursive dependencies
Bastian-Krause Oct 10, 2024
4d8ce28
Merge pull request #1508 from Bastian-Krause/bst/codecov-bump
Bastian-Krause Oct 15, 2024
7ab6240
util/agents/usb_hid_relay: fix concurrent access
jluebbe Oct 15, 2024
ec55819
Merge pull request #1526 from jluebbe/usb-hid-multiuser
Bastian-Krause Oct 15, 2024
809b286
labgrid/driver/power: deprecate siglent backend
Bastian-Krause Sep 30, 2024
adc614a
Merge pull request #1320 from JoshuaWatt/rawnetworkinterface-stream
jluebbe Oct 18, 2024
c9651ef
github/workflows: set the codecov token
jluebbe Oct 18, 2024
6784f20
github/workflows: upload coverage directly after testing
jluebbe Oct 18, 2024
c9119f2
github/workflows: pass CODECOV_TOKEN to reusable workflow
jluebbe Oct 18, 2024
b58287f
Merge pull request #1528 from jluebbe/fix-codecov
Emantor Oct 21, 2024
158d79f
Merge pull request #1524 from Bastian-Krause/bst/recursive-deps
Emantor Oct 21, 2024
8d67b3b
Merge pull request #1509 from Bastian-Krause/bst/deprecate-siglent
Emantor Oct 21, 2024
c00e74a
github: add tests for Python 3.13
Bastian-Krause Sep 30, 2024
ebe45fc
pyproject: advertise Python 3.13 compatibility
Bastian-Krause Sep 30, 2024
dc5a9f7
github: show extra test summary
Bastian-Krause Sep 30, 2024
bf9bf13
doc: mock vxi11 module
Bastian-Krause Sep 30, 2024
5f0ae27
Merge pull request #1511 from Bastian-Krause/bst/py3.13
Emantor Oct 21, 2024
24ad7ef
github/workflows: set the python version as a codecov flag
jluebbe Oct 18, 2024
ec87797
Merge pull request #1529 from jluebbe/codecov-flags
Emantor Oct 21, 2024
0025a9a
pyproject.toml: drop ruff excludes redundant to gitignore, rather ext…
Bastian-Krause Oct 11, 2024
8576744
pyproject.toml: maintain ruff include centrally
Bastian-Krause Oct 11, 2024
55c2c3a
labgrid/protocol: run ruff format
Bastian-Krause Oct 11, 2024
fb2cfba
examples: run ruff format
Bastian-Krause Oct 11, 2024
d8eac5c
pyproject.toml: enforce ruff format on formatted code
Bastian-Krause Oct 11, 2024
89c13b8
Merge pull request #1523 from Bastian-Krause/bst/ruff
Emantor Oct 21, 2024
7658172
github/workflows: upload test results to codecov
jluebbe Oct 18, 2024
71bfcd2
Merge pull request #1531 from jluebbe/codecov-test
Emantor Oct 21, 2024
70525a3
driver/usbvideodriver: use elif if a sequence of conditions
jluebbe Aug 26, 2024
87cc175
driver/usbvideodriver: add support for LogiLink UA0379 / Microdia camera
jluebbe Aug 26, 2024
1ce0abb
driver/power/gude8031: Fix line ending
SmithChart Oct 30, 2024
df66ce8
driver/power/gude8031: Apply ruff format
SmithChart Oct 30, 2024
af5a3bf
driver/power/gude8031: Add Support for Gude 87-1210-18
SmithChart Oct 30, 2024
57ab45e
Merge pull request #1534 from SmithChart/gude-87
jluebbe Oct 30, 2024
6a5ab20
pyproject.toml: sort ruff includes
Bastian-Krause Oct 30, 2024
d86480c
pyproject.toml: enforce ruff format on more files
Bastian-Krause Oct 30, 2024
47fdd37
Merge pull request #1535 from Bastian-Krause/bst/ruff2
jluebbe Oct 30, 2024
12179e7
driver/rawnetworkinterfacedriver: add interface up/down/wait_state
Bastian-Krause Jul 5, 2024
f63dde9
driver/rawnetworkinterfacedriver: ethtool get/change settings
Bastian-Krause Oct 15, 2024
63b38ce
driver/rawnetworkinterfacedriver: ethtool get/change EEE settings
Bastian-Krause Oct 10, 2024
a93f147
driver/rawnetworkinterfacedriver: ethtool get/change pause settings
Bastian-Krause Oct 10, 2024
0304ec6
Merge pull request #1525 from Bastian-Krause/bst/rawnet-conf
jluebbe Nov 1, 2024
d6c5973
driver/sigrokdriver: add channel-group parameter
nlabriet Oct 30, 2024
19ff3d8
doc/configuration: fix dead wiki.tizen.org links by using archive.org's
QSchulz Nov 13, 2024
0f7f4ca
Merge pull request #1543 from QSchulz/dev/dead-link
Emantor Nov 14, 2024
5449331
util/agents/network_interface: run ruff format
Bastian-Krause Nov 19, 2024
7f8381b
util/agents/network_interface: handle wifis without SSID
Bastian-Krause Nov 14, 2024
49f636a
Merge pull request #1545 from Bastian-Krause/bst/agent-network-hidden…
Bastian-Krause Nov 19, 2024
b90ac44
Merge pull request #1486 from jluebbe/logilink-ua0379
jluebbe Nov 19, 2024
3d53eb8
remote/coordinator: fix typo
jluebbe Nov 21, 2024
a919c66
Merge pull request #1550 from jluebbe/fix-typo
Emantor Nov 22, 2024
9efe842
remote/coordinator: add names for asyncio tasks
jluebbe Nov 21, 2024
a718045
Merge pull request #1551 from jluebbe/coordinator-task-names
Emantor Dec 2, 2024
68e6fa3
add USBHub resource and export
jluebbe Nov 21, 2024
9923f40
Merge pull request #1548 from jluebbe/usbhub-resource
Emantor Dec 2, 2024
d4d8370
Merge pull request #1536 from nlabriet/sigrok_groups
Emantor Dec 2, 2024
71e3604
driver: digitalloggers_restapi: enable REST API
moto-timo Sep 30, 2024
b67bfc1
Merge pull request #1512 from moto-timo/digitalloggers_restapi
Emantor Dec 2, 2024
6980c6f
labgrid/driver/power: Backend for Ubiquity mFi mPower
enkiusz Nov 6, 2024
d98677c
Merge pull request #1538 from enkiusz/mfi-mpower
Emantor Dec 4, 2024
95a8a91
docker: fix nw_service not available error
atline Dec 9, 2024
72647bc
add docker pull policy
b2vn Oct 28, 2024
2a703fa
driver/sshdriver: read from tools
alextercete Dec 3, 2024
e821d5a
Merge pull request #1556 from atline/fix_docker
Emantor Jan 6, 2025
587a872
Merge pull request #1533 from b2vn/local-docker
Emantor Jan 6, 2025
c0becf3
qemudriver: make extra_args key in YAML optional
a3f Aug 22, 2024
ac097c1
qemudriver: record QEMU stderr in exception message
a3f Aug 22, 2024
5b3ccd0
labgrid/resource/remote: add missing sigrok channel_group parameter
pslldq Jan 7, 2025
bd60c1c
qemudriver: add a qemu-default display option
a3f Jan 3, 2025
3818269
Merge pull request #1560 from a3f/qemu-enchancements
Emantor Jan 7, 2025
74ab69e
remote/exporter: apply ruff format fixes
Bastian-Krause Jan 10, 2025
4c78974
Merge pull request #1563 from Bastian-Krause/bst/ruff-2025
Emantor Jan 10, 2025
13a0e36
readthedocs: set explicit sphinx configuration
Bastian-Krause Jan 14, 2025
040bf0a
readthedocs: use latest ubuntu/python versions
Bastian-Krause Jan 14, 2025
fff35ee
Merge pull request #1565 from Bastian-Krause/bst/rtd-2024
Emantor Jan 14, 2025
a1b12f7
remote/coordinator: check state of acquried and released resources
jluebbe Nov 22, 2024
8cb8ecd
remote/coordinator: show error reason for failed exporter commands
jluebbe Jan 15, 2025
289599d
remote: add support for pystuck
jluebbe Nov 20, 2024
7b4736f
remote/exporter: fix info message for version
Emantor Jan 15, 2025
89bc444
remote/coordinator: warn for replies to commands that have already ex…
jluebbe Jan 15, 2025
396af5d
remote/exporter: guard against repeated resource requests
Emantor Jan 15, 2025
1eb7127
Merge pull request #1573 from jluebbe/fix-version-message
jluebbe Jan 22, 2025
acbefcc
Merge pull request #1572 from jluebbe/add-pystuck
jluebbe Jan 22, 2025
fc33503
Merge pull request #1574 from jluebbe/improve-grpc-robustness
Bastian-Krause Jan 22, 2025
803f01a
remote/exporter: poll resource on add
Emantor Jan 15, 2025
c0ad3b5
remote/coordinator: add warnings for slow actions
jluebbe Nov 22, 2024
e7d1240
remote/coordinator: move yaml generation off the main loop
jluebbe Nov 22, 2024
6975f2c
remote/coordinator: handle polling tasks separately
jluebbe Jan 15, 2025
aea1add
remote/coordinator: reduce log level for some slow task warnings
jluebbe Jan 15, 2025
4f6a805
Merge pull request #1579 from jluebbe/avoid-loop-blocking
jluebbe Jan 24, 2025
f81f479
Merge pull request #1578 from jluebbe/poll-on-add
Bastian-Krause Jan 24, 2025
39df97e
man: drop date
Bastian-Krause Jan 31, 2025
3a4b0f6
man: extend copyright period to 2025
Bastian-Krause Jan 31, 2025
fa53aa8
doc: extend copyright period to 2025
Bastian-Krause Jan 31, 2025
45c1950
debian: extend copyright period to 2025
Bastian-Krause Jan 31, 2025
f484eb3
CHANGES/debian: name next release 25.0
Bastian-Krause Jan 31, 2025
c609d2d
Merge pull request #1590 from Bastian-Krause/bst/copyright-2025
Emantor Jan 31, 2025
aa6b215
remote: tag value validation in labgrid-client
idan-arm Feb 2, 2025
7ee5d2f
Merge pull request #1591 from idan-arm/remote-tag-value-validation
Emantor Feb 4, 2025
28cab27
remote/coordinator: fail acquire for orphaned
Emantor Jan 15, 2025
109ef0d
remote/coordinator: refactor handling of orphaned resources
jluebbe Jan 15, 2025
a8b6ab3
Merge pull request #1580 from jluebbe/refactor-orphaned-resources
Emantor Feb 4, 2025
1f0bbe3
driver/networkinterfacedriver: add wait_state()'s expected arg to step
Bastian-Krause Jan 31, 2025
d6ebde1
dockerfiles/build.sh: fix buildx detection
Bastian-Krause Feb 4, 2025
2ba7e8f
Merge pull request #1595 from Bastian-Krause/bst/networkiface-wait-st…
Bastian-Krause Feb 4, 2025
a334761
remote/client: add hint for the labgrid-client allow command
pslldq Feb 4, 2025
56a9bf2
Merge pull request #1597 from Bastian-Krause/bst/docker-buildx-fix
Emantor Feb 4, 2025
fcd2698
Merge pull request #1562 from pslldq/fixsigrok
Bastian-Krause Feb 4, 2025
de5257d
Merge pull request #1596 from pslldq/allowhint
Emantor Feb 4, 2025
9636068
Merge pull request #1558 from ARM-software/ssh-driver-tools
Emantor Feb 6, 2025
2dc889c
remote/client: suppress gRPC error message on shutdown
jluebbe Feb 12, 2025
e8aadae
Merge pull request #1605 from jluebbe/suppress-grpc-error-message
Bastian-Krause Feb 12, 2025
266fdde
remote: client: fix empty sys.excepthook error work around
Bastian-Krause Feb 13, 2025
02fa1ef
Merge pull request #1607 from Bastian-Krause/bst/excepthook
Emantor Feb 13, 2025
83255b2
driver: bareboxdriver: add boot_expression
jremmet May 30, 2023
4b9a7a2
driver: ubootdriver: check for the boot_expression
jremmet May 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .crossbar/.gitignore

This file was deleted.

45 changes: 0 additions & 45 deletions .crossbar/config-anonymous.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-22.04
continue-on-error: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install python dependencies
Expand Down
54 changes: 28 additions & 26 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,44 @@ on:
branches: [ master ]
tags:
- '*'
release:
types: [ released ]
workflow_dispatch:

env:
QEMU_PLATFORMS: arm64
IMAGE_PLATFORMS: linux/amd64,linux/arm64
IMAGE_PREFIX: ${{ secrets.DOCKERHUB_PREFIX }}

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt install -yq python3-pip
python3 -m pip install setuptools_scm
sudo apt install -yq python3-pip python3-setuptools-scm
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${QEMU_PLATFORMS}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
- name: Build amd64 docker image and validate
run: |
./dockerfiles/build.sh
docker-compose -f dockerfiles/staging/docker-compose.yml up --exit-code-from client client
docker-compose -f dockerfiles/staging/docker-compose.yml down
./dockerfiles/build.sh --load
docker compose -f dockerfiles/staging/docker-compose.yml up --exit-code-from client client
docker compose -f dockerfiles/staging/docker-compose.yml down
docker images
- name: Tag latest images
run: |
docker tag labgrid-client ${{ secrets.DOCKERHUB_PREFIX }}client
docker tag labgrid-exporter ${{ secrets.DOCKERHUB_PREFIX }}exporter
docker tag labgrid-coordinator ${{ secrets.DOCKERHUB_PREFIX }}coordinator
- name: Tag release image
- name: Build, tag and push latest image for all platforms
run: ./dockerfiles/build.sh --platform ${IMAGE_PLATFORMS} --push
- name: Tag and push release image for all platforms
if: startsWith(github.ref, 'refs/tags')
run: |
docker tag labgrid-client ${{ secrets.DOCKERHUB_PREFIX }}client:${GITHUB_REF_NAME}
docker tag labgrid-exporter ${{ secrets.DOCKERHUB_PREFIX }}exporter:${GITHUB_REF_NAME}
docker tag labgrid-coordinator ${{ secrets.DOCKERHUB_PREFIX }}coordinator:${GITHUB_REF_NAME}
- name: Push to dockerhub
run: |
docker push --all-tags ${{ secrets.DOCKERHUB_PREFIX }}client
docker push --all-tags ${{ secrets.DOCKERHUB_PREFIX }}exporter
docker push --all-tags ${{ secrets.DOCKERHUB_PREFIX }}coordinator
- name: Show images again
run: docker images
env:
IMAGE_TAG: ${{ github.ref_name }}
run: ./dockerfiles/build.sh --platform ${IMAGE_PLATFORMS} --push
4 changes: 3 additions & 1 deletion .github/workflows/push-pr-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
uses: ./.github/workflows/reusable-unit-tests.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
python-version: ${{ matrix.python-version }}
push-pr-unit-tests-docker:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/reusable-unit-tests-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,19 @@ on:

jobs:
docker:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: Install system dependencies
run: |
sudo apt install -yq python3-pip
python3 -m pip install setuptools_scm
sudo apt install -yq python3-pip python3-setuptools-scm
- name: Build docker images
run: |
./dockerfiles/build.sh
docker-compose -f dockerfiles/staging/docker-compose.yml up --exit-code-from client client || (docker-compose -f dockerfiles/staging/docker-compose.yml logs --timestamps && false)
docker-compose -f dockerfiles/staging/docker-compose.yml down
docker compose -f dockerfiles/staging/docker-compose.yml up --exit-code-from client client || (docker compose -f dockerfiles/staging/docker-compose.yml logs --timestamps && false)
docker compose -f dockerfiles/staging/docker-compose.yml down
- name: Show docker images
run: |
docker images
34 changes: 23 additions & 11 deletions .github/workflows/reusable-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,31 @@ on:
branch:
type: string
required: false
secrets:
CODECOV_TOKEN:
required: false

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
continue-on-error: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install system dependencies
run: |
sudo apt-get install -yq libow-dev openssh-server openssh-client libsnappy-dev ncurses-term graphviz openocd
sudo apt-get install -yq libow-dev openssh-server openssh-client graphviz openocd
sudo mkdir -p /var/cache/labgrid/runner && sudo chown runner /var/cache/labgrid/runner
- name: Prepare local SSH
run: |
Expand All @@ -46,17 +49,27 @@ jobs:
- name: Install labgrid
run: |
pip install -e ".[dev]"
- name: Install crossbar in virtualenv
run: |
virtualenv -p python3 crossbar-venv
crossbar-venv/bin/pip install -r crossbar-requirements.txt
- name: Lint with pylint
run: |
pylint --list-msgs-enabled
pylint labgrid
- name: Format with ruff
run: |
ruff format --check --diff
- name: Test with pytest
run: |
TERM=xterm pytest --cov-config .coveragerc --cov=labgrid --local-sshmanager --ssh-username runner --crossbar-venv crossbar-venv -k "not test_docker_with_daemon"
pytest -r a --cov-config .coveragerc --cov=labgrid --junitxml=junit.xml -o junit_family=legacy --local-sshmanager --ssh-username runner -k "not test_docker_with_daemon"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ inputs.python-version }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ inputs.python-version }}
- name: Build documentation
run: |
make -C doc clean
Expand All @@ -68,4 +81,3 @@ jobs:
# check README.rst separately
pip install rstcheck
rstcheck --ignore-languages=bash --report-level=WARNING README.rst
- uses: codecov/codecov-action@v3
4 changes: 3 additions & 1 deletion .github/workflows/scheduled-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
branch: ['master']
uses: ./.github/workflows/reusable-unit-tests.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
python-version: ${{ matrix.python-version }}
branch: ${{ matrix.branch }}
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/dist
/.pytest_cache/
/htmlcov/
/dockerfiles/staging/crossbar/*
!/dockerfiles/staging/crossbar/places_example.yaml
/labgrid/_version.py
/dockerfiles/staging/coordinator/*
!/dockerfiles/staging/coordinator/places_example.yaml
/.idea
7 changes: 5 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2

sphinx:
configuration: doc/conf.py

python:
install:
- method: pip
Expand All @@ -8,6 +11,6 @@ python:
- doc

build:
os: "ubuntu-22.04"
os: "ubuntu-24.04"
tools:
python: "3.11"
python: "3.13"
Loading