Skip to content

Test suite regression in 3.14: Scenario: I am notified when Additional Software fails to install a package

Spotted in Jenkins but also reproduced locally with features/additional_software_packages.feature:

    Then I see the "The installation of your additional software failed" notification after at most 300 seconds # features/step_definitions/common_steps.rb:357
      try_for() timeout expired (Timeout::Error)
      ./features/support/helpers/misc_helpers.rb:90:in `rescue in try_for'
      ./features/support/helpers/misc_helpers.rb:36:in `try_for'
      ./features/step_definitions/common_steps.rb:363:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
      features/additional_software_packages.feature:123:in `Then I see the "The installation of your additional software failed" notification after at most 300 seconds'
    And I can open the Additional Software log file from the notification                                       # features/step_definitions/additional_software_packages.rb:137
    And the package "cowsay" is not installed                                                                   # features/step_definitions/common_steps.rb:591
00:39:56.740644289: calling as root: echo 'hello?'
00:39:56.961367348: call returned: [0, "hello?\n", ""]
00:39:56.961670528: calling as root: journalctl -a --no-pager > /tmp/systemd.journal
00:39:57.105344995: call returned: [0, "", ""]
00:39:57.105508352: opening file /tmp/systemd.journal in 'read' mode
00:40:01.766670767: read complete
      Scenario failed at time 00:39:56

[…]      

Failing Scenarios:
cucumber features/additional_software_packages.feature:114 # Scenario: I am notified when Additional Software fails to install a package

6 scenarios (1 failed, 5 passed)
79 steps (1 failed, 2 skipped, 76 passed)

Looking at the video, it seems that the notification does appear, before the whole screen flashes to black and gets back without the notification.

See the three attached screenshots for reference.

Attachments

  • as1
  • as2
  • as3

Related issues

Original created by @CyrilBrulebois on 16736 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information