yaml.scanner.ScannerError: while scanning a simple key in "/var/lib/utah/state.yaml", line 59, column 1 could not found expected ':' in "/var/lib/utah/state.yaml", line 60, column 1

Bug #1210544 reported by Chris Gagnon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Committed
Medium
Andy Doan

Bug Description

reproducible: rare less that 1 in 100

Description:
All test cases in test suite completed successfully but utah returned error:

yaml.scanner.ScannerError: while scanning a simple key in "/var/lib/utah/state.yaml", line 59, column 1 could not found expected ':' in "/var/lib/utah/state.yaml", line 60, column 1

steps:
1. using utah version Installed: 0.14.8ubuntu1~precise1
2. run test cases using saucy

Expected results:
utah returns true when all test cases pass

Actual results:
yaml.scanner.ScannerError causes utah to return false

Revision history for this message
Chris Gagnon (chris.gagnon) wrote :
Download full text (464.1 KiB)

debug log from http://10.97.2.12:8080/job/openarena-benchmark-ps-intel-4000-he/8/
2013-08-09 09:56:43,613 root INFO: UTAH Features:
 PROVISIONED_AUTORUN: False
2013-08-09 09:56:43,613 root INFO: UTAH version: 0.14.8ubuntu1~precise1
2013-08-09 09:56:43,614 root DEBUG: Configuration variables:
{
    "arch": "amd64",
    "boot": null,
    "boottimeout": 600,
    "bridge": "eth0",
    "checktimeout": 180,
    "clean": true,
    "client_install_timeout": 60,
    "consoleloglevel": 30,
    "debug": false,
    "debuglog": "/var/lib/jenkins/ps-slaves/ps-intel-4000-he/workspace/openarena-benchmark-ps-intel-4000-he/gaueko-debug.log",
    "diskbus": "virtio",
    "disksizes": [
        8
    ],
    "dlcommand": "dl-ubuntu-test-iso",
    "dlpercentincrement": 10,
    "dlretries": 10,
    "emulator": null,
    "fileloglevel": 20,
    "group": "utah",
    "hostname": "gaueko",
    "image": null,
    "initrd": null,
    "installpackages": [
        "openssh-server",
        "gdebi"
    ],
    "installtimeout": 9000,
    "installtype": "mini",
    "isodir": "/var/cache/utah/iso",
    "jobtimeout": null,
    "kernel": null,
    "logfile": "/var/lib/jenkins/ps-slaves/ps-intel-4000-he/workspace/openarena-benchmark-ps-intel-4000-he/gaueko.log",
    "logpath": "/var/lib/jenkins/ps-slaves/ps-intel-4000-he/workspace/openarena-benchmark-ps-intel-4000-he",
    "logrotation_backupCount": 10,
    "logrotation_interval": 1,
    "logrotation_when": "W0",
    "machinedir": null,
    "machineid": null,
    "machineinfo": null,
    "machinetype": "virtual",
    "machineuuid": null,
    "macs": [],
    "name": null,
    "new": false,
    "nfscommand": [
        "sudo",
        "service",
        "nfs-kernel-server"
    ],
    "nfsconfigfile": "/etc/exports",
    "nfsiface": "eth0",
    "nfsoptions": "*(ro,async,no_root_squash,no_subtree_check)",
    "outputpreseed": false,
    "packagedir": "/usr/share/utah",
    "powercmd": null,
    "powertimeout": 15,
    "preboot": null,
    "prefix": "utah",
    "preseed": "/etc/utah/default-preseed.cfg",
    "pxedir": "/var/lib/tftpboot/pxelinux.cfg",
    "qemupath": "qemu:///system",
    "retry_timeout": 3,
    "rewrite": "all",
    "runtimeout": null,
    "series": "precise",
    "serieschoices": [
        "lucid",
        "precise",
        "quantal",
        "raring",
        "saucy"
    ],
    "sqlite3_db_connection_timeout": 30,
    "ssh_logfile": "/var/lib/jenkins/ps-slaves/ps-intel-4000-he/workspace/openarena-benchmark-ps-intel-4000-he/gaueko-ssh.log",
    "sshknownhosts": "/var/lib/jenkins/.ssh/known_hosts",
    "sshprivatekey": "/var/lib/jenkins/.ssh/utah",
    "sshpublickey": "/var/lib/jenkins/.ssh/utah.pub",
    "template": null,
    "template_dir": "/usr/share/utah/templates",
    "user": "jenkins",
    "variant": null,
    "vmpath": "/var/lib/jenkins/vm",
    "wwwdir": "/var/www/utah",
    "wwwiface": "virbr0",
    "xml": "/etc/utah/default-vm.xml"
}
2013-08-09 09:56:43,614 iso INFO: Preparing image: /home/chrisgagnon/saucy-desktop-amd64.iso
2013-08-09 09:56:43,618 iso INFO: /home/chrisgagnon/saucy-desktop-amd64.iso is locally available as /home/...

Revision history for this message
Andy Doan (doanac) wrote :

I think this may be related to this bug:

 https://bugs.launchpad.net/utah/+bug/1204489

It would be really handy if we could capture that actual file state.yaml upon a failure to try and see why its broke. I'll see if we can't try and include some debugging around that.

Revision history for this message
Andy Doan (doanac) wrote :
Changed in utah:
assignee: nobody → Andy Doan (doanac)
importance: Undecided → Medium
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.