You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/07/09 01:03:04 UTC

[jira] [Commented] (TS-3657) Run tsqa with ASAN (and perhaps a TSAN) builds

    [ https://issues.apache.org/jira/browse/TS-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619542#comment-14619542 ] 

Leif Hedstrom commented on TS-3657:
-----------------------------------

The latest traffic_layout supports producing a JSON output, that lists all build specific features.

E.g.

{code}
root@www 80/0 # traffic_layout  -f -j
{
    "BUILD_MACHINE": "www.example.com",
    "BUILD_PERSON": "leif",
    "BUILD_GROUP": "users",
    "BUILD_NUMBER": "",
    "TS_HAS_LIBZ": 0,
    "TS_HAS_LZMA": 0,
    "TS_HAS_JEMALLOC": 0,
    "TS_HAS_TCMALLOC": 0,
    "TS_HAS_IN6_IS_ADDR_UNSPECIFIED": 1,
    "TS_HAS_BACKTRACE": 1,
    "TS_HAS_PROFILER": 0,
    "TS_USE_FAST_SDK": 0,
    "TS_USE_DIAGS": 1,
    "TS_USE_EPOLL": 1,
    "TS_USE_KQUEUE": 0,
    "TS_USE_PORT": 0,
    "TS_USE_POSIX_CAP": 1,
    "TS_USE_TPROXY": 1,
    "TS_HAS_SO_MARK": 1,
    "TS_HAS_SPDY": 1,
    "TS_HAS_IP_TOS": 1,
    "TS_USE_HWLOC": 1,
    "TS_USE_FREELIST": 1,
    "TS_USE_TLS_NPN": 1,
    "TS_USE_TLS_ALPN": 0,
    "TS_USE_TLS_SNI": 1,
    "TS_USE_CERT_CB": 0,
    "TS_USE_SET_RBIO": 0,
    "TS_USE_TLS_ECKEY": 1,
    "TS_USE_LINUX_NATIVE_AIO": 0,
    "TS_HAS_SO_PEERCRED": 1,
    "TS_USE_REMOTE_UNWINDING": 1,
    "GETHOSTBYNAME_R_GLIBC2": 1,
    "SIZEOF_VOID_POINTER": 8,
    "TS_IP_TRANSPARENT": 19,
    "TS_HAS_128BIT_CAS": 1,
    "TS_HAS_TESTS": 1,
    "TS_HAS_WCCP": 0,
    "TS_MAX_THREADS_IN_EACH_THREAD_TYPE": 3072,
    "TS_MAX_NUMBER_EVENT_THREADS": 4096,
    "TS_MAX_HOST_NAME_LEN": 256,
    "TS_MAX_API_STATS": 512,
    "SPLIT_DNS": 1,
    "HTTP_CACHE": 1,
    "TS_PKGSYSUSER": "nobody",
    "TS_PKGSYSGROUP": "nobody"
}
{code}

> Run tsqa with ASAN (and perhaps a TSAN) builds
> ----------------------------------------------
>
>                 Key: TS-3657
>                 URL: https://issues.apache.org/jira/browse/TS-3657
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: tsqa
>            Reporter: Leif Hedstrom
>            Assignee: Thomas Jackson
>             Fix For: sometime
>
>
> We should just enable ASAN (when available) on the tsqa run(s). We will trip on some other stuff as well, I've filed some other Jira's on that issue.
> But, running all of tsqa through ASAN builds would be very useful. On the CI, you would have to use a different gcc. Specifically:
> {code}
> CC="/opt/gcc/bin/gcc"; export CC
> CXX="/opt/gcc/bin/g++"; export CXX
> CFLAGS="-fsanitize=address -fno-omit-frame-pointer"; export CFLAGS
> CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer"; export CXXFLAGS
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)