I noticed that Travis-CI has been failing a lot since January 2018. When I wrote the blog post https://mariadb.org/protected-branches-ensuring-code-quality-git/ there was some sporadic failures, but not permanent failures.
Now when I used the commit 1730ac5c4ae1dc62f6fca5e751a8b08e9119be6a as a base and did 4 non-changing commits in a row just to see what results are sporadic or not, I got in each and every build the exactly same failures:
Failing test(s): main.type_datetime_hires main.select_pkeycache main.select main.select_jcl6 main.type_float main.func_str main.type_time_hires main.type_timestamp_hires
Logs:
https://api.travis-ci.org/v3/job/363800253/log.txt
https://api.travis-ci.org/v3/job/363781035/log.txt
https://api.travis-ci.org/v3/job/363685618/log.txt
https://api.travis-ci.org/v3/job/363592371/log.txt
These happen only in the build with
Compiler: clang Xcode: xcode9.1 C++
GCC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main,archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
See screenshot
is blocked by
MDEV-15430
type_float.test floating point error clang-4
Closed
Elena Stepanova
made changes -
2018-04-08 20:40
Fix Version/s
10.3
[ 22126
]
Assignee
Vicentiu Ciorbaru
[ cvicentiu
]
Elena Stepanova
made changes -
2018-04-08 20:40
Component/s
Tests
[ 10800
]
Sergei Golubchik
made changes -
2018-04-12 10:58
Priority
Blocker
[ 1
]
Critical
[ 2
]
Sergei Golubchik
made changes -
2018-04-17 15:34
Priority
Critical
[ 2
]
Major
[ 3
]
Vicențiu Ciorbaru
made changes -
2018-06-29 11:14
Assignee
Vicentiu Ciorbaru
[ cvicentiu
]
Teodor Mircea Ionita
[ teodor
]
Teodor Mircea Ionita (Inactive)
made changes -
2018-06-29 11:17
Fix Version/s
10.3.8
[ 23113
]
Fix Version/s
10.3
[ 22126
]
Resolution
Fixed
[ 1
]
Status
Open
[ 1
]
Closed
[ 6
]
Sergei Golubchik
made changes -
2021-12-06 21:47
Workflow
MariaDB v3
[ 86436
]
MariaDB v4
[ 154120
]
{"report":{"fcp":1001,"ttfb":363.19999980926514,"pageVisibility":"visible","entityId":66730,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1901e7a3-c051-4292-b166-008f3292cc85","navigationType":0,"readyForUser":1077.5,"redirectCount":0,"resourceLoadedEnd":733.3999996185303,"resourceLoadedStart":369.19999980926514,"resourceTiming":[{"duration":20.800000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":369.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":390,"responseStart":0,"secureConnectionStart":0},{"duration":20.800000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":369.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":390.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":212.4000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":369.69999980926514,"connectEnd":391.5,"connectStart":391.5,"domainLookupEnd":391.5,"domainLookupStart":391.5,"fetchStart":369.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":391.69999980926514,"responseEnd":582.1000003814697,"responseStart":409.6000003814697,"secureConnectionStart":391.5},{"duration":363.5999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":369.80000019073486,"connectEnd":369.80000019073486,"connectStart":369.80000019073486,"domainLookupEnd":369.80000019073486,"domainLookupStart":369.80000019073486,"fetchStart":369.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":393.19999980926514,"responseEnd":733.3999996185303,"responseStart":418.19999980926514,"secureConnectionStart":369.80000019073486},{"duration":68.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":370.1000003814697,"connectEnd":370.1000003814697,"connectStart":370.1000003814697,"domainLookupEnd":370.1000003814697,"domainLookupStart":370.1000003814697,"fetchStart":370.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":394.19999980926514,"responseEnd":438.6000003814697,"responseStart":434.3999996185303,"secureConnectionStart":370.1000003814697},{"duration":67.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":370.30000019073486,"connectEnd":370.30000019073486,"connectStart":370.30000019073486,"domainLookupEnd":370.30000019073486,"domainLookupStart":370.30000019073486,"fetchStart":370.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":395.30000019073486,"responseEnd":437.6000003814697,"responseStart":432.30000019073486,"secureConnectionStart":370.30000019073486},{"duration":67.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":370.5,"connectEnd":370.5,"connectStart":370.5,"domainLookupEnd":370.5,"domainLookupStart":370.5,"fetchStart":370.5,"redirectEnd":0,"redirectStart":0,"requestStart":396.5,"responseEnd":438.30000019073486,"responseStart":433.80000019073486,"secureConnectionStart":370.5},{"duration":24.90000057220459,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":370.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":370.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":395.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":68.09999942779541,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":370.80000019073486,"connectEnd":370.80000019073486,"connectStart":370.80000019073486,"domainLookupEnd":370.80000019073486,"domainLookupStart":370.80000019073486,"fetchStart":370.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":398.8999996185303,"responseEnd":438.8999996185303,"responseStart":435.80000019073486,"secureConnectionStart":370.80000019073486},{"duration":26.699999809265137,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":371,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":371,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":397.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":69.90000057220459,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":371.19999980926514,"connectEnd":371.19999980926514,"connectStart":371.19999980926514,"domainLookupEnd":371.19999980926514,"domainLookupStart":371.19999980926514,"fetchStart":371.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":400.5,"responseEnd":441.1000003814697,"responseStart":439.19999980926514,"secureConnectionStart":371.19999980926514},{"duration":323.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":372.1000003814697,"connectEnd":372.1000003814697,"connectStart":372.1000003814697,"domainLookupEnd":372.1000003814697,"domainLookupStart":372.1000003814697,"fetchStart":372.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":422.19999980926514,"responseEnd":695.6000003814697,"responseStart":689.3999996185303,"secureConnectionStart":372.1000003814697},{"duration":322.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":376.80000019073486,"connectEnd":376.80000019073486,"connectStart":376.80000019073486,"domainLookupEnd":376.80000019073486,"domainLookupStart":376.80000019073486,"fetchStart":376.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":437.8999996185303,"responseEnd":698.8999996185303,"responseStart":692.6999998092651,"secureConnectionStart":376.80000019073486},{"duration":115.60000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":714.3999996185303,"connectEnd":714.3999996185303,"connectStart":714.3999996185303,"domainLookupEnd":714.3999996185303,"domainLookupStart":714.3999996185303,"fetchStart":714.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":792.8999996185303,"responseEnd":830,"responseStart":829.1999998092651,"secureConnectionStart":714.3999996185303},{"duration":260.69999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":954.3000001907349,"connectEnd":954.3000001907349,"connectStart":954.3000001907349,"domainLookupEnd":954.3000001907349,"domainLookupStart":954.3000001907349,"fetchStart":954.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1177.5,"responseEnd":1215,"responseStart":1213.5,"secureConnectionStart":954.3000001907349},{"duration":251.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":994.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":994.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1245.6000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":155,"responseStart":363,"responseEnd":374,"domLoading":367,"domInteractive":1182,"domContentLoadedEventStart":1182,"domContentLoadedEventEnd":1241,"domComplete":1706,"loadEventStart":1706,"loadEventEnd":1706,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1150.6000003814697},{"name":"bigPipe.sidebar-id.end","time":1151.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":1151.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":1155.6000003814697},{"name":"activityTabFullyLoaded","time":1263.3999996185303}],"measures":[],"correlationId":"bf4d8065a61d2f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":147,"dbReadsTimeInMs":26,"dbConnsTimeInMs":36,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
All failures seem to be related to the same floating point being rounded/offset a bit. This is not visible on Buildbot as clang is not tested there.
The effect of a small floating point imprecision is not big per se, but the fact that this keeps Travis-CI failing permanently makes this a blocker. This MDEV should be closed either by fixing the issues themselves (
MDEV-15430, MDEV-14419) or by removing these individual tests or by disabling the specific clang build variant in the .travis.yml configuration.Travis-CI must be become green and kept all green!