Skip to content

make-testing-vms-w-snaps-001.py fails in CygwinDownload / package db not found #6

@thesecmaestro

Description

@thesecmaestro

The make-testing-vms-w-snaps-001.py script does never get beyond setting up the windows host. Various issues seem to be related to usage of the cygwin package.

Setup: vmrun version 1.14.0 build-2305329 / vmware workstation version 11.0.0 build-2305329
Host OS: Linux kali 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux

guest OS:

File "/usr/local/lib/python2.7/dist-packages/nrvr/wins/common/cygwin.py", line 234, in forArch
wget = CommandCapture(wgetArgs, forgoPty=True)
File "/usr/local/lib/python2.7/dist-packages/nrvr/process/commandcapture.py", line 265, in init
self.raiseExceptionIfThereIsAReason()
File "/usr/local/lib/python2.7/dist-packages/nrvr/process/commandcapture.py", line 287, in raiseExceptionIfThereIsAReason
raise CommandCaptureException(exceptionMessage)
nrvr.process.commandcapture.CommandCaptureException: command:
wget
arguments:
--quiet
--timestamping
--recursive
--no-host-directories
--cut-dirs
3
--ignore-case
--reject
index.html_,-src.tar.bz2,-devel,-devel-,-debuginfo,-debuginfo-_
-P
/root/Downloads/cygwin-32
--no-parent
--level
1
-e
robots=off
--wait=1
--random-wait
http://mirrors.kernel.org/sourceware/cygwin/x86/release/db/

returncode: 8

Reproducibility: 3/3

http://mirrors.kernel.org/sourceware/cygwin/x86/release/ exists but not with the db sub-directory.
Manually browsing to http://mirrors.kernel.org/sourceware/cygwin/x86/release/db/ shows an error 'Sorry, we cannot find your kernels"

This seemed to be caused by 'db' value as part of packageList variable in cygwin.py (line 216 / 281)

Besides 'db' package, the following packages also have the same problem:
'man', 'libncursesw10', 'libncursesw-devel', 'terminfo', 'X.Org/libICE, X.Org/libSM, X.Org/libXau, X.Org/libxcb, X.Org/libXdmcp, X.Org/libxt'.

There seem to be other problems as well with cygwin, cause the ssh to the windows guest never completes, not even after reducing the default package list by removing these missing dependencies.
After removing these dependencies, opening cygwin terminal in guest OS fails with missing mintty item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions