[CXX-1324] Examples not running under Ubuntu 16.04 builders Created: 21/Apr/17  Updated: 28/Oct/23  Resolved: 25/Apr/17

Status: Closed
Project: C++ Driver
Component/s: Continuous Integration
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CXX-1256 Fix CI builds with libmongoc master b... Closed

 Description   

The example binaries are not being run on any of the Ubuntu 16.04 hosts.

See the following excerpt from this recent run of the ASAN Ubuntu 16.04 Debug builder:

[2017/04/20 22:29:59.948] + find examples -type f -perm +0100
[2017/04/20 22:29:59.948] + sort
[2017/04/20 22:29:59.950] find: invalid mode ‘+0100’



 Comments   
Comment by Githook User [ 25/Apr/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1324 Set 'pipefail' shell option in all shell scripts

This improves script safety. 'pipefail' is a bash-ism, so this also
converts existing scripts to use bash.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/7fa68fe14ba035f63587064cfe1499b2582dde20

Comment by Githook User [ 25/Apr/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1324 Fix issue where examples silently fail on ubuntu1604 builders
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/125494d8d0c57a24c6c766de91e130ee9e5c4752

Comment by David Golden [ 21/Apr/17 ]

I changed away from /mode because one of our platforms didn't support it. We need a more portable way to find the examples to run.

Comment by J Rassi [ 21/Apr/17 ]

Relevant excerpt from find(1) manpage:

       -perm +mode
              This  is  no longer supported (and has been deprecated since 2005).  Use -perm /mode
              instead.

Generated at Wed Feb 07 22:02:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.