Skip to content

node-test-binary-windows-native-suites broken on test-azure_msft-win10_vs2019-x64-2 #3174

Closed

Description

@targos

Activity

  1. targos commented on Feb 4, 2023

    @targos
    MemberAuthor

    I always struggle to understand what makes a Windows job actually fail.

    Example job: https://ci.nodejs.org/job/node-test-binary-windows-native-suites/nodes=win10-vs2019-COMPILED_BY-vs2019/16544/console

  2. targos commented on Feb 4, 2023

    @targos
    MemberAuthor

    @nodejs/platform-windows

  3. anonrig commented on Feb 4, 2023

    @anonrig
    Member

    This issue blocks nodejs/node#46410. (cc @lemire)

  4. richardlau commented on Feb 6, 2023

    @richardlau
    Member

    I always struggle to understand what makes a Windows job actually fail.

    Example job: https://ci.nodejs.org/job/node-test-binary-windows-native-suites/nodes=win10-vs2019-COMPILED_BY-vs2019/16544/console

    Relevant bits from the job log:

    23:03:43 > taskkill /t /f /fi "IMAGENAME eq node.exe" 
    23:03:43 ERROR: The process with PID 8712 (child process of PID 7420) could not be terminated.
    23:03:43 Reason: There is no running instance of the task.
    ...
    23:03:44 > git clean -dffx 
    23:03:44 warning: failed to remove Release/node.exe: Invalid argument
    23:03:44 warning: failed to remove test/addons/cpu-profiler-crash/build/Release/binding.node: Invalid argument

    This usually means there's a running process left behind on the machine which is preventing git from cleaning the checkout. I'm not sure what taskkill cannot kill it.

    I've logged into the machine with RDP (using Remmina) and can see via Task Manager that there is indeed a Node.js process running while no build is in progress.
    image
    I've killed the process via "End task".

    Another (more drastic) option may be to run https://ci.nodejs.org/view/housekeeping/job/windows-update-reboot/ and force the machine to reboot which would also make the running Node.js process go away.

  5. richardlau commented on Feb 6, 2023

    @richardlau
    Member
  6. joaocgreis commented on Feb 28, 2023

    @joaocgreis
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions