You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.rst
+75-4Lines changed: 75 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,44 @@ New Features in 24.0
10
10
- A new log level called ``CONSOLE`` has been added between the default
11
11
``INFO`` and ``DEBUG`` levels. This level will show all reads and writes made
12
12
to the serial console during testing.
13
-
- The `QEMUDriver` now has an additional ``disk_opts`` property which can be
13
+
- The docker support was extended to support buildx, allowing the build of arm64
14
+
container images.
15
+
- The tool lookup function has been extended to return the original name in case
16
+
the path can't be found. This makes specification of the qemu binary easier to
17
+
use.
18
+
- The ``bindings`` base class has been extended, allowing the user to retrieve
19
+
all resources used by a driver.
20
+
- Support for STLink V2 was added.
21
+
- ``UBootStrategy`` was extended with a ``force()`` function.
22
+
- labgrid was switched from pysnmp to pysnmp-lexstudio.
23
+
- Support for Segger J-Link was added.
24
+
- Place tags are now exposed by the RemotePlace.
25
+
- The sync-places contrib script has gained support for named matches.
26
+
- Remote support for YKush Devices was added.
27
+
- Support for sigrok DMMs was added.
28
+
- Support for Digital Outputs switched via HTTP was added.
29
+
- The ``QEMUDriver`` has a new get_qemu_base_args() function which can be used to
30
+
extract the arguments passed to qemu.
31
+
- The ``SSHDriver`` has gained support to forward unix sockets.
32
+
- The exporter has gained an ``--fqdn`` argument to set the hostname to the
33
+
fully qualified domain name instead of the hostname.
34
+
- The ``QEMUDriver`` now has an additional ``disk_opts`` property which can be
14
35
used to pass additional options for the disk directly to QEMU
36
+
- All drivers now inherit a logger from the ``Driver`` base class and many
37
+
drivers were changed to use this logger.
38
+
- The new ``poe_mib`` backend allows switching of power over Ethernet-capable
39
+
ports on switches that use the corresponding SNMP MIB.
40
+
- The ``RawNetworkInterfaceDriver`` allows the replay and recording of network
41
+
packets on ethernet interfaces.
42
+
- The i.MX93 usb loader USB ID has been added to the ``IMXUSBLoader`` resource.
43
+
- Support for udev matched GPIOs has been added.
15
44
- labgrid-client now has a ``write-files`` subcommand to copy files onto mass
16
45
storage devices.
46
+
- The ``NetworkPowerPort`` supports a new backend ``ubus``. It controls PoE
47
+
switches running OpenWrt using the ubus interface.
48
+
- The pyproject.toml gained a config for `ruff <https://github.com/astral-sh/ruff>`_.
49
+
- ``setuptools_scm`` is now used to generate a version file.
50
+
17
51
18
52
Bug fixes in 24.0
19
53
~~~~~~~~~~~~~~~~~
@@ -22,19 +56,55 @@ Bug fixes in 24.0
22
56
of pip.
23
57
- Several tests have gained an importorskip() call to skip them if the
24
58
module is not available.
59
+
- labgrid now uses its own pyserial fork from pypi since installation from
60
+
github as an egg is no longer properly supported.
25
61
- The build-and-release workflow supports building wheels.
26
-
- The markers now are restricted to patterns which won't match WARN,
27
-
ERROR, INFO and similar log notifiers.
28
62
- Fix named SSH lookups in conjunction with an environment file in
29
63
labgrid-client.
64
+
- The crossbar virtual-environment now needs to be separate from the labgrid
65
+
environment, for more information please consult the `current documentation <https://labgrid.readthedocs.io/en/latest/getting_started.html#coordinator>`_.
66
+
- The markers now are restricted to patterns which won't match WARN,
67
+
ERROR, INFO and similar log notifiers.
68
+
- A race inside the ``SSHDriver`` cleanup has been fixed.
69
+
- The ``labgrid-client monitor`` command now outputs the full resource identifier.
70
+
- Many of the USB loader commands e.g. imx-usb-loader will now print to the
71
+
console when logging is not enabled.
72
+
- An ``UnboundLocalError`` inside the atomic_replace code which is used inside the
73
+
coordinator was fixed.
74
+
- Resources of different classes can now have the same name.
75
+
- A bug within the pytest logging setup was fixed.
76
+
- The ``QemuDriver`` correctly handles the different command lines for virgl
77
+
enablement.
78
+
- A bug was fixed where resource names were ignored during lookup of the correct
79
+
power driver.
80
+
- ManagedFile was fixed to work with the stat command on Darwin.
81
+
- Instead of using a private member on the pytest config, the labgrid plugin now
82
+
uses the pytest config stash.
83
+
- The ``ShellDriver`` was fixed to set the correct status attribute.
84
+
- The USBNetworkInterface now warns if the interface name is set, as it will be
85
+
overwritten by the ResourceManager to assign the correct interface name.
30
86
- Fix sftp option issue in SSH driver that caused sftp to only work once per
31
87
test run.
32
88
- ManagedFile NFS detection heuristic now does symlink resolution on the
33
89
local host.
34
-
- The password for the ShellDriver can now be an empty string.
90
+
- XModem support within the Shelldriver was fixed by removing the newline from
91
+
the marker.
92
+
- A typo in the ``NFSProviderDriver`` class was fixed. Documentation was already
93
+
correct, however the classname contained an additional P.
94
+
- The ``--loop`` argument for labgrid-client console was fixed.
95
+
- The password for the ``ShellDriver`` can now be an empty string.
96
+
- The default crossbar configuration now enables auto-fragmentation to handle
97
+
bigger labs where the payload size can be bigger than 1 megabyte.
98
+
- The ``SSHDriver`` redirects ``/dev/null`` to stdin of commands run via SSH.
99
+
This prevents unexpected input, especially when using the
100
+
``ManualPowerDriver`` or a REPL.
101
+
- The ``ser2net`` version check for YAML configurations in the exporter was
102
+
fixed.
103
+
- The exporter forces ``ser2net`` TCP connections for versions >=4.2.0.
35
104
36
105
Breaking changes in 24.0
37
106
~~~~~~~~~~~~~~~~~~~~~~~~
107
+
- Support for Python 3.7 was dropped.
38
108
- Support for the legacy ticket authentication was dropped: If the coordinator
39
109
logs ModuleNotFoundError on startup, switch the crossbar config to anonymous
40
110
authentication (see ``.crossbar/config-anonymous.yaml`` for an example).
@@ -82,6 +152,7 @@ Breaking changes in 24.0
82
152
83
153
Known issues in 24.0
84
154
~~~~~~~~~~~~~~~~~~~~
155
+
- Some client commands return 0 even if the command failed.
0 commit comments