Boost failed to run libs\python\test on x64 and x86 on release and debug configuration with MSVC on windows

Open
#404 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp, python

Research direction

Reproduce the failure from the listed Boost.Python commands, focusing on libs\python\test and the exec.py test cases. Inspect boost_test_debug.log and the failing exec.exe and exec-dynamic.exe runs; done means the Python tests pass for x64 and x86 in both debug and release configurations with MSVC on Windows.

Written by the indexing model from the issue text.

Description

Hi all,

Boost failed to run libs\python\test on x64 and x86 on release and debug configuration with MSVC on windows. it can be reproduced on c368e0b on master branch. Could you please help look at this issue?

Environment:
VS 2019 + Windows Server 2019

Repro steps:

  1. git clone https://github.com/boostorg/boost.git F:\gitP
  2. cd F:\gitP\boostorg\boost
  3. .\bootstrap 2>&1
  4. .\b2 headers variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel address-model=64 2>&1
  5. .\b2 variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel address-model=64 2>&1
  6. set CL=/D_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
  7. set OPENSSL_ROOT=F:\tools\OpenSSL\64
  8. set path=F:\tools\OpenSSL\64\bin
  9. set path=C:\Python\Python27
  10. .\b2 -j16 variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel libs\python\test 2>&1

Error info:
boost_test_debug.log

  F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python 2.7\threading-multi\exec-dynamic.run
	====== BEGIN OUTPUT ======
   
	EXIT STATUS: -1073741819 
	====== END OUTPUT ======
  
	  set Path=C:\Python\Python27;C:\Python\Python27\libs;F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\build\msvc-14.2\debug\python-2.7\threading-multi;%Path%
  
	  set status=0
	  if %status% NEQ 0 (
		  echo Skipping test execution due to testing.execute=off
		  exit 0
	  )
	  set PYTHONPATH=C:\Python\Python27/Lib;%PYTHONPATH%
  "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.exe"  "libs\python\test\exec.py" > "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output" 2>&1 
	  set status=%ERRORLEVEL%
	  echo. >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
	  echo EXIT STATUS: %status% >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
	  if %status% EQU 0 (
		  copy "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output" "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.run"
	  )
	  set verbose=0
	  if %status% NEQ 0 (
		  set verbose=1
	  )
	  if %verbose% EQU 1 (
		  echo ====== BEGIN OUTPUT ======
		  type "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
		  echo ====== END OUTPUT ======
	  )
	  exit %status%
  
  ...failed testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.run...

testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run
====== BEGIN OUTPUT ======
 
EXIT STATUS: -1073741819 
====== END OUTPUT ======

	set Path=C:\Python\Python27;C:\Python\Python27\libs;%Path%

	set status=0
	if %status% NEQ 0 (
		echo Skipping test execution due to testing.execute=off
		exit 0
	)
	set PYTHONPATH=C:\Python\Python27/Lib;%PYTHONPATH%
 "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.exe"  "libs\python\test\exec.py" > "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output" 2>&1 
	set status=%ERRORLEVEL%
	echo. >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
	echo EXIT STATUS: %status% >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
	if %status% EQU 0 (
		copy "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output" "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run"
	)
	set verbose=0
	if %status% NEQ 0 (
		set verbose=1
	)
	if %verbose% EQU 1 (
		echo ====== BEGIN OUTPUT ======
		type "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
		echo ====== END OUTPUT ======
	)
	exit %status%

...failed testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run...
Dominant language
C++
Stars
540
Forks
224
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/python

All issues in boostorg/python

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.