RHEL6環境で、varnishのmake後のテストがコケル問題(未解決)
Scientifix6でvarnishを使用しようとしてたら、make後のtestでFAILEDしてしまうので、どうしようかと悩んでいます。
(varnish本家のサイト見たのですが、バグ報告??ってどうしたらいいのかわからなかった。。。Tracのアカウント作れないし。。。)
■環境
Scientifx6 x86_64
インストールは BasicServerに開発環境を足しただけ。
varnish-2.1.5 (2.1.4-4もダメでした)
ちなみに、CentOS5.5では2.1.4-4は問題なくエラーなし。
■インストール方法と、エラー内容
- rpmbuild -ta varnish-2.1.5.tar.gz
- ソースコンパイルもダメ(当たり前か)
とりあえず、ソースコンパイル後の流れを。。。
tar xzvf varnish-2.1.5 cd varnish-2.1.5 sh autogen.sh sh configure make -j8 cd bin/varnishtest && ./varnishtest tests/*.vtc
で、テストをすると。。。
# top TEST tests/a00000.vtc passed (0.001s) # top TEST tests/a00001.vtc passed (0.001s) # top TEST tests/a00002.vtc passed (0.001s) # top TEST tests/a00003.vtc passed (0.001s) # top TEST tests/a00004.vtc passed (0.001s) # top TEST tests/a00005.vtc passed (0.002s) # top TEST tests/a00006.vtc passed (0.001s) # top TEST tests/a00007.vtc passed (0.001s) # top TEST tests/a00008.vtc passed (1.803s) # top TEST tests/a00009.vtc passed (0.137s) # top TEST tests/a00010.vtc passed (0.001s) # top TEST tests/b00000.vtc passed (0.544s) # top TEST tests/b00001.vtc passed (0.633s) # top TEST tests/b00002.vtc passed (0.635s) # top TEST tests/b00003.vtc passed (0.628s) # top TEST tests/b00004.vtc passed (1.236s) # top TEST tests/b00005.vtc passed (0.624s) # top TEST tests/b00006.vtc passed (0.537s) # top TEST tests/b00007.vtc passed (0.530s) # top TEST tests/b00008.vtc passed (1.102s) # top TEST tests/b00009.vtc passed (0.629s) # top TEST tests/b00010.vtc passed (0.528s) # top TEST tests/b00011.vtc passed (0.542s) # top TEST tests/b00012.vtc passed (0.539s) # top TEST tests/b00013.vtc passed (0.631s) # top TEST tests/b00014.vtc passed (0.589s) # top TEST tests/b00015.vtc passed (1.533s) # top TEST tests/b00016.vtc passed (0.698s) # top TEST tests/b00017.vtc passed (0.541s) # top TEST tests/b00018.vtc passed (0.538s) # top TEST tests/b00019.vtc passed (0.642s) # top TEST tests/b00020.vtc passed (3.056s) # top TEST tests/b00021.vtc passed (3.038s) # top TEST tests/b00022.vtc passed (3.054s) # top TEST tests/b00023.vtc passed (2.542s) # top TEST tests/b00024.vtc passed (2.546s) # top TEST tests/b00025.vtc passed (2.533s) # top TEST tests/b00026.vtc passed (3.216s) # top TEST tests/b00027.vtc passed (0.534s) # top TEST tests/b00028.vtc passed (0.546s) # top TEST tests/b00029.vtc passed (3.534s) # top TEST tests/b00030.vtc passed (0.632s) # top TEST tests/b00031.vtc passed (0.537s) # top TEST tests/b00033.vtc passed (0.590s) # top TEST tests/c00001.vtc passed (0.540s) # top TEST tests/c00002.vtc passed (0.612s) # top TEST tests/c00003.vtc passed (0.656s) # top TEST tests/c00004.vtc passed (0.543s) ---- s1 EXPECT req.url (foo) == / (/) failed ---- c1 HTTP rx failed (poll: Success) # top TEST tests/c00005.vtc starting # top TEST Test simple ACL ## s1 Starting server #### s1 macro def s1_addr=127.0.0.1 #### s1 macro def s1_port=45550 #### s1 macro def s1_sock=127.0.0.1 45550 # s1 Listen on 127.0.0.1 45550 ## s1 Started on 127.0.0.1 45550 ## v1 Launch ### v1 CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/vtc.28077.6b8b4567/v1 -p auto_restart=off -p syslog_cli_traffic=off -a '127.0.0.1:0' -S /tmp/vtc.28077.6b8b4567/v1/_S -M '127.0.0.1 54717' -P /tmp/vtc.28077.6b8b4567/v1/varnishd.pid -sfile,/tmp/vtc.28077.6b8b4567/v1,10M -p vcl_trace=on ### v1 debug| storage_file: filename: /tmp/vtc.28077.6b8b4567/v1/varnish.jZdWbg size 10 MB.\n ### v1 debug| Creating new SHMFILE\n ### v1 debug| Varnish on Linux,2.6.32-71.el6.x86_64,x86_64,-sfile,-hcritbit\n ### v1 debug| 200 237 \n ### v1 debug| -----------------------------\n ### v1 debug| Varnish Cache CLI 1.0\n ### v1 debug| -----------------------------\n ### v1 debug| Linux,2.6.32-71.el6.x86_64,x86_64,-sfile,-hcritbit\n ### v1 debug| \n ### v1 debug| Type 'help' for command list.\n ### v1 debug| Type 'quit' to close CLI session.\n ### v1 debug| Type 'start' to launch worker process.\n ### v1 debug| \n ### v1 CLI connection fd = 6 ### v1 CLI RX 107 #### v1 CLI RX| ajgdravommzxjukhramsxkxwoylxkiek\n #### v1 CLI RX| \n #### v1 CLI RX| Authentication required.\n #### v1 CLI TX| auth 03a4b3a2aa42a6fef7294611077446a1f00df09ac7e3d2602eeb7ff27c250024\n ### v1 CLI RX 200 #### v1 CLI RX| -----------------------------\n #### v1 CLI RX| Varnish Cache CLI 1.0\n #### v1 CLI RX| -----------------------------\n #### v1 CLI RX| Linux,2.6.32-71.el6.x86_64,x86_64,-sfile,-hcritbit\n #### v1 CLI RX| \n #### v1 CLI RX| Type 'help' for command list.\n #### v1 CLI RX| Type 'quit' to close CLI session.\n #### v1 CLI RX| Type 'start' to launch worker process.\n #### v1 CLI TX| vcl.inline vcl1 << %XJEIFLH|)Xspa8P\n #### v1 CLI TX| backend s1 { .host = "127.0.0.1"; .port = "45550"; }\n #### v1 CLI TX| \n #### v1 CLI TX| \n #### v1 CLI TX| \tacl acl1 {\n #### v1 CLI TX| \t\t"localhost";\n #### v1 CLI TX| \t}\n #### v1 CLI TX| \n #### v1 CLI TX| \tsub vcl_recv {\n #### v1 CLI TX| \t\tif (client.ip ~ acl1) {\n #### v1 CLI TX| \t\t\tset req.url = "/";\n #### v1 CLI TX| \t\t}\n #### v1 CLI TX| \t}\n #### v1 CLI TX| \n #### v1 CLI TX| %XJEIFLH|)Xspa8P\n ### v1 CLI RX 200 #### v1 CLI RX| VCL compiled. #### v1 CLI TX| vcl.use vcl1 ### v1 CLI RX 200 ## v1 Start #### v1 CLI TX| start ### v1 debug| child (30102) Started\n ### v1 debug| Child (30102) said \n ### v1 CLI RX 200 #### v1 CLI TX| debug.xid 1000 ### v1 debug| Child (30102) said Child starts\n ### v1 debug| Child (30102) said managed to mmap 10485760 bytes of 10485760\n ### v1 CLI RX 200 #### v1 CLI RX| XID is 1000 #### v1 CLI TX| debug.listen_address ### v1 CLI RX 200 #### v1 CLI RX| 127.0.0.1 55686\n ## v1 Listen on 127.0.0.1 55686 #### v1 macro def v1_addr=127.0.0.1 #### v1 macro def v1_port=55686 #### v1 macro def v1_sock=127.0.0.1 55686 ## c1 Starting client ## c1 Waiting for client ### c1 Connect to 127.0.0.1 55686 ### c1 Connected to 127.0.0.1 55686 fd is 9 #### c1 txreq| GET foo HTTP/1.1\r\n #### c1 txreq| \r\n ### c1 rxresp ### s1 rxreq #### s1 rxhdr| GET foo HTTP/1.1\r\n #### s1 rxhdr| X-Forwarded-For: 127.0.0.1\r\n #### s1 rxhdr| X-Varnish: 1001\r\n #### s1 rxhdr| Host: 127.0.0.1\r\n #### s1 rxhdr| \r\n #### s1 http[ 0] | GET #### s1 http[ 1] | foo #### s1 http[ 2] | HTTP/1.1 #### s1 http[ 3] | X-Forwarded-For: 127.0.0.1 #### s1 http[ 4] | X-Varnish: 1001 #### s1 http[ 5] | Host: 127.0.0.1 #### s1 bodylen = 0 ---- s1 EXPECT req.url (foo) == / (/) failed ---- c1 HTTP rx failed (poll: Success) # top RESETTING after tests/c00005.vtc ## s1 Waiting for server #### s1 macro undef s1_addr #### s1 macro undef s1_port #### s1 macro undef s1_sock ## v1 Wait ## v1 R 30077 Status: 0000 # top TEST tests/c00005.vtc FAILED
という感じ。コンパイル通ってるから使えそうなもんですが、気持ち悪いのと、どうしたらいいのか。。。
どなたかご教授頂けると幸いです。。。
あと、Varnishの日本語化をされようとしている方がいらっしゃいました!!
http://takanori.bitbucket.org/varnish-doc-ja/index.html
https://bitbucket.org/takanori/varnish-doc-ja
今の翻訳作業が終わったら、お手伝いしようと心に誓っております!!(> <)
レベルは低いですが。。。