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

未关闭
#404 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp, python

调研方向

复现所列 Boost.Python 命令中的失败,重点检查 libs\python\test 和 exec.py 测试用例。检查 boost_test_debug.log 以及失败的 exec.exe 和 exec-dynamic.exe 运行;当使用 MSVC 在 Windows 上的 debug 和 release 配置中,x64 和 x86 的 Python 测试均通过时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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...
主要语言
C++
星标
540
派生
224
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

boostorg/python 的其他 Issue

查看 boostorg/python 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。