Skip to content

Icedove "Only the expected addons are installed" scenario fails since "amnesia branding" is not installed

Looks like a regression to me. Could it be because of bugfix/11037-icedove-spellchecker?


  Background:                                                                      # features/icedove.feature:7
calling as root: echo 'hello?'
call returned: [2661, 0, "hello?\n", ""]
[log] CLICK on (1024,384)
calling as root: /sbin/ifconfig eth0 | grep -q 'inet addr'
call returned: [2662, 1, "", ""]
calling as root: date -s '@1478830800'
call returned: [2663, 0, "Fri Nov 11 02:20:00 UTC 2016\n", ""]
    Checkpoint: I have started Tails from DVD and logged in and the network is connected
      Given I have started Tails from DVD without network and logged in
      And the network is plugged
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2664, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2665, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2666, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2667, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2668, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2669, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2670, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2671, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2672, 1, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2673, 3, "", ""]
calling as root: /usr/local/sbin/tor-has-bootstrapped
call returned: [2674, 0, "", ""]
calling as root: test -e /var/run/tordate/done
call returned: [2675, 0, "", ""]
calling as root: test -e /var/run/htpdate/success
call returned: [2676, 1, "", ""]
calling as root: test -e /var/run/htpdate/success
call returned: [2677, 1, "", ""]
calling as root: test -e /var/run/htpdate/success
call returned: [2678, 0, "", ""]
calling as root: systemctl is-system-running
call returned: [2679, 0, "running\n", ""]
      And Tor is ready
[log] CLICK on (1007,762)
[profile] Finder.findAll START
[profile] Finder.findAll END: 65ms
[log] CLICK on (991,697)
[log] CLICK on (990,584)
[log] CLICK on (51,16)
      And all notifications have disappeared
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2680, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2681, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2682, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2683, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2684, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2685, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2686, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2687, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2688, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2689, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2690, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2691, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2692, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2693, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2694, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2695, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2696, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2697, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2698, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2699, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2700, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2701, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2702, 1, "", ""]
calling as root: test -e '/var/run/tails-upgrader/checked_upgrades'
call returned: [2703, 0, "", ""]
      And available upgrades have been checked
    Given I have started Tails from DVD and logged in and the network is connected # features/step_definitions/snapshots.rb:199
calling as root: test -e '/home/amnesia/.icedove/profile.default/prefs.js'
call returned: [2704, 1, "", ""]
    And I have not configured an email account                                     # features/step_definitions/icedove.rb:30
