Jenkins build is back to normal : out_of_tree-master #544
See https://ci.trafficserver.apache.org/job/out_of_tree-master/544/changes
Build failed in Jenkins: out_of_tree-master #542
See https://ci.trafficserver.apache.org/job/out_of_tree-master/542/ -- Started by user James Peach Building on master in workspace https://ci.trafficserver.apache.org/job/out_of_tree-master/ws/ /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository /usr/bin/git config remote.origin.url https://git-wip-us.apache.org/repos/asf/trafficserver.git # timeout=10 Cleaning workspace /usr/bin/git rev-parse --verify HEAD # timeout=10 Resetting working tree /usr/bin/git reset --hard # timeout=10 /usr/bin/git clean -fdx # timeout=10 ERROR: Error fetching remote repo 'origin' ERROR: Error fetching remote repo 'origin'
Build failed in Jenkins: out_of_tree-master #543
See https://ci.trafficserver.apache.org/job/out_of_tree-master/543/ -- Started by user Leif Hedstrom Building on master in workspace https://ci.trafficserver.apache.org/job/out_of_tree-master/ws/ /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository /usr/bin/git config remote.origin.url https://git-wip-us.apache.org/repos/asf/trafficserver.git # timeout=10 Cleaning workspace /usr/bin/git rev-parse --verify HEAD # timeout=10 Resetting working tree /usr/bin/git reset --hard # timeout=10 /usr/bin/git clean -fdx # timeout=10 ERROR: Error fetching remote repo 'origin' ERROR: Error fetching remote repo 'origin'
[jira] [Created] (TS-3381) tstop was renamed to traffic_cop, rename the ja locale, too.
Igor Galić created TS-3381: -- Summary: tstop was renamed to traffic_cop, rename the ja locale, too. Key: TS-3381 URL: https://issues.apache.org/jira/browse/TS-3381 Project: Traffic Server Issue Type: Bug Reporter: Igor Galić doc/locale/ja/LC_MESSAGES/reference/commands/tstop.en.po is still left, and needs renaming after TS-2348 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-3008) make check fails for sslheaders when linked against libressl
[ https://issues.apache.org/jira/browse/TS-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311289#comment-14311289 ] Igor Galić commented on TS-3008: this has been resolved, but i don't know when. make check fails for sslheaders when linked against libressl Key: TS-3008 URL: https://issues.apache.org/jira/browse/TS-3008 Project: Traffic Server Issue Type: Bug Components: Plugins, SSL Reporter: Igor Galić Fix For: sometime {code} igalic@levix ...server/plugins/experimental/sslheaders (git)-[master] % make check V=1 make test_sslheaders make[1]: Entering directory `/home/igalic/src/asf/trafficserver/plugins/experimental/sslheaders' /bin/bash ../../../libtool --tag=CXX --mode=link c++ -Wunused-parameter -std=c++11 -ggdb3 -pipe -Wall -Wno-invalid-offsetof -mcx16 -L/opt/libressl/lib -o test_sslheaders test_sslheaders.o libsslhdr.la ../../../lib/ts/libtsutil.la -lcap -lpcre -lz -lcrypt -lpthread -ldl -lxml2 libtool: link: c++ -Wunused-parameter -std=c++11 -ggdb3 -pipe -Wall -Wno-invalid-offsetof -mcx16 -o .libs/test_sslheaders test_sslheaders.o -L/opt/libressl/lib ./.libs/libsslhdr.a ../../../lib/ts/.libs/libtsutil.so -lcap -lpcre -lz -lcrypt -lpthread -ldl -lxml2 -Wl,-rpath -Wl,/opt/ats-trunk/lib /usr/bin/ld: test_sslheaders.o: undefined reference to symbol 'SSL_library_init' //opt/libressl/lib/libssl.so.27: error adding symbols: DSO missing from command line clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [test_sslheaders] Error 1 make[1]: Leaving directory `/home/igalic/src/asf/trafficserver/plugins/experimental/sslheaders' make: *** [check-am] Error 2 2 igalic@levix ...server/plugins/experimental/sslheaders (git)-[master] % {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (TS-3380) ats no longer compiles with libressl
Igor Galić created TS-3380: -- Summary: ats no longer compiles with libressl Key: TS-3380 URL: https://issues.apache.org/jira/browse/TS-3380 Project: Traffic Server Issue Type: Bug Components: SSL Reporter: Igor Galić this probably means we're using an API that would better be left untouched. {code} CXX SSLUtils.o SSLUtils.cc:1681:3: error: use of undeclared identifier 'SSL_CTX_set_cert_cb'; did you mean 'SSL_CTX_set_verify'? SSL_CTX_set_cert_cb(ctx, ssl_cert_callback, NULL); ^~~ SSL_CTX_set_verify /opt/libressl/include/openssl/ssl.h:1638:6: note: 'SSL_CTX_set_verify' declared here void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, ^ SSLUtils.cc:1681:28: error: cannot initialize a parameter of type 'int' with an lvalue of type 'int (SSL *, void *)' SSL_CTX_set_cert_cb(ctx, ssl_cert_callback, NULL); ^ /opt/libressl/include/openssl/ssl.h:1638:43: note: passing argument to parameter 'mode' here void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, ^ 2 errors generated. Makefile:966: recipe for target 'SSLUtils.o' failed {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-3346) Support TS Stat API in Lua
[ https://issues.apache.org/jira/browse/TS-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311451#comment-14311451 ] Kit Chan commented on TS-3346: -- yeah. for sure we can do something more elegant ts.stat_create(name of metric, type, persistence, sync) stat = ts.stat_find(name of metric) stat:increment(incr) stat:decrement(decr) value = stat:get_value() stat:set_value(value) operator overload is possible in lua but not for the assignment. So probably need to give more thoughts on that later on. But it should be a good start. Support TS Stat API in Lua -- Key: TS-3346 URL: https://issues.apache.org/jira/browse/TS-3346 Project: Traffic Server Issue Type: Improvement Components: Lua Reporter: Wei Sun Assignee: Kit Chan Fix For: 5.3.0 Lua script supports to read/collect error rate, timeout rate, avg latency by origin host. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-3381) tstop was renamed to traffic_top, rename the ja locale, too.
[ https://issues.apache.org/jira/browse/TS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-3381: -- Fix Version/s: Docs tstop was renamed to traffic_top, rename the ja locale, too. Key: TS-3381 URL: https://issues.apache.org/jira/browse/TS-3381 Project: Traffic Server Issue Type: Bug Components: Documentation Reporter: Igor Galić Fix For: Docs doc/locale/ja/LC_MESSAGES/reference/commands/tstop.en.po is still left, and needs renaming after TS-2348 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-3381) tstop was renamed to traffic_top, rename the ja locale, too.
[ https://issues.apache.org/jira/browse/TS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-3381: -- Component/s: Documentation tstop was renamed to traffic_top, rename the ja locale, too. Key: TS-3381 URL: https://issues.apache.org/jira/browse/TS-3381 Project: Traffic Server Issue Type: Bug Components: Documentation Reporter: Igor Galić Fix For: Docs doc/locale/ja/LC_MESSAGES/reference/commands/tstop.en.po is still left, and needs renaming after TS-2348 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-3381) tstop was renamed to traffic_top, rename the ja locale, too.
[ https://issues.apache.org/jira/browse/TS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom updated TS-3381: -- Summary: tstop was renamed to traffic_top, rename the ja locale, too. (was: tstop was renamed to traffic_cop, rename the ja locale, too.) tstop was renamed to traffic_top, rename the ja locale, too. Key: TS-3381 URL: https://issues.apache.org/jira/browse/TS-3381 Project: Traffic Server Issue Type: Bug Components: Documentation Reporter: Igor Galić Fix For: Docs doc/locale/ja/LC_MESSAGES/reference/commands/tstop.en.po is still left, and needs renaming after TS-2348 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (TS-3008) make check fails for sslheaders when linked against libressl
[ https://issues.apache.org/jira/browse/TS-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leif Hedstrom resolved TS-3008. --- Resolution: Duplicate Fix Version/s: (was: sometime) make check fails for sslheaders when linked against libressl Key: TS-3008 URL: https://issues.apache.org/jira/browse/TS-3008 Project: Traffic Server Issue Type: Bug Components: Plugins, SSL Reporter: Igor Galić {code} igalic@levix ...server/plugins/experimental/sslheaders (git)-[master] % make check V=1 make test_sslheaders make[1]: Entering directory `/home/igalic/src/asf/trafficserver/plugins/experimental/sslheaders' /bin/bash ../../../libtool --tag=CXX --mode=link c++ -Wunused-parameter -std=c++11 -ggdb3 -pipe -Wall -Wno-invalid-offsetof -mcx16 -L/opt/libressl/lib -o test_sslheaders test_sslheaders.o libsslhdr.la ../../../lib/ts/libtsutil.la -lcap -lpcre -lz -lcrypt -lpthread -ldl -lxml2 libtool: link: c++ -Wunused-parameter -std=c++11 -ggdb3 -pipe -Wall -Wno-invalid-offsetof -mcx16 -o .libs/test_sslheaders test_sslheaders.o -L/opt/libressl/lib ./.libs/libsslhdr.a ../../../lib/ts/.libs/libtsutil.so -lcap -lpcre -lz -lcrypt -lpthread -ldl -lxml2 -Wl,-rpath -Wl,/opt/ats-trunk/lib /usr/bin/ld: test_sslheaders.o: undefined reference to symbol 'SSL_library_init' //opt/libressl/lib/libssl.so.27: error adding symbols: DSO missing from command line clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [test_sslheaders] Error 1 make[1]: Leaving directory `/home/igalic/src/asf/trafficserver/plugins/experimental/sslheaders' make: *** [check-am] Error 2 2 igalic@levix ...server/plugins/experimental/sslheaders (git)-[master] % {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-3346) Support TS Stat API in Lua
[ https://issues.apache.org/jira/browse/TS-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311603#comment-14311603 ] Leif Hedstrom commented on TS-3346: --- Sounds good. So, I'm not particularly familiar with our Lua APIs, so the above was merely a suggestion, if it doesn't fit in with the current model, then that's fine. I also don't know if there are easy ways for the plugins to remember the stats in between invocations, or if it has to do a lookup on each of them every time (which could get expensive for sure). I also kinda see the plugin as experimental for a while, until we figure out exactly how and where our Lua strategy goes. :) Support TS Stat API in Lua -- Key: TS-3346 URL: https://issues.apache.org/jira/browse/TS-3346 Project: Traffic Server Issue Type: Improvement Components: Lua Reporter: Wei Sun Assignee: Kit Chan Fix For: 5.3.0 Lua script supports to read/collect error rate, timeout rate, avg latency by origin host. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-2729) Add HTTP/2 support to ATS
[ https://issues.apache.org/jira/browse/TS-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryo Okubo updated TS-2729: -- Description: h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * 0003-h2-prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. DONE * Fundamental HTTP/2 frame handling * Flow control * Some error handlings h2. TODO * Refactoring * More debugging * Write documents * Add test tools for HPACK, HTTP/2 frames h2. No plan * [Server Push|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-8.2] * [Stream Priority|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-5.3] * [Alternative Services|https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-06] was: h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * h2_prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. WIP * Improve h2_prototype * Implement hpack test tools Add HTTP/2 support to ATS - Key: TS-2729 URL: https://issues.apache.org/jira/browse/TS-2729 Project: Traffic Server Issue Type: New Feature Components: HTTP/2 Reporter: Ryo Okubo Assignee: James Peach Labels: review Fix For: 6.0.0 Attachments: 0003-h2-prototype.patch, h2c_upgrade.patch, hpack.patch, http2-0004.patch h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * 0003-h2-prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. DONE * Fundamental HTTP/2 frame handling * Flow control * Some error handlings h2. TODO * Refactoring * More debugging * Write documents * Add test tools for HPACK, HTTP/2 frames h2. No plan * [Server Push|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-8.2] * [Stream Priority|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-5.3] * [Alternative Services|https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-06] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (TS-2729) Add HTTP/2 support to ATS
[ https://issues.apache.org/jira/browse/TS-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14311790#comment-14311790 ] Leif Hedstrom commented on TS-2729: --- Playing with this again, starting to look good! I get one warning when compiling: {code} In file included from HttpClientSession.cc:35:0: HttpClientSession.h: In constructor ‘HttpClientSession::HttpClientSession()’: HttpClientSession.h:128:8: warning: ‘HttpClientSession::slave_ka_vio’ will be initialized after [-Wreorder] VIO *slave_ka_vio; ^ HttpClientSession.h:118:8: warning: ‘bool HttpClientSession::upgrade_to_h2c’ [-Wreorder] bool upgrade_to_h2c; // Switching to HTTP/2 with upgrade mechanism ^ HttpClientSession.cc:62:1: warning: when initialized here [-Wreorder] HttpClientSession::HttpClientSession() ^ {code} I also can't seem to get it to negotiate over ALPN. I installed OpenSSL 1.0.2 (latest stable), and my config.log shows: {code} use_tls_alpn='1' #define HAVE_SSL_CTX_SET_ALPN_PROTOS 1 #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1 #define HAVE_SSL_GET0_ALPN_SELECTED 1 {code} But, nghttp -s -v shows {code} [ 0.031] Connected [ 0.073][NPN] server offers: * spdy/3.1 * spdy/3 * h2-14 * http/1.1 * http/1.0 The negotiated protocol: h2-14 {code} But, browsers like Chrome Canary does not want to negotiate H2 over NPN. Any ideas? Add HTTP/2 support to ATS - Key: TS-2729 URL: https://issues.apache.org/jira/browse/TS-2729 Project: Traffic Server Issue Type: New Feature Components: HTTP/2 Reporter: Ryo Okubo Assignee: James Peach Labels: review Fix For: 6.0.0 Attachments: 0003-h2-prototype.patch, h2c_upgrade.patch, hpack.patch, http2-0004.patch h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * 0003-h2-prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. DONE * Fundamental HTTP/2 frame handling * Flow control * Some error handlings h2. TODO * Refactoring * More debugging * Write documents * Add test tools for HPACK, HTTP/2 frames h2. No plan * [Server Push|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-8.2] * [Stream Priority|https://tools.ietf.org/html/draft-ietf-httpbis-http2-16#section-5.3] * [Alternative Services|https://tools.ietf.org/html/draft-ietf-httpbis-alt-svc-06] -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (TS-2729) Add HTTP/2 support to ATS
[ https://issues.apache.org/jira/browse/TS-2729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryo Okubo updated TS-2729: -- Description: h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * h2_prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. WIP * Improve h2_prototype * Implement hpack test tools was: h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-14. https://tools.ietf.org/html/draft-ietf-httpbis-http2-14 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * h2_prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. WIP * Improve h2_prototype * Implement hpack test tools Add HTTP/2 support to ATS - Key: TS-2729 URL: https://issues.apache.org/jira/browse/TS-2729 Project: Traffic Server Issue Type: New Feature Components: HTTP/2 Reporter: Ryo Okubo Assignee: James Peach Labels: review Fix For: 6.0.0 Attachments: 0003-h2-prototype.patch, h2c_upgrade.patch, hpack.patch, http2-0004.patch h2. Overview Support HTTP/2 as a client side L7 protocol. This feature is implemented into ATS core. Now, it supports the latest HTTP/2 draft version, h2-16. https://tools.ietf.org/html/draft-ietf-httpbis-http2-16 h2. How to test # Build ATS codes normally. you need neither any build option nor external HTTP/2 library. # Configure settings to use https. # Add settings to records.config to use http2. {noformat} CONFIG proxy.config.http2.enabled INT 1 {noformat} # Access to ATS by HTTP/2 client. h2. Descriptions of current attached patches. * h2_prototype.patch ** For experiment. Please don't merge it. It enables to interpret HTTP/2 requests and respond for it. But now this code is unsafe and dirty. More refactoring is required. h2. WIP * Improve h2_prototype * Implement hpack test tools -- This message was sent by Atlassian JIRA (v6.3.4#6332)