No announcement yet.

pts/namd, pts/apache failing on Windows

  • Filter
  • Time
  • Show
Clear All
new posts

  • pts/namd, pts/apache failing on Windows


    Little heads up on 2 tests which are failing for me on Windows.


    This was complaining about a missing dependency.
    cygcheck told me MSVCR100.dll was missing.
    Turns out that the link provided to download the VC++ 2010 runtime is for x86. You might want to update it for x64 as the majority of people will probably be running a 64-bit Windows:

    After that, the test still fails, but with no output, and nothing in the log at all.
    I currently have no idea how to fix that.


    The following command seems to make the script hang indefinitely:
    ./httpd.exe &
    I'm guessing that despite the request to have it run as a background process, either the cygwin process or the bash process refuse to quit if there are still owned background processes running.

    After replacing it with the following line, the test could proceed as expected:
    cygstart --hide ./httpd.exe
    However, the processes were not terminated at the end.
    Instead I got this output:
    : arguments must be process or job IDstest-profiles/pts/apache-1.7.2/ line 2: kill: 1316
    The culprit is the following line in
    kill -TERM `cat $HOME/Apache24/logs/`
    I tried replacing it with the following commands that work when I test them directly in a cygwin prompt:
    /bin/kill --winpid -f -TERM `cat $HOME/Apache24/logs/`
    (it has to be /bin/kill, not just kill, and without -f it still doesn't find the PID)
    But it says "illegal pid", apparently it doesn't have the rights to kill that PID. Could it be because the process was started with "cygstart"?
    taskkill /F /PID `cat $HOME/Apache24/logs/`
    And that doesn't even find taskkill, because somehow the PATH variable only knows /usr/bin.
    If I specify the full path to taskkill, it still fails with "Invalid query"

    So I don't have any suggestion on how kill the process after the test.

  • #2
    I have created GitHub issues for these.
    You may delete this thread.