calling as root: echo 'pref("mail.compose.attachment_reminder", false);' >> '/etc/icedove/pref/icedove.js '
call returned: [2705, 0, "", ""]
calling as amnesia: mktemp
call returned: [2706, 0, "/tmp/tmp.iYn4qnim3y\n", ""]
calling as root: rm -f '/tmp/tmp.iYn4qnim3y'
call returned: [2707, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'gnome-shell'"'"')
application.child('"'"'Applications'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.iYn4qnim3y'
call returned: [2708, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.iYn4qnim3y'
call returned: [2709, 0, "", ""]
calling as root: rm -f '/tmp/tmp.iYn4qnim3y'
call returned: [2710, 0, "", ""]
calling as amnesia: mktemp
call returned: [2711, 0, "/tmp/tmp.UiyFJnQHTC\n", ""]
calling as root: rm -f '/tmp/tmp.UiyFJnQHTC'
call returned: [2712, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'gnome-shell'"'"')
application.child('"'"'Internet'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.UiyFJnQHTC'
call returned: [2713, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.UiyFJnQHTC'
call returned: [2714, 0, "", ""]
calling as root: rm -f '/tmp/tmp.UiyFJnQHTC'
call returned: [2715, 0, "", ""]
calling as amnesia: mktemp
call returned: [2716, 0, "/tmp/tmp.mIQ7BJFu0w\n", ""]
calling as root: rm -f '/tmp/tmp.mIQ7BJFu0w'
call returned: [2717, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'gnome-shell'"'"')
application.child('"'"'Icedove'"'"', roleName='"'"'label'"'"').click()' >> '/tmp/tmp.mIQ7BJFu0w'
call returned: [2718, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.mIQ7BJFu0w'
call returned: [2719, 0, "", ""]
calling as root: rm -f '/tmp/tmp.mIQ7BJFu0w'
call returned: [2720, 0, "", ""]
calling as amnesia: mktemp
call returned: [2721, 0, "/tmp/tmp.wZlBoG5xdb\n", ""]
calling as root: rm -f '/tmp/tmp.wZlBoG5xdb'
call returned: [2722, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child(roleName='"'"'frame'"'"')' >> '/tmp/tmp.wZlBoG5xdb'
call returned: [2723, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.wZlBoG5xdb'
call returned: [2724, 1, "", ""]
calling as amnesia: mktemp
call returned: [2725, 0, "/tmp/tmp.J9ctdyO0PC\n", ""]
calling as root: rm -f '/tmp/tmp.J9ctdyO0PC'
call returned: [2726, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child(roleName='"'"'frame'"'"')' >> '/tmp/tmp.J9ctdyO0PC'
call returned: [2727, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.J9ctdyO0PC'
call returned: [2728, 0, "", ""]
calling as root: rm -f '/tmp/tmp.J9ctdyO0PC'
call returned: [2729, 0, "", ""]
    When I start Icedove                                                           # features/step_definitions/icedove.rb:16
calling as amnesia: mktemp
call returned: [2730, 0, "/tmp/tmp.adpAVuEROk\n", ""]
calling as root: rm -f '/tmp/tmp.adpAVuEROk'
call returned: [2731, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child('"'"'Mail Account Setup'"'"', roleName='"'"'frame'"'"')' >> '/tmp/tmp.adpAVuEROk'
call returned: [2732, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.adpAVuEROk'
call returned: [2733, 0, "", ""]
calling as root: rm -f '/tmp/tmp.adpAVuEROk'
call returned: [2734, 0, "", ""]
    Then I am prompted to setup an email account                                   # features/step_definitions/icedove.rb:38

  Scenario: Only the expected addons are installed                                                 # features/icedove.feature:13
calling as amnesia: mktemp
call returned: [2735, 0, "/tmp/tmp.VYhYZDHvo4\n", ""]
calling as root: rm -f '/tmp/tmp.VYhYZDHvo4'
call returned: [2736, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child('"'"'Mail Account Setup'"'"', roleName='"'"'frame'"'"').button('"'"'Cancel'"'"').click()' >> '/tmp/tmp.VYhYZDHvo4'
call returned: [2737, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.VYhYZDHvo4'
call returned: [2738, 0, "", ""]
calling as root: rm -f '/tmp/tmp.VYhYZDHvo4'
call returned: [2739, 0, "", ""]
    Given I cancel setting up an email account                                                     # features/step_definitions/icedove.rb:42
calling as amnesia: mktemp
call returned: [2740, 0, "/tmp/tmp.WTT2KwEdkw\n", ""]
calling as root: rm -f '/tmp/tmp.WTT2KwEdkw'
call returned: [2741, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child(roleName='"'"'frame'"'"').button('"'"'AppMenu'"'"').click()' >> '/tmp/tmp.WTT2KwEdkw'
call returned: [2742, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.WTT2KwEdkw'
call returned: [2743, 0, "", ""]
calling as root: rm -f '/tmp/tmp.WTT2KwEdkw'
call returned: [2744, 0, "", ""]
calling as amnesia: mktemp
call returned: [2745, 0, "/tmp/tmp.5gAupu8Bk2\n", ""]
calling as root: rm -f '/tmp/tmp.5gAupu8Bk2'
call returned: [2746, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child(roleName='"'"'frame'"'"').child('"'"'Add-ons'"'"', roleName='"'"'menu item'"'"').click()' >> '/tmp/tmp.5gAupu8Bk2'
call returned: [2747, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.5gAupu8Bk2'
call returned: [2748, 0, "", ""]
calling as root: rm -f '/tmp/tmp.5gAupu8Bk2'
call returned: [2749, 0, "", ""]
calling as amnesia: mktemp
call returned: [2750, 0, "/tmp/tmp.vOTTIdljQ4\n", ""]
calling as root: rm -f '/tmp/tmp.vOTTIdljQ4'
call returned: [2751, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child('"'"'Add-ons Manager - Icedove Mail/News'"'"', roleName='"'"'frame'"'"')' >> '/tmp/tmp.vOTTIdljQ4'
call returned: [2752, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.vOTTIdljQ4'
call returned: [2753, 0, "", ""]
calling as root: rm -f '/tmp/tmp.vOTTIdljQ4'
call returned: [2754, 0, "", ""]
    When I open Icedove's Add-ons Manager                                                          # features/step_definitions/icedove.rb:46
calling as amnesia: mktemp
call returned: [2755, 0, "/tmp/tmp.4ge9qenAgF\n", ""]
calling as root: rm -f '/tmp/tmp.4ge9qenAgF'
call returned: [2756, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
application.child('"'"'Add-ons Manager - Icedove Mail/News'"'"', roleName='"'"'frame'"'"').child('"'"'Extensions'"'"', roleName='"'"'list item'"'"').click()' >> '/tmp/tmp.4ge9qenAgF'
call returned: [2757, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.4ge9qenAgF'
call returned: [2758, 0, "", ""]
calling as root: rm -f '/tmp/tmp.4ge9qenAgF'
call returned: [2759, 0, "", ""]
    And I click the extensions tab                                                                 # features/step_definitions/icedove.rb:55
calling as amnesia: mktemp
call returned: [2760, 0, "/tmp/tmp.yBp6SRospt\n", ""]
calling as root: rm -f '/tmp/tmp.yBp6SRospt'
call returned: [2761, 0, "", ""]
calling as amnesia: echo '#!/usr/bin/python
from dogtail import tree
from dogtail.config import config
config.logDebugToFile = False
config.logDebugToStdOut = False
config.blinkOnActions = True
config.searchShowingOnly = True
application = tree.root.application('"'"'Icedove'"'"')
from dogtail import predicate
for n in application.child('"'"'Add-ons Manager - Icedove Mail/News'"'"', roleName='"'"'frame'"'"').child('"'"'amnesia branding'"'"', roleName='"'"'label'"'"').parent.parent.findChildren(predicate.GenericPredicate(roleName='"'"'list item'"'"'), recursive=False):
    print(n.path)' >> '/tmp/tmp.yBp6SRospt'
call returned: [2762, 0, "", ""]
calling as amnesia: /usr/bin/python '/tmp/tmp.yBp6SRospt'
call returned: [2763, 1, "", ""]
    Then I see that only the amnesia branding, Enigmail and TorBirdy addons are enabled in Icedove # features/step_definitions/icedove.rb:59
      Command failed: /usr/bin/python '/tmp/tmp.yBp6SRospt'
      error code: 1
      stderr: .
      <false> is not true. (ExecutionFailedInVM)
      ./features/support/helpers/vm_helper.rb:474:in `rescue in execute_successfully'
      ./features/support/helpers/vm_helper.rb:471:in `execute_successfully'
      ./features/support/helpers/dogtail.rb:93:in `run'
      ./features/support/helpers/dogtail.rb:187:in `children'
      ./features/step_definitions/icedove.rb:63:in `/^I see that only the (.+) addons are enabled in Icedove$/'
      features/icedove.feature:17:in `Then I see that only the amnesia branding, Enigmail and TorBirdy addons are enabled in Icedove'
      Scenario failed at time 02:03:57

Feature Branch: test/11911-11960-11906-fixes

Attachments

  • 02_03_57_Only_the_expected_addons_are_installed

Parent Task: #10288

Original created by @intrigeri on 11906 (Redmine)

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