Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Sysinst behavior change? (amd64)



On Mon, 8 Aug 2011, Andreas Gustafsson wrote:

Paul Goyette wrote:
Yes, it got a # prompt, and entered a "halt" command, instead of
"reboot".

That's how anita has always worked; it has never issued a "reboot"
command.  Any subsequent operations such as running the ATF tests
are done in a freshly started qemu VM, not by rebooting the VM used
for installation.

I can get a cut-and-paste of it later (I am at work now), but what it
did was

        # halt
        system halted

Is this the exact message printed?  If so, it explains the hang,
because anita expects to see a response of "halted by root", not
"system halted".

I just ran it again, manually.  Here is the bottom of the window:

               | e: Utility menu                               |
               |>x: Exit Install System                        |
               +-----------------------------------------------+

# halt
halt
halted by root


Cursor just sits under the 'h' in 'halted' and waits for qemu's expect to timeout.


This was invoked with

anita --workdir ./work/ --qemu-args "-m 128" --disk-size 1024M test /build/netbsd-local/release/amd64/


So, it doesn't seem to be able to create the "freshly started qemu VM"



--
Andreas Gustafsson, gson%gson.org@localhost

!DSPAM:4e4018572353160315622!




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index