[SERVER-11062] parse_number_test.exe failing on Windows 32-bit Created: 07/Oct/13  Updated: 11/Jul/16  Resolved: 08/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Failing consistently since commit 8e2c2af3e3bb

http://mci.10gen.com/ui/task/mongodb_mongo_master_windows_32_8e2c2af3e3bb2129018d956fe19db897197a76a9_13_10_04_20_48_19_compile

http://buildlogs.mongodb.org/build/525075ffd2a60f639500083d/test/52507601d2a60f5aa2000dcb/

Output ends with:

2013-10-05T20:26:40.743+0000 going to run suite: ParseNumberTestsUnsignedShort
2013-10-05T20:26:40.743+0000 	 going to run test: RejectBadBases
2013-10-05T20:26:40.743+0000 	 going to run test: ParseNonNegatives
2013-10-05T20:26:40.743+0000 	 going to run test: ParseNegatives
2013-10-05T20:26:40.743+0000 	 going to run test: ParseGarbage
2013-10-05T20:26:40.743+0000 	 going to run test: ParseWithExplicitBase
2013-10-05T20:26:40.743+0000 	 going to run test: TestParsingLimits
2013-10-05T20:26:40.743+0000 	 DONE running tests
2013-10-05T20:26:40.744+0000 **************************************************

Then smoke.py prints:

[2013/10/05 20:26:40.838] The following tests failed (with exit code):
[2013/10/05 20:26:40.839] D:\data\mci\git@github.commongodb\mongo.git\master\build\win32\release\mongo\base\parse_number_test.exe	-1073740791

Error code -1073740791?



 Comments   
Comment by auto [ 08/Oct/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-11062 fixed runtime issue with unsupported printf width specifier z on Windows
Branch: master
https://github.com/mongodb/mongo/commit/6069172335a0750b2477e3e2c31232ef9e9769f4

Comment by Benety Goh [ 08/Oct/13 ]

The printf z length specifier 'z' is not supported by the current compiler under Windows. This affects the 64-bit build as well...

2013-10-08T07:31:10.945+0000 going to run test: TopSortFailsWhenMissingPrerequisite
2013-10-08T07:31:10.945+0000 going to run test: TopSortFailsWhenMissingDependent
2013-10-08T07:31:10.945+0000 DONE running tests
2013-10-08T07:31:10.945+0000 **************************************************
2013-10-08T07:31:10.945+0000 InitializerDependencyGraphTest | tests: 12 | fails: zd | assert calls: 0 | time secs: 0.000
2013-10-08T07:31:10.945+0000 TOTALS | tests: 12 | fails: zd | assert calls: 0 | time secs: 0.000
2013-10-08T07:31:10.945+0000 SUCCESS - All tests in all suites passed

Comment by Matt Kangas [ 07/Oct/13 ]

For posterity: (tomorrow, that is)

To invoke this on a spawned MCI Win32 instance

cd /cygdrive/d/data
git clone https://github.com/mongodb/mongo.git
cd mongo
scons.bat unittests
build/win32/release/mongo/base/parse_number_test.exe
/cygdrive/c/Python27/python.exe buildscripts/smoke.py --with-cleanbb --mode files --from-file build/unittests.txt --dont-start-mongod

Generated at Thu Feb 08 03:24:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.