From: "sean.swolfe@..." Date: 2005-12-27T09:52:53+09:00 Subject: Re: Inconsistent testing Ruby 1.8.4 on Tiger. Hmmm.. Wierd, I just built 1.8.4 without the CFLAGS using GCC 4.0, and then installed it. I tested it a bunch, the first 2 times had failures, but on all the following runs, they all pass. Here were the previous 2 failures. 1) Error: test_doc_enc_doc_enc(SOAP::TestStyleUse): SOAP::EncodingStyle::Handler::EncodingStyleError: illegal parent: /usr/src/ruby/ruby-1.8.4/lib/soap/encodingstyle/soapHandler.rb:238:in `decode_parent' /usr/src/ruby/ruby-1.8.4/lib/soap/encodingstyle/soapHandler.rb:118:in `as_struct' /usr/src/ruby/ruby-1.8.4/lib/soap/encodingstyle/soapHandler.rb:219:in `decode_parent' /usr/src/ruby/ruby-1.8.4/lib/soap/encodingstyle/soapHandler.rb:177:in `decode_tag' /usr/src/ruby/ruby-1.8.4/lib/soap/parser.rb:179:in `decode_tag' /usr/src/ruby/ruby-1.8.4/lib/soap/parser.rb:130:in `start_element' /usr/src/ruby/ruby-1.8.4/lib/xsd/xmlparser/parser.rb:67:in `start_element' /usr/src/ruby/ruby-1.8.4/lib/xsd/xmlparser/rexmlparser.rb:34:in `tag_start' /usr/src/ruby/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:24:in `parse' /usr/src/ruby/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream' /usr/src/ruby/ruby-1.8.4/lib/xsd/xmlparser/rexmlparser.rb:27:in `do_parse' /usr/src/ruby/ruby-1.8.4/lib/soap/parser.rb:92:in `parse' /usr/src/ruby/ruby-1.8.4/lib/soap/processor.rb:39:in `unmarshal' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/router.rb:288:in `unmarshal' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/router.rb:155:in `route' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/soaplet.rb:88:in `do_POST' /usr/src/ruby/ruby-1.8.4/lib/webrick/httpservlet/abstract.rb:35:in `service' /usr/src/ruby/ruby-1.8.4/lib/webrick/httpserver.rb:104:in `service' /usr/src/ruby/ruby-1.8.4/lib/webrick/httpserver.rb:65:in `run' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:173:in `start_thread' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:162:in `start_thread' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:95:in `start' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:92:in `start' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:23:in `start' /usr/src/ruby/ruby-1.8.4/lib/webrick/server.rb:82:in `start' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/httpserver.rb:123:in `run' /usr/src/ruby/ruby-1.8.4/lib/logger.rb:668:in `start' ./soap/test_styleuse.rb:250:in `start_server_thread' ./soap/test_styleuse.rb:248:in `start_server_thread' ./soap/test_styleuse.rb:216:in `setup_server' ./soap/test_styleuse.rb:204:in `setup' runner.rb:7 /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/proxy.rb:354:in `raise_fault' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/proxy.rb:147:in `call' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/driver.rb:178:in `call' /usr/src/ruby/ruby-1.8.4/lib/soap/rpc/driver.rb:232:in `rpc_enc_rpc_enc' ./soap/test_styleuse.rb:299:in `test_doc_enc_doc_enc' 1) Error: test_parser(RSS::TestSyndication): NoMethodError: undefined method `include?' for -517611318:Fixnum /usr/src/ruby/ruby-1.8.4/lib/rss/parser.rb:324:in `start_else_element' /usr/src/ruby/ruby-1.8.4/lib/rss/parser.rb:290:in `tag_start' /usr/src/ruby/ruby-1.8.4/lib/rexml/parsers/streamparser.rb:24:in `parse' /usr/src/ruby/ruby-1.8.4/lib/rexml/document.rb:173:in `parse_stream' /usr/src/ruby/ruby-1.8.4/lib/rss/rexmlparser.rb:21:in `_parse' /usr/src/ruby/ruby-1.8.4/lib/rss/parser.rb:143:in `parse' /usr/src/ruby/ruby-1.8.4/lib/rss/parser.rb:70:in `parse' ./rss/test_syndication.rb:51:in `test_parser' /usr/src/ruby/ruby-1.8.4/test/rss/rss-assertions.rb:53:in `assert_too_much_tag' /usr/src/ruby/ruby-1.8.4/test/rss/rss-assertions.rb:51:in `assert_too_much_tag' ./rss/test_syndication.rb:50:in `test_parser' ./rss/test_syndication.rb:49:in `test_parser' They both seem to have something to do with web features. I'm not sure if it was because something else was running and didn't let go of the previous Ruby libs in memory, and now has been refreshed, because I can't get the tests to fail now. Sean