{"action":"created","issue":{"url":"https://api.github.com/repos/flavorjones/loofah/issues/96","labels_url":"https://api.github.com/repos/flavorjones/loofah/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/flavorjones/loofah/issues/96/comments","events_url":"https://api.github.com/repos/flavorjones/loofah/issues/96/events","html_url":"https://github.com/flavorjones/loofah/issues/96","id":125378760,"number":96,"title":"[Help Needed] Weird test failure during building Debian package","user":{"login":"balasankarc","id":2379271,"avatar_url":"https://avatars.githubusercontent.com/u/2379271?v=3","gravatar_id":"","url":"https://api.github.com/users/balasankarc","html_url":"https://github.com/balasankarc","followers_url":"https://api.github.com/users/balasankarc/followers","following_url":"https://api.github.com/users/balasankarc/following{/other_user}","gists_url":"https://api.github.com/users/balasankarc/gists{/gist_id}","starred_url":"https://api.github.com/users/balasankarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balasankarc/subscriptions","organizations_url":"https://api.github.com/users/balasankarc/orgs","repos_url":"https://api.github.com/users/balasankarc/repos","events_url":"https://api.github.com/users/balasankarc/events{/privacy}","received_events_url":"https://api.github.com/users/balasankarc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T11:46:00Z","updated_at":"2016-01-11T04:50:59Z","closed_at":null,"body":"Hi,\r\nI am maintaining the Debian package of loofah and I am struck with a weird test failure.\r\n\r\n```\r\nRUBYLIB=/home/balasankarc/packaging/loofah/alioth2/ruby-loofah/debian/ruby-loofah/usr/lib/ruby/vendor_ruby:. ruby2.2 debian/ruby-tests.rb\r\n=> testing with Nokogiri {\"warnings\"=>[], \"nokogiri\"=>\"1.6.7.1\", \"ruby\"=>{\"version\"=>\"2.2.3\", \"platform\"=>\"i386-linux-gnu\", \"description\"=>\"ruby 2.2.3p173 (2015-08-18) [i386-linux-gnu]\", \"engine\"=>\"ruby\"}, \"libxml\"=>{\"binding\"=>\"extension\", \"source\"=>\"system\", \"compiled\"=>\"2.9.3\", \"loaded\"=>\"2.9.3\"}}\r\nRun options: --seed 7732\r\n\r\n# Running:\r\n\r\n................S...............................................................................................................................................................F.................................................................................................................................................................................................................................................................................................S....................................................................................S......................................................................................................................................................................................................................................................................S\r\n\r\n   1) testdata sanitizer should sanitize script tag with multiple open brackets\r\n      given:    \"<<script>alert(\"XSS\");//<</script>\"\r\n      expected: \"alert('XSS');//\"\r\n      got:      \"&lt;&lt;script&gt;alert('XSS');//&lt;&lt;/script&gt;\"\r\n      # /usr/lib/ruby/vendor_ruby/minitest/assertions.rb:129\r\n      # /usr/lib/ruby/vendor_ruby/minitest/utils/extension.rb:6\r\n      # test/html5/test_sanitizer.rb:30\r\n      # test/html5/test_sanitizer.rb:206\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:108\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:205\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:105\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:256\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:104\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:334\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:276\r\n      # /usr/lib/ruby/vendor_ruby/minitest/test.rb:103\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:781\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:308\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:296\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:295\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:295\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:334\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:321\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:294\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:155\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:155\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:155\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:129\r\n      # /usr/lib/ruby/vendor_ruby/minitest.rb:56\r\n\r\n   2) not include head tags (like style) [SKIPPED]\r\n      test/integration/test_html.rb\r\n\r\n   3) css negative value sanitization shorthand css properties [SKIPPED]\r\n      test/html5/test_sanitizer.rb\r\n\r\n   4) css negative value sanitization [SKIPPED]\r\n      test/html5/test_sanitizer.rb\r\n\r\n   5) not include head tags (like style) [SKIPPED]\r\n      test/integration/test_html.rb\r\n\r\nFinished in 0.446740s, 1824.3293 runs/s, 2061.6040 assertions/s.\r\n815 runs, 921 assertions, 1 failure, no errors, 4 skips\r\n\r\n```\r\n\r\nDo you have any guess (even wild ones will help) about what may be causing that single test to fail? Something for me to start digging?"},"comment":{"url":"https://api.github.com/repos/flavorjones/loofah/issues/comments/170430159","html_url":"https://github.com/flavorjones/loofah/issues/96#issuecomment-170430159","issue_url":"https://api.github.com/repos/flavorjones/loofah/issues/96","id":170430159,"user":{"login":"flavorjones","id":8207,"avatar_url":"https://avatars.githubusercontent.com/u/8207?v=3","gravatar_id":"","url":"https://api.github.com/users/flavorjones","html_url":"https://github.com/flavorjones","followers_url":"https://api.github.com/users/flavorjones/followers","following_url":"https://api.github.com/users/flavorjones/following{/other_user}","gists_url":"https://api.github.com/users/flavorjones/gists{/gist_id}","starred_url":"https://api.github.com/users/flavorjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavorjones/subscriptions","organizations_url":"https://api.github.com/users/flavorjones/orgs","repos_url":"https://api.github.com/users/flavorjones/repos","events_url":"https://api.github.com/users/flavorjones/events{/privacy}","received_events_url":"https://api.github.com/users/flavorjones/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T04:50:59Z","updated_at":"2016-01-11T04:50:59Z","body":"This appears to be a behavioral change between libxml2 2.9.2 and 2.9.3."}}