Bug #12601

Test suite fails to save the Tails Installer debug log in usb_install_helper

Added by intrigeri 2017-05-26 05:03:32 . Updated 2017-05-26 05:03:32 .

Status:
Confirmed
Priority:
Normal
Assignee:
anonym
Category:
Test suite
Target version:
Start date:
2017-05-26
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Installer
Deliverable for:

Description

  Scenario: Installing Tails to a pristine USB drive                  # features/usb_install.feature:30
00:46:46.324892971: calling as root: echo 'hello?'
00:46:46.545160024: call returned: [0, "hello?\n", ""]
00:46:47.278394510: [log] CLICK on L(1023,384)@S(0)[0,0 1024x768]
00:46:47.279064559: calling as root: /sbin/ifconfig eth0 | grep -q 'inet addr'
00:46:47.509672195: call returned: [1, "", "/bin/sh: 1: /sbin/ifconfig: not found\n"]
00:46:47.509868991: calling as root: date -s '@1495744319'
00:46:47.786291423: call returned: [0, "Thu May 25 20:31:59 UTC 2017\n", ""]
    Given I have started Tails from DVD without network and logged in # features/step_definitions/snapshots.rb:172
    And I temporarily create a 4 GiB disk named "install"             # features/step_definitions/common_steps.rb:59
00:46:47.902783574: calling as root: test -b /dev/sda
00:46:48.096852418: call returned: [1, "", ""]
00:46:49.116810236: calling as root: test -b /dev/sda
00:46:49.279468982: call returned: [1, "", ""]
00:46:50.303931814: calling as root: test -b /dev/sda
00:46:50.502357570: call returned: [0, "", ""]
    And I plug USB drive "install"                                    # features/step_definitions/common_steps.rb:65
00:46:50.504618036: calling as root: pidof -x -o '%PPID' gnome-terminal-server
00:46:50.729829202: call returned: [1, "", ""]
00:46:50.799211607: calling as amnesia: xdotool key Super
00:46:51.031008727: call returned: [0, "", ""]
00:46:52.805497898: [log]  TYPE "GNOME Terminal"
00:46:56.510944599: [log] ( Ctrl )  TYPE "#ENTER."
00:46:58.347166039: [log]  TYPE "export DEBUG=1 ; tails-installer-launcher#ENTER."
00:46:58.347584735: executing Python as amnesia: 
    import dogtail.config
    import dogtail.tree
    import dogtail.predicate
    dogtail.config.logDebugToFile = False
    dogtail.config.logDebugToStdOut = False
    dogtail.config.blinkOnActions = True
    dogtail.config.searchShowingOnly = True
    node69 = dogtail.tree.root.application('tails-installer-launcher')
00:47:00.592476454: execution complete
00:47:00.592792029: executing Python as amnesia: node70 = node69.child('Tails Installer', roleName='frame')
00:47:00.647291479: execution complete
00:47:03.647651531: executing Python as amnesia: node71 = node70.button('Install by cloning')
00:47:03.704216727: execution complete
00:47:03.704420323: executing Python as amnesia: node71.click()
00:47:04.757168295: execution complete
00:47:04.757520554: executing Python as amnesia: 
    import dogtail.config
    import dogtail.tree
    import dogtail.predicate
    dogtail.config.logDebugToFile = False
    dogtail.config.logDebugToStdOut = False
    dogtail.config.blinkOnActions = True
    dogtail.config.searchShowingOnly = True
    node72 = dogtail.tree.root.application('tails-installer')
00:47:05.205882158: execution complete
00:47:05.206134542: executing Python as amnesia: node73 = node72.child('Tails Installer', roleName='frame')
00:47:05.262721008: execution complete
00:47:08.263111270: calling as amnesia: xdotool search --name 'Tails Installer' windowactivate --sync
00:47:08.525525111: call returned: [0, "", ""]
00:47:08.544655666: executing Python as amnesia: node74 = node72.child('', roleName='text')
00:47:08.614737650: execution complete
00:47:08.614993850: executing Python as amnesia: print(node74.text)
00:47:08.646087284: execution complete
00:47:08.664679138: executing Python as amnesia: node75 = node72.child('Target Device:', roleName='label')
00:47:08.737641348: execution complete
00:47:08.737936268: executing Python as amnesia: node76 = node75.parent
00:47:08.777749496: execution complete
00:47:08.778036364: executing Python as amnesia: node77 = node76.child('', roleName='combo box', recursive=False)
00:47:08.814549582: execution complete
00:47:08.814788499: executing Python as amnesia: print(node77.name)
00:47:08.854941662: execution complete
00:47:08.855279388: executing Python as amnesia: node78 = node72.button('Install Tails')
00:47:08.931996503: execution complete
00:47:08.932195103: executing Python as amnesia: node78.click()
00:47:09.974537611: execution complete
00:47:09.974770722: executing Python as amnesia: node79 = node72.child('Question', roleName='alert')
00:47:10.079903114: execution complete
00:47:10.080119499: executing Python as amnesia: node80 = node79.button('Yes')
00:47:10.132253693: execution complete
00:47:10.132512448: executing Python as amnesia: node80.click()
00:47:11.169828601: execution complete
00:47:11.170181730: executing Python as amnesia: node81 = node72.child('Information', roleName='alert')
00:47:22.026687320: execution complete
00:47:23.027130851: executing Python as amnesia: node82 = node72.child('Information', roleName='alert')
00:47:34.165363747: execution complete
[…]
01:16:58.841752184: executing Python as amnesia: node232 = node72.child('Information', roleName='alert')
01:17:09.650744097: execution complete
01:17:10.651304653: executing Python as amnesia: node233 = node72.child('Information', roleName='alert')
    And I "Install by cloning" Tails to USB drive "install"           # features/step_definitions/usb.rb:167
      uninitialized constant FindFailed
      Did you mean?  FindAnyFailed (NameError)
      ./features/step_definitions/usb.rb:107:in `rescue in usb_install_helper'
      ./features/step_definitions/usb.rb:98:in `/^I "([^"]*)" Tails to USB drive "([^"]+)"$/'
      features/usb_install.feature:34:in `And I "Install by cloning" Tails to USB drive "install"'

(from https://jenkins.tails.boum.org/job/test_Tails_ISO_bugfix-12560-polish-memory-wiping/1/artifact/build-artifacts/debug.log/*view*/)


Subtasks


History