[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-commits
Subject:    [Nix-commits] [NixOS/nixpkgs] 56435c: nixos tests: retry: Count down to 0, and pass rema...
From:       Graham Christensen <graham () grahamc ! com>
Date:       2017-06-21 21:26:20
Message-ID: 594ae47c571ac_1d23fae3d9b9c385578e () hookshot-fe1-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]

Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 56435c140413ae43530d03ae1db3c8cdd43d3838
      https://github.com/NixOS/nixpkgs/commit/56435c140413ae43530d03ae1db3c8cdd43d3838
  Author: Graham Christensen <graham@grahamc.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M nixos/lib/test-driver/Machine.pm

  Log Message:
  -----------
  nixos tests: retry: Count down to 0, and pass remaining attempts to the sub

Allows test functions to output diagnostic information on failure.


  Commit: 348785eec0c499dc4f79943cedcd78be279ca41d
      https://github.com/NixOS/nixpkgs/commit/348785eec0c499dc4f79943cedcd78be279ca41d
  Author: Graham Christensen <graham@grahamc.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M nixos/lib/test-driver/Machine.pm

  Log Message:
  -----------
  nixos tests: waitUntilTTYMatches: Log TTY contents on last try

If the test has not passed yet, on the last attempt it now outputs:

    machine: Last chance to match /logine: / on TTY2, which currently contains:
    machine: running command: fold -w$(stty -F /dev/tty2 size | awk '{print $2}') /dev/vcs2
    machine: exit status 0
    machine:

    <<< Welcome to NixOS 17.09.git.a804ef4 (x86_64) - tty2 >>>

    machine login:

to help debug the problem. Notice the "logine" typo in my check.


  Commit: 1b833015b72fa6ccf379c46706d1d645cd216f07
      https://github.com/NixOS/nixpkgs/commit/1b833015b72fa6ccf379c46706d1d645cd216f07
  Author: Graham Christensen <graham@grahamc.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M nixos/lib/test-driver/Machine.pm

  Log Message:
  -----------
  nixos tests: waitForText: output the detected screen content prior to the last attempt

    machine: Last chance to match /(?^:BALICE)/ on the screen, which currently contains:
    machine: performing optical character recognition
    machine: sending monitor command: screendump \
/tmp/nix-build-vm-test-run-sddm.drv-0/ocrin.ppm  machine: Session Layout

    O O

    0 1 : 0 9

    Wednesday, June 21, 2017

    |_ I

    Select your user and enter password


  Commit: 3f40fcabbf692ac08cee390ac9b56650ca075630
      https://github.com/NixOS/nixpkgs/commit/3f40fcabbf692ac08cee390ac9b56650ca075630
  Author: Graham Christensen <graham@grahamc.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M nixos/lib/test-driver/Machine.pm

  Log Message:
  -----------
  nixos tests: waitForWindow: output a list of windows we see prior to the final check

    machine: must succeed: xwininfo -root -tree | sed 's/.*0x[0-9a-f]* \"\([^\"]*\)\".*/\1/; t; \
d'  machine: exit status 0
    machine: Last chance to match /(?^:dfiirst configuration)/ on the the window list, which \
currently contains:  machine: [i3 con] container around 0xf8a5f0, i3: first configuration, [i3 \
con] floatingcon around 0xf8c260, [i3 con] container around 0xf8a380, i3bar for output \
Virtual-1, [i3 con] bottom dockarea Virtual-1, [i3 con] workspace 1, [i3 con] content \
Virtual-1, [i3 con] top dockarea Virtual-1, [i3 con] output Virtual-1, [i3 con] workspace \
__i3_scratch, [i3 con] content __i3, [i3 con] pseudo-output __i3, i3


  Commit: dd265313e7b178b42ba29ed99e3ae009f413414d
      https://github.com/NixOS/nixpkgs/commit/dd265313e7b178b42ba29ed99e3ae009f413414d
  Author: Graham Christensen <graham@grahamc.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M nixos/lib/test-driver/Machine.pm

  Log Message:
  -----------
  Merge pull request #26736 from grahamc/improve-nixos-test-debug

Improve nixos test debug


Compare: https://github.com/NixOS/nixpkgs/compare/bc47794ab580...dd265313e7b1



_______________________________________________
nix-commits mailing list
nix-commits@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic