Tests Fail on CentOS 7 VM

José Bonadero josetuna at gmail.com
Mon Apr 6 20:12:06 UTC 2020


Hi all,
I would like to get clues on why my rails port installation is having the
following issues. I have already fixed some other issues but I don't have a
clue on these particular ones.

When I run unit test, process finishes, with no errors but with one
failure. The output is as follows:

Failure:
TraceTest#test_xml_file
[/home/osmweb/openstreetmap-website/test/models/trace_test.rb:319]:
--- expected
+++ actual
@@ -1 +1,3 @@
-"a7c05d676c77dc14369c21be216a3713"
+# encoding: US-ASCII
+#    valid: true
+"d41d8cd98f00b204e9800998ecf8427e"


On the other hand, while process is running, I get several messages like
this:

jQuery.Deferred exception: null is not an object (evaluating
'createdDocument.body') sanitizeHtml@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:14711:49
_getConfig@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:15324:39
Tooltip@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:14853:36
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:15389:29
each@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:367:23
each@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:202:21
_jQueryInterface@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:15379:23
addOverlay@
http://127.0.0.1:40724/assets/index-9d669f9d8a04c6d01b002677ab96688e5afe207cfd1ae9cdfe8184fe88ad4495.js:1503:19
onAdd@
http://127.0.0.1:40724/assets/index-9d669f9d8a04c6d01b002677ab96688e5afe207cfd1ae9cdfe8184fe88ad4495.js:1553:17
addTo@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:21748:47
http://127.0.0.1:40724/assets/index-9d669f9d8a04c6d01b002677ab96688e5afe207cfd1ae9cdfe8184fe88ad4495.js:135:11
mightThrow@
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:3557:34
http://127.0.0.1:40724/assets/application-ec57d2c32b2b114198a721be403c0370b94845f7769df02180f113b910fb389d.js:3625:22
undefined

My setup is as follows:
Virtualbox VM
Centos 7
All steps from official instructions successful up to database creation.

Any help would be greatly appreciated. Thank you.

Best Regards,
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200406/4d017c92/attachment-0001.htm>


More information about the rails-dev mailing list