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
In debian checkbox, the checkbox-ng service will be start when network.targer is triggerred.
It will run the check before the gnome session is ready.
We should run the check after the user space service/ target is run and finish with status.
We can add the systemd-analysis until this cmd have the ourput, then we can run the check.
checkbox will resume the session at the Dec 03 00:11:04.
Dec 03 00:11:04 ubuntu systemd[1]: Started Checkbox Remote Service.
Dec 03 00:11:04 ubuntu sudo[1119]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/true
Dec 03 00:11:04 ubuntu sudo[1119]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Dec 03 00:11:04 ubuntu sudo[1119]: pam_unix(sudo:session): session closed for user root
Dec 03 00:11:04 ubuntu sudo[1131]: root : PWD=/ ; USER=root ; COMMAND=/usr/bin/true
Dec 03 00:11:04 ubuntu sudo[1131]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Dec 03 00:11:04 ubuntu sudo[1131]: pam_unix(sudo:session): session closed for user root
Dec 03 00:11:04 ubuntu checkbox-ng.service[913]: Config: daemon section name is deprecated. Use agent instead.
Dec 03 00:11:04 ubuntu checkbox-ng.service[913]: Resuming session: 'session_title-2024-12-02T07.07.50'
Dec 03 00:11:04 ubuntu checkbox-ng.service[913]: Skipped file: /usr/share/checkbox-provider-base/units/camera/README.rst
Dec 03 00:11:05 ubuntu checkbox-ng.service[913]: Skipped file: /usr/share/locale/aa/LC_MESSAGES/xdg-user-dirs.mo
Dec 03 00:11:05 ubuntu checkbox-ng.service[913]: Skipped file: /usr/share/locale/ab/LC_MESSAGES/iso_3166-1.mo
DISPLAY varialbe will be set at Dec 03 00:11:13
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2088]: dbus-update-activation-environment: setting DISPLAY=:0
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2088]: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1001/gdm/Xauthority
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2092]: /etc/X11/Xsession.d/30x11-common_xresources: line 16: has_option: command not found
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2095]: localuser:ubuntu being added to access control list
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2104]: /etc/X11/Xsession.d/75dbus_dbus-launch: line 9: has_option: command not found
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2106]: dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
Dec 03 00:11:13 ubuntu ModemManager[1010]: <info> [device /sys/devices/pci0000:00/0000:00:02.3/0000:02:00.0] creating modem with plugin 'generic' and '3' po>
Dec 03 00:11:13 ubuntu kernel: mtk_t7xx 0000:02:00.0: Packet drop on channel 0x1004, port not found
Dec 03 00:11:13 ubuntu kernel: mtk_t7xx 0000:02:00.0: Packet drop on channel 0x1012, port not found
Dec 03 00:11:13 ubuntu ModemManager[1010]: <info> [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:02.3/0000:02:00.0' successfully created
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2114]: dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2116]: /etc/X11/Xsession.d/90x11-common_ssh-agent: line 9: has_option: command not found
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting SHELL=/bin/bash
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting SESSION_MANAGER=local/ubuntu:@/tmp/.ICE-unix/1182,unix/u>
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting SSH_AGENT_LAUNCHER=gnome-keyring
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_MENU_PREFIX=gnome-
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting GNOME_DESKTOP_SESSION_ID=this-is-deprecated
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting SSH_AUTH_SOCK=
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting DESKTOP_SESSION=ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting PWD=/home/ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting LOGNAME=ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1001/gnupg/S.gpg-agent:0:1
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting SYSTEMD_EXEC_PID=1182
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XAUTHORITY=/run/user/1001/gdm/Xauthority
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting IM_CONFIG_CHECK_ENV=1
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting WINDOWPATH=2
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting HOME=/home/ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting USERNAME=ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting LANG=en_US.UTF-8
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=ubuntu:GNOME
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting USER=ubuntu
Dec 03 00:11:13 ubuntu /usr/libexec/gdm-x-session[2121]: dbus-update-activation-environment: setting DISPLAY=:0
checkbox-cli run com.canonical.certification::stress-warmboot-coldboot-automated
Expected Result
The reboot check script should wait the system ready (all system service /target is run and finish with the return status).
Actual Result
The reboot check script didn't wait the system ready (all system service /target is run and finish with the return status).
It will easy cause the race condition.
Environment
Checkbox debian 4.2.0.dev160
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Bug Description
In debian checkbox, the checkbox-ng service will be start when network.targer is triggerred.
It will run the check before the gnome session is ready.
We should run the check after the user space service/ target is run and finish with status.
We can add the
systemd-analysis
until this cmd have the ourput, then we can run the check.checkbox will resume the session at the Dec 03 00:11:04.
DISPLAY varialbe will be set at Dec 03 00:11:13
It is the timmining issue.
Please check the attachment for the detail.
journal.log
Cert-blocker Test Case
To Reproduce
Expected Result
The reboot check script should wait the system ready (all system service /target is run and finish with the return status).
Actual Result
The reboot check script didn't wait the system ready (all system service /target is run and finish with the return status).
It will easy cause the race condition.
Environment
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: