History log of /openbmc/openbmc-build-scripts/scripts/dbus-unit-test.py (Results 1 – 6 of 6)
Revision Date Author Comments
# e08ffba8 05-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

python: fix flake8 warnings and format with black

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic54f4a3ecf328b0d2c65af5cfd9eb2048d671ad5


# 3c2e747b 18-Nov-2022 Andrew Geissler <geissonator@yahoo.com>

dbus-unit-test.py: utilize tempfile.TemporaryDirectory()

This ensures the files within it and the directory is cleaned up once
the python script ends. Currently this script does not remove the
tempo

dbus-unit-test.py: utilize tempfile.TemporaryDirectory()

This ensures the files within it and the directory is cleaned up once
the python script ends. Currently this script does not remove the
temporary directory.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I1e7c629dcbcf1e4341b14b9c550589b69ff12b2e

show more ...


# 903ebb22 17-Nov-2022 Andrew Geissler <geissonator@yahoo.com>

dbus-unit-test.py: use /tmp for temporary files

Recently saw this fail starting to pop up via internal CI:
dbus-daemon[7]: Failed to start message bus: Socket name too long

The issue appears to b

dbus-unit-test.py: use /tmp for temporary files

Recently saw this fail starting to pop up via internal CI:
dbus-daemon[7]: Failed to start message bus: Socket name too long

The issue appears to be that the jenkins workspace, and the
corresponding socket file passed to the dbus-daemon, is too long.

As this is all running within its own docker container, just use /tmp/
as a base for the temporary files and corresponding socket file.

Tested:
- Verified failing jenkins CI job now passes

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I5ef5b2f21c9780001b5ec38921ce3b20f1610e2d

show more ...


# 8439ac5b 20-May-2020 Andrew Geissler <geissonator@yahoo.com>

python3: convert dbus-unit-test.py

The latest Ubuntu release (focal) no longer installs a default "python"
in the filesystem. The only issue found converting this script over to
python3 was that spl

python3: convert dbus-unit-test.py

The latest Ubuntu release (focal) no longer installs a default "python"
in the filesystem. The only issue found converting this script over to
python3 was that splitlines() now returns a bytes string. os.environ did
not like that so explicitly convert the byte string to a normal string.

Change-Id: I05f4c8a8090074c71c9afd156f5963b6f6668884
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 5f81180f 25-Oct-2017 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: I75e60

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: I75e60b1ccb683cb34118bfffc327ec7fc8573e06
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# 13ca3802 07-Mar-2017 Leonel Gonzalez <lgonzalez@us.ibm.com>

Launch dbus session for docker unit tests

Fix for openbmc/openbmc#1137

Change-Id: I9e8a41820c6b85bff3625af4ab7b488a66b39c65
Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>