buildbot / buildbot

Python-based continuous integration testing framework; your pull requests are more than welcome!
https://www.buildbot.net
GNU General Public License v2.0
5.25k stars 1.62k forks source link

does buildbot work on python3.6/3.7 on windows 7 #4451

Open andrewchenshx opened 5 years ago

andrewchenshx commented 5 years ago

does buildbot work on python3.6 or 3.7 on windows 7? i have tried to install buildbot on python3.6 or 3.7 on my windows 7, once started( buildbot start buildbot_master), then there was a dialog pop up, reading"python has stopped working". i look into the "Event viewer" in the control panel, there was an app crash event, caused by the ntdll.dll.

andrewchenshx commented 5 years ago

the error message in event eviewer is as following:

错误应用程序名称: python.exe,版本: 3.7.1150.1013,时间戳: 0x5bd5bc42 错误模块名称: ntdll.dll,版本: 6.1.7601.24291,时间戳: 0x5be7857f 异常代码: 0xc0000374 错误偏移量: 0x00000000000bf302 错误进程 ID: 0x23dc 错误应用程序启动时间: 0x01d480b2084ccd9b 错误应用程序路径: d:\programdata\anaconda3\envs\env_py37_master\python.exe 错误模块路径: C:\windows\SYSTEM32\ntdll.dll 报告 ID: 4aca60bc-eca5-11e8-bb41-dc4a3e72602e

tardyp commented 5 years ago

Hi, It might be easier for us if you set the language to english before starting buildbot. I tried google translate, but I am not sure how it is accurate.

I see that you are using anaconda. There might be some compatibility issue with ntdll. We test on windows with official python 3.6: https://www.python.org/downloads/release/python-367/

3.7 as of now is only tested on linux and macos

andrewchenshx commented 5 years ago

Hi @tardyp , 1) error message: Faulting application name: python.exe,version: 3.7.1150.1013,time stamp: 0x5bd5bc42 Faulting module name: ntdll.dll,version: 6.1.7601.24291,time stamp: 0x5be7857f Exception code: 0xc0000374 Fault offset: 0x00000000000bf302 Faulting process id: 0x23dc Faulting application start time: 0x01d480b2084ccd9b Faulting application path: d:\programdata\anaconda3\envs\env_py37_master\python.exe Faulting module path: C:\windows\SYSTEM32\ntdll.dll Report Id: 4aca60bc-eca5-11e8-bb41-dc4a3e72602e

2) and I'll test with official python 3.6 as u suggested, and report the result here. thanks

andrewchenshx commented 5 years ago

Hi @tardyp , official 32bit python 3.6.7 still NOT work. Eror message in "Event Viewer" is as following: Faulting application name: python.exe,version: 3.6.7150.1013,time stamp: 0x5bcb2453 Faulting module name: ntdll.dll,version: 6.1.7601.24291,time stamp: 0x5be781b4 Exception code: 0xc0000374 Fault offset: 0x000ce9a3 Faulting process id: 0x2a04 Faulting application start time: 0x01d4855aea902c98 Faulting application path: d:\programdata\python36-32\python.exe Faulting module path: C:\windows\SysWOW64\ntdll.dll Report Id: 31340138-f14e-11e8-83b0-dc4a3e72602e

andrewchenshx commented 5 years ago

could it be because twisted does NOT fully support python3 and buildbot use the unsupported functions?

tardyp commented 5 years ago

Maybe you can give us the content of twistd.log I have never seen such error

andrewchenshx commented 5 years ago

Maybe you can give us the content of twistd.log I have never seen such error

2018-11-26 15:37:43+0800 [-] Loading buildbot.tac... 2018-11-26 15:37:47+0800 [-] Loaded. 2018-11-26 15:37:47+0800 [-] twistd 18.9.0 (d:\programdata\python36-32\python.exe 3.6.7) starting up. 2018-11-26 15:37:47+0800 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2018-11-26 15:37:47+0800 [-] Starting BuildMaster -- buildbot.version: 1.6.0 2018-11-26 15:37:47+0800 [-] Loading configuration from 'C:\Users\hp\buildbot_master\master.cfg' 2018-11-26 15:37:47+0800 [-] d:\programdata\python36-32\lib\site-packages\buildbot\config.py:102: buildbot.config.ConfigWarning: [0.9.0 and later] buildbotNetUsageData is not configured and defaults to basic. This parameter helps the buildbot development team to understand the installation base. No personal information is collected. Only installation software version info and plugin usage is sent. You can opt-out by setting this variable to None. Or opt-in for more information by setting it to "full".

2018-11-26 15:37:47+0800 [-] Setting up database with URL 'sqlite:/state.sqlite' 2018-11-26 15:37:47+0800 [-] setting database journal mode to 'wal' 2018-11-26 15:37:47+0800 [-] doing housekeeping for master 1 HP95279527:C:\Users\hp\buildbot_master 2018-11-26 15:37:48+0800 [-] doing housekeeping for master 1 HP95279527:C:\Users\hp\buildbot_master 2018-11-26 15:37:48+0800 [-] adding 1 new change_sources, removing 0 2018-11-26 15:37:48+0800 [-] gitpoller: using workdir 'C:\Users\hp\buildbot_master\gitpoller-workdir' 2018-11-26 15:37:48+0800 [-] adding 1 new builders, removing 0 2018-11-26 15:37:48+0800 [-] adding 2 new schedulers, removing 0 2018-11-26 15:37:48+0800 [-] initializing www plugin 'waterfall_view' 2018-11-26 15:37:48+0800 [-] initializing www plugin 'console_view' 2018-11-26 15:37:48+0800 [-] initializing www plugin 'grid_view' 2018-11-26 15:37:48+0800 [-] initializing www plugin 'waterfall_view' 2018-11-26 15:37:48+0800 [-] initializing www plugin 'console_view' 2018-11-26 15:37:48+0800 [-] initializing www plugin 'grid_view' 2018-11-26 15:37:48+0800 [-] BuildbotSite starting on 8010 2018-11-26 15:37:48+0800 [-] Starting factory <buildbot.www.service.BuildbotSite object at 0x064413D0> 2018-11-26 15:37:48+0800 [-] adding 1 new workers, removing 0 2018-11-26 15:37:48+0800 [-] PBServerFactory starting on 9989 2018-11-26 15:37:48+0800 [-] Starting factory <twisted.spread.pb.PBServerFactory object at 0x06433F10> 2018-11-26 15:37:48+0800 [-] BuildMaster is running 2018-11-26 15:37:48+0800 [-] buildbotNetUsageData: sending {'installid': '576e0a799a80ed759a8a3c168c1f1103c5c1d924', 'versions': {'Python': '3.6.7', 'Buildbot': '1.6.0', 'Twisted': '18.9.0'}, 'platform': {'platform': 'Windows-7-6.1.7601-SP1', 'system': 'Windows', 'machine': 'AMD64', 'processor': 'Intel64 Family 6 Model 94 Stepping 3, GenuineIntel', 'python_implementation': 'CPython', 'version': '6.1.7601', 'distro': '7:6.1.7601'}, 'plugins': {'buildbot/worker/base/Worker': 1, 'buildbot/config/BuilderConfig': 1, 'buildbot/schedulers/basic/SingleBranchScheduler': 1, 'buildbot/schedulers/forcesched/ForceScheduler': 1, 'buildbot/changes/gitpoller/GitPoller': 1, 'buildbot/steps/source/git/Git': 1, 'buildbot/steps/shell/ShellCommand': 1}, 'db': 'sqlite', 'mq': 'simple', 'www_plugins': ['waterfall_view', 'console_view', 'grid_view']}