+ set -Ceuo pipefail + PATH=/bin:/usr/bin:/usr/local/bin + TZ=UTC + export TZ + : p0 + : /nwp + : /nwp/p0 ++ date +%Y-%m-%d + : 2024-10-31 + datedir=/nwp/p0/2024-10-31.new + export phase base reftime datedir nwp + test -f /nwp/bin/run-feedstore.sh + cd /nwp/p0 + test -f stop ++ mkdir /nwp/p0/2024-10-31.new + mkdmsg='mkdir: cannot create directory '\''/nwp/p0/2024-10-31.new'\'': File exists' + cd /nwp/p0/2024-10-31.new + bash -ehuxBC /nwp/bin/run-feedstore.sh + set -Ceuo pipefail + PATH=/bin:/usr/bin + : p0 /nwp/p0 2024-10-31 /nwp/p0/2024-10-31.new /nwp + export phase base reftime datedir nwp + case "`date +%M`" in ++ date +%M + : /usr/bin/ruby + : https://www.data.jma.go.jp/developer/xml/feed + : /etc/ssl/certs/ + : 20 + cd /nwp/p0/2024-10-31.new + sleep 20 + rc=0 + /usr/bin/ruby /nwp/bin/feedstore.rb jmx-lmt.db jmx-2024-10-31 /etc/ssl/certs/ -a60 -xVPRN50 https://www.data.jma.go.jp/developer/xml/feed/regular.xml https://www.data.jma.go.jp/developer/xml/feed/extra.xml https://www.data.jma.go.jp/developer/xml/feed/eqvol.xml https://www.data.jma.go.jp/developer/xml/feed/other.xml skip (exclude /VPRN50/) #CONNECT www.data.jma.go.jp:443 GET /developer/xml/feed/regular.xml --> 200 #big regular.xml-2024-10-31T000221-22476.xml 117144 {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030235740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:57:27Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030235740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030235740_0_VPRN50_010000.xml --> 200 size 4017108 #big 20241030235740_0_VPRN50_010000.xml 4017108 {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030234741_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:47:28Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030234741_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030234741_0_VPRN50_010000.xml --> 200 size 4017108 #big 20241030234741_0_VPRN50_010000.xml 4017108 {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030233741_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:37:25Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030233741_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030233741_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030233741_0_VPRN50_010000.xml {"title"=>"\u8B66\u5831\u7D1A\u306E\u53EF\u80FD\u6027\uFF08\u660E\u65E5\u307E\u3067\uFF09", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030233500_0_VPFD60_474000.xml", "updated"=>"2024-10-30T23:35:00Z", "author"=>"\n ", "name"=>"\u77F3\u57A3\u5CF6\u5730\u65B9\u6C17\u8C61\u53F0", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030233500_0_VPFD60_474000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030233500_0_VPFD60_474000.xml --> 200 size 23682 skip dup2 20241030233500_0_VPFD60_474000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030232740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:27:28Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030232740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030232740_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030232740_0_VPRN50_010000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030231740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:17:29Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030231740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030231740_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030231740_0_VPRN50_010000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030230750_0_VPRN50_010000.xml", "updated"=>"2024-10-30T23:07:30Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030230750_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030230750_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030230750_0_VPRN50_010000.xml {"title"=>"\u5730\u4E0A\u5B9F\u6CC1\u56F3", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030230130_0_VZSA50_010000.xml", "updated"=>"2024-10-30T23:01:17Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030230130_0_VZSA50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030230130_0_VZSA50_010000.xml --> 200 size 218782 skip dup2 20241030230130_0_VZSA50_010000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030225740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T22:57:27Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030225740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030225740_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030225740_0_VPRN50_010000.xml {"title"=>"\u5E9C\u770C\u5929\u6C17\u4E88\u5831\uFF08\uFF32\uFF11\uFF09", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030225454_0_VPFD51_430000.xml", "updated"=>"2024-10-30T22:54:53Z", "author"=>"\n ", "name"=>"\u718A\u672C\u5730\u65B9\u6C17\u8C61\u53F0", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030225454_0_VPFD51_430000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030225454_0_VPFD51_430000.xml --> 200 size 48614 skip dup2 20241030225454_0_VPFD51_430000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030224740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T22:47:28Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030224740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030224740_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030224740_0_VPRN50_010000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030223740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T22:37:27Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030223740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030223740_0_VPRN50_010000.xml --> 200 size 4017288 skip dup2 20241030223740_0_VPRN50_010000.xml {"title"=>"\u5927\u96E8\u5371\u967A\u5EA6\u901A\u77E5", "id"=>"https://www.data.jma.go.jp/developer/xml/data/20241030222740_0_VPRN50_010000.xml", "updated"=>"2024-10-30T22:27:28Z", "author"=>"\n ", "name"=>"\u6C17\u8C61\u5E81", "link/@href"=>"https://www.data.jma.go.jp/developer/xml/data/20241030222740_0_VPRN50_010000.xml"} now www.data.jma.go.jp:443 GET /developer/xml/data/20241030222740_0_VPRN50_010000.xml /usr/lib/ruby/2.3.0/net/http.rb:880: [BUG] rb_register_sigaltstack: th->altstack not initialized ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] -- Control frame information ----------------------------------------------- c:0025 p:---- s:0148 e:000147 CFUNC :initialize c:0024 p:---- s:0146 e:000145 CFUNC :open c:0023 p:0026 s:0139 e:000138 BLOCK /usr/lib/ruby/2.3.0/net/http.rb:880 c:0022 p:0039 s:0136 E:001ae8 BLOCK /usr/lib/ruby/2.3.0/timeout.rb:91 [FINISH] c:0021 p:0097 s:0131 E:0018d0 METHOD /usr/lib/ruby/2.3.0/timeout.rb:101 c:0020 p:0090 s:0120 E:0024d0 METHOD /usr/lib/ruby/2.3.0/net/http.rb:878 c:0019 p:0018 s:0107 e:000106 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1476 c:0018 p:0017 s:0103 e:000102 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1433 c:0017 p:0072 s:0096 e:000095 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1407 c:0016 p:0028 s:0089 e:000088 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1308 c:0015 p:0106 s:0083 e:000082 METHOD /nwp/bin/feedstore.rb:64 c:0014 p:0280 s:0075 e:000074 BLOCK /nwp/bin/feedstore.rb:224 [FINISH] c:0013 p:0030 s:0063 e:000062 METHOD /nwp/bin/feedstore.rb:129 c:0012 p:0199 s:0059 e:000058 METHOD /usr/lib/ruby/2.3.0/rexml/parsers/streamparser.rb:29 c:0011 p:0249 s:0051 E:0026d0 METHOD /nwp/bin/feedstore.rb:252 c:0010 p:0048 s:0036 e:000035 BLOCK /nwp/bin/feedstore.rb:288 [FINISH] c:0009 p:---- s:0032 e:000031 CFUNC :each c:0008 p:0011 s:0029 e:000028 BLOCK /nwp/bin/feedstore.rb:265 c:0007 p:0043 s:0026 e:000025 METHOD /var/lib/gems/2.3.0/gems/tarwriter-2.0.5/lib/tarwriter.rb:25 c:0006 p:0052 s:0020 e:000019 BLOCK /nwp/bin/feedstore.rb:264 [FINISH] c:0005 p:---- s:0017 e:000016 CFUNC :open c:0004 p:0040 s:0011 e:000010 METHOD /nwp/bin/feedstore.rb:262 c:0003 p:0008 s:0007 e:000006 METHOD /nwp/bin/feedstore.rb:301 c:0002 p:0151 s:0004 E:000a50 EVAL /nwp/bin/feedstore.rb:307 [FINISH] c:0001 p:0000 s:0002 E:001440 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- /nwp/bin/feedstore.rb:307:in `
' /nwp/bin/feedstore.rb:301:in `run' /nwp/bin/feedstore.rb:262:in `run2' /nwp/bin/feedstore.rb:262:in `open' /nwp/bin/feedstore.rb:264:in `block in run2' /var/lib/gems/2.3.0/gems/tarwriter-2.0.5/lib/tarwriter.rb:25:in `open' /nwp/bin/feedstore.rb:265:in `block (2 levels) in run2' /nwp/bin/feedstore.rb:265:in `each' /nwp/bin/feedstore.rb:288:in `block (3 levels) in run2' /nwp/bin/feedstore.rb:252:in `getfeed' /usr/lib/ruby/2.3.0/rexml/parsers/streamparser.rb:29:in `parse' /nwp/bin/feedstore.rb:129:in `tag_end' /nwp/bin/feedstore.rb:224:in `block in getfeed' /nwp/bin/feedstore.rb:64:in `get' /usr/lib/ruby/2.3.0/net/http.rb:1308:in `request_get' /usr/lib/ruby/2.3.0/net/http.rb:1407:in `request' /usr/lib/ruby/2.3.0/net/http.rb:1433:in `transport_request' /usr/lib/ruby/2.3.0/net/http.rb:1476:in `begin_transport' /usr/lib/ruby/2.3.0/net/http.rb:878:in `connect' /usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout' /usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout' /usr/lib/ruby/2.3.0/net/http.rb:880:in `block in connect' /usr/lib/ruby/2.3.0/net/http.rb:880:in `open' /usr/lib/ruby/2.3.0/net/http.rb:880:in `initialize' -- C level backtrace information ------------------------------------------- /usr/lib/ruby/2.3.0/net/http.rb:880: [BUG] Segmentation fault at 0x00000000000000 ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu] -- Control frame information ----------------------------------------------- c:0025 p:---- s:0148 e:000147 CFUNC :initialize c:0024 p:---- s:0146 e:000145 CFUNC :open c:0023 p:0026 s:0139 e:000138 BLOCK /usr/lib/ruby/2.3.0/net/http.rb:880 c:0022 p:0039 s:0136 E:001ae8 BLOCK /usr/lib/ruby/2.3.0/timeout.rb:91 [FINISH] c:0021 p:0097 s:0131 E:0018d0 METHOD /usr/lib/ruby/2.3.0/timeout.rb:101 c:0020 p:0090 s:0120 E:0024d0 METHOD /usr/lib/ruby/2.3.0/net/http.rb:878 c:0019 p:0018 s:0107 e:000106 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1476 c:0018 p:0017 s:0103 e:000102 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1433 c:0017 p:0072 s:0096 e:000095 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1407 c:0016 p:0028 s:0089 e:000088 METHOD /usr/lib/ruby/2.3.0/net/http.rb:1308 c:0015 p:0106 s:0083 e:000082 METHOD /nwp/bin/feedstore.rb:64 c:0014 p:0280 s:0075 e:000074 BLOCK /nwp/bin/feedstore.rb:224 [FINISH] c:0013 p:0030 s:0063 e:000062 METHOD /nwp/bin/feedstore.rb:129 c:0012 p:0199 s:0059 e:000058 METHOD /usr/lib/ruby/2.3.0/rexml/parsers/streamparser.rb:29 c:0011 p:0249 s:0051 E:0026d0 METHOD /nwp/bin/feedstore.rb:252 c:0010 p:0048 s:0036 e:000035 BLOCK /nwp/bin/feedstore.rb:288 [FINISH] c:0009 p:---- s:0032 e:000031 CFUNC :each c:0008 p:0011 s:0029 e:000028 BLOCK /nwp/bin/feedstore.rb:265 c:0007 p:0043 s:0026 e:000025 METHOD /var/lib/gems/2.3.0/gems/tarwriter-2.0.5/lib/tarwriter.rb:25 c:0006 p:0052 s:0020 e:000019 BLOCK /nwp/bin/feedstore.rb:264 [FINISH] c:0005 p:---- s:0017 e:000016 CFUNC :open c:0004 p:0040 s:0011 e:000010 METHOD /nwp/bin/feedstore.rb:262 c:0003 p:0008 s:0007 e:000006 METHOD /nwp/bin/feedstore.rb:301 c:0002 p:0151 s:0004 E:000a50 EVAL /nwp/bin/feedstore.rb:307 [FINISH] c:0001 p:0000 s:0002 E:001440 (none) [FINISH] -- Ruby level backtrace information ---------------------------------------- /nwp/bin/feedstore.rb:307:in `
' /nwp/bin/feedstore.rb:301:in `run' /nwp/bin/feedstore.rb:262:in `run2' /nwp/bin/feedstore.rb:262:in `open' /nwp/bin/feedstore.rb:264:in `block in run2' /var/lib/gems/2.3.0/gems/tarwriter-2.0.5/lib/tarwriter.rb:25:in `open' /nwp/bin/feedstore.rb:265:in `block (2 levels) in run2' /nwp/bin/feedstore.rb:265:in `each' /nwp/bin/feedstore.rb:288:in `block (3 levels) in run2' /nwp/bin/feedstore.rb:252:in `getfeed' /usr/lib/ruby/2.3.0/rexml/parsers/streamparser.rb:29:in `parse' /nwp/bin/feedstore.rb:129:in `tag_end' /nwp/bin/feedstore.rb:224:in `block in getfeed' /nwp/bin/feedstore.rb:64:in `get' /usr/lib/ruby/2.3.0/net/http.rb:1308:in `request_get' /usr/lib/ruby/2.3.0/net/http.rb:1407:in `request' /usr/lib/ruby/2.3.0/net/http.rb:1433:in `transport_request' /usr/lib/ruby/2.3.0/net/http.rb:1476:in `begin_transport' /usr/lib/ruby/2.3.0/net/http.rb:878:in `connect' /usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout' /usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout' /usr/lib/ruby/2.3.0/net/http.rb:880:in `block in connect' /usr/lib/ruby/2.3.0/net/http.rb:880:in `open' /usr/lib/ruby/2.3.0/net/http.rb:880:in `initialize' -- Machine register context ------------------------------------------------ RIP: 0x00007f084464983b RBP: 0x00007f0840c46a70 RSP: 0x00007f0840c469b0 RAX: 0x0000000000000000 RBX: 0x00007f0840c469b0 RCX: 0x00007f0840c46a08 RDX: 0x0000000000000000 RDI: 0x0000000000000000 RSI: 0x00007f0844925100 R8: 0x00007f0844b44010 R9: 0x0000000000000000 R10: 0x0000000000000022 R11: 0x0000000000000246 R12: 0x0000000001f20010 R13: 0x0000000000000000 R14: 0x0000000000100000 R15: 0x0000000002742cb0 EFL: 0x0000000000010246 -- C level backtrace information ------------------------------------------- /nwp/bin/run-feedstore.sh: line 29: 22476 Segmentation fault $ruby ${nwp}/bin/feedstore.rb jmx-lmt.db jmx-${reftime} ${ca} -a60 "-xVPRN50" "${feeddir}/regular.xml" "${feeddir}/extra.xml" "${feeddir}/eqvol.xml" "${feeddir}/other.xml" + rc=139 + stderr=-s + case $rc in + logger --tag feedstore --id=22462 -p news.err -s -- rc=139 <59>Oct 31 00:02:25 feedstore[22462]: rc=139 + (( 139 == 0 )) + case $rc in + exit 139 <61>Oct 31 00:02:25 batch.sh[22451]: jobid=run-feedstore-20241031T0902_22451 rc=0 job=