I can't figure out why the UBSan build job is failing in travis. I have marked the build job as failure allowed for now. Here's an example job: https://travis-ci.org/apache/thrift/jobs/275182729
make[5]: Entering directory '/thrift/src/node_modules/ws' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:97: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed make[5]: Leaving directory '/thrift/src/node_modules/ws/build' npm notice created a lockfile as package-lock.json. You should commit this file. added 354 packages in 15.164s Running "shell:ThriftGen" (shell) task [WARNING:/thrift/src/test/ThriftTest.thrift:45] No generator named 'noexist' could be found! [WARNING:/thrift/src/test/ThriftTest.thrift:47] cpp generator does not accept 'noexist' as sub-namespace! Running "external_daemon:ThriftTestServer" (external_daemon) task >> Started ThriftTestServer Running "external_daemon:ThriftTestServer_TLS" (external_daemon) task >> Started ThriftTestServer_TLS Running "qunit:ThriftJS" (qunit) task Testing http://localhost:8088/test-nojq.html ...........................OK >> 27 tests completed with 0 failed, 0 skipped, and 0 todo. >> 99 assertions (in 454ms), passed: 99, failed: 0 Running "qunit:ThriftJS_TLS" (qunit) task Testing https://localhost:8089/test-nojq.html ...........................OK >> 27 tests completed with 0 failed, 0 skipped, and 0 todo. >> 99 assertions (in 971ms), passed: 99, failed: 0 Running "shell:ThriftGenJQ" (shell) task [WARNING:/thrift/src/test/ThriftTest.thrift:45] No generator named 'noexist' could be found! [WARNING:/thrift/src/test/ThriftTest.thrift:47] cpp generator does not accept 'noexist' as sub-namespace! Running "qunit:ThriftJSJQ" (qunit) task Testing http://localhost:8088/test.html ...............................OK >> 31 tests completed with 0 failed, 0 skipped, and 0 todo. >> 110 assertions (in 689ms), passed: 110, failed: 0 Running "qunit:ThriftJSJQ_TLS" (qunit) task Testing https://localhost:8089/test.html ...............................OK >> 31 tests completed with 0 failed, 0 skipped, and 0 todo. >> 110 assertions (in 1239ms), passed: 110, failed: 0 Running "concat:dist" (concat) task Running "uglify:dist" (uglify) task File dist/thrift.min.js created: 46.89 kB → 15.4 kB >> 1 file created. Running "jsdoc:dist" (jsdoc) task >> fs.js:1919 >> binding.copyFile(src, dest, flags); >> ^ >> >> Error: EISDIR: illegal operation on a directory, copyfile '/thrift/src/lib/js/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.eot' -> 'doc/fonts' >> at Object.fs.copyFileSync (fs.js:1919:11) >> at /thrift/src/lib/js/node_modules/jsdoc/templates/default/publish.js:471:12 >> at Array.forEach (<anonymous>) >> at Object.exports.publish (/thrift/src/lib/js/node_modules/jsdoc/templates/default/publish.js:468:17) >> at Object.module.exports.cli.generateDocs (/thrift/src/lib/js/node_modules/jsdoc/cli.js:430:39) >> at Object.module.exports.cli.processParseResults (/thrift/src/lib/js/node_modules/jsdoc/cli.js:383:20) >> at module.exports.cli.main (/thrift/src/lib/js/node_modules/jsdoc/cli.js:227:14) >> at Object.module.exports.cli.runCommand (/thrift/src/lib/js/node_modules/jsdoc/cli.js:180:5) >> at /thrift/src/lib/js/node_modules/jsdoc/jsdoc.js:103:9 >> at Object.<anonymous> (/thrift/src/lib/js/node_modules/jsdoc/jsdoc.js:104:3) >> at Module._compile (module.js:624:30) >> at Object.Module._extensions..js (module.js:635:10) >> at Module.load (module.js:545:32) >> at tryModuleLoad (module.js:508:12) >> at Function.Module._load (module.js:500:3) >> at Function.Module.runMain (module.js:665:10) Warning: jsdoc terminated with a non-zero exit code Use --force to continue. Aborted due to warnings. Makefile:805: recipe for target 'check-local' failed make[4]: *** [check-local] Error 3 make[4]: Leaving directory '/thrift/src/lib/js' Makefile:680: recipe for target 'check-am' failed make[3]: *** [check-am] Error 2 make[3]: Leaving directory '/thrift/src/lib/js' Makefile:531: recipe for target 'check-recursive' failed make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory '/thrift/src/lib/js' Makefile:576: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/thrift/src/lib' Makefile:655: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1
