Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D-BUS daemon outputs a lot of warnings in travis tests #171

Open
e-pettersson-ericsson opened this issue Feb 13, 2019 · 0 comments
Open
Labels
help wanted We need extra hands on this. test Issues or pull requests related to testing.

Comments

@e-pettersson-ericsson
Copy link
Member

e-pettersson-ericsson commented Feb 13, 2019

Description

During travis job execution of the functional tests a lot of unneccesary logs/output are produced, when running selenium tests.

Relevant versions used in our functional tests:

  • Selenium version 3.141.0
  • Geckodriver version 0.23.0
  • Firefox browser version 61.0.1

An example of the logs:

`(firefox:6677): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

(firefox:6677): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

(firefox:6677): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(firefox:6677): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(firefox:6677): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(firefox:6677): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(firefox:6677): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

(firefox:6677): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(firefox:6677): GLib-GObject-CRITICAL **: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(firefox:6677): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

(firefox:6677): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Unable to autolaunch a dbus-daemon without a $DISPLAY for X11`

Motivation

Reducing these rows makes it easier to skim through the logs of the functional tests, if something goes wrong. This output does not affect test result but makes it harder to find cause of test errors, if they occur.

Benefits

Cleaner logs during test execution in travis.

Possible Drawbacks

None.

@e-pettersson-ericsson e-pettersson-ericsson added test Issues or pull requests related to testing. help wanted We need extra hands on this. labels Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We need extra hands on this. test Issues or pull requests related to testing.
Projects
None yet
Development

No branches or pull requests

1 participant