Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5dc703a
Coverity CID #1241990 Resource leak
PSUdaemon May 12, 2017
edc425d
Remove ending period from error messages.
jpeach May 14, 2017
cacdb55
remove the configuration to enable or disable safe requests retry
vmamidi May 15, 2017
0a84b10
Coverity_1022180_1022181: ka_action can't be KA_UNKNOWN in the switch…
persiaAziz-zz May 17, 2017
56ed25f
Coverity CID #1241990 Resource leak
PSUdaemon May 16, 2017
c1303d4
proxy.config.diags.debug.enabled is reloadable
May 17, 2017
430993b
Various Coverity fixes for logstats
zwoop May 17, 2017
32c4975
Coverity CID #1022089 Copy into fixed size buffer
PSUdaemon May 16, 2017
0931547
Coverity CID #1022090 Copy into fixed size buffer
PSUdaemon May 16, 2017
ba70668
Coverity CID #1367529 Copy into fixed size buffer
PSUdaemon May 16, 2017
f29b920
Adds a coverity model file, and excludes a stat() check
zwoop May 17, 2017
c91c390
Coverity_1021917: closet_match can not be null at that point
persiaAziz May 18, 2017
861ccbd
Coverity CID #1022090 Copy into fixed size buffer
PSUdaemon May 18, 2017
ade891f
Add a couple of CI build scripts, to source from Jenkins
zwoop May 18, 2017
1f8d00d
coredump with server_session
scw00 May 18, 2017
cf93f6e
update epel version.
May 19, 2017
0306c44
remap test for secure communication with origin server
persiaAziz-zz May 10, 2017
d67812d
Fix TSMilestonesType documentation.
calavera May 20, 2017
a578f0d
Delete .indent.pro
danobi May 19, 2017
ec7be29
Issue_1943: get rid of ticket_key_name tag from ssl_multicert
persiaAziz-zz May 19, 2017
b817429
Clean up BaseLogFile
danobi May 5, 2017
48a906a
Plugin ts_lua - Incorrect mapping of transaction configuration parame…
pbchou May 22, 2017
28a6101
obj_found is never be true
scw00 Apr 22, 2017
7a71977
coredump_handleEvent fix
scw00 May 22, 2017
87338da
Delete .gitmodules
danobi May 19, 2017
2ab6c6c
Bump config delete timeout to 5min
zwoop Apr 21, 2017
17e5e5c
ignore .vscode/
May 23, 2017
b594786
Deprecated VConnection do_io
a-canary May 23, 2017
1e41700
Removes the tsqa tests, to avoid confusion. Use autest.
zwoop May 24, 2017
75a9f61
Fixed problem with url_len sometimes not being initialized
bryancall May 25, 2017
d8582f0
Use proper make wrapper, and parallelize
zwoop May 21, 2017
54b7bac
More cleanup of the CI scripts
zwoop May 19, 2017
6c2081e
Coverity 1021693: Uninitialized pointer field
sfeltner-godaddy May 15, 2017
8e85244
Log the Lua error message when evaluating metrics fails.
scw00 May 24, 2017
05cc3df
spawn_thread with atomic operation
oknet May 24, 2017
fa8b73c
Doc: Fixup milestones documentation.
SolidWallOfCode May 21, 2017
80164cd
Doc: Fix up some TS SSL API documentation warnings.
SolidWallOfCode May 25, 2017
15c34d6
Updated clang-tidy default config to be the option that have been com…
bryancall May 15, 2017
560148b
coverity 1224618: Uninitialized scalar field
bryancall May 15, 2017
1c0962e
coverity 1196479: Uninitialized pointer field
bryancall May 11, 2017
2fc651d
Output the responding url when "Warning: Document truncated" occurs f…
taoyunxing May 16, 2017
2bf169e
TS-4265: Thread initialization update.
SolidWallOfCode May 27, 2017
fe9e646
TS-4265: Ready for testing.
SolidWallOfCode May 28, 2017
ed3fd87
TS-4265: Fix start up race condition.
SolidWallOfCode May 29, 2017
fc21288
TS-4265: The Phil Edit.
SolidWallOfCode May 29, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Checks: -*,readability-braces-around-statements,modernize-use-nullptr
Checks: -*,modernize-loop-convert,modernize-use-bool-literals,modernize-deprecated-headers,performance-unnecessary-value-param,performance-faster-string-find,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-use-nullptr,modernize-use-override
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ rc/trafficserver.service
.libs/

.svn/
.vscode/

tsxs

Expand Down
Empty file removed .gitmodules
Empty file.
29 changes: 0 additions & 29 deletions .indent.pro

This file was deleted.

10 changes: 10 additions & 0 deletions ci/coverity-model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,13 @@ void _TSReleaseAssert(const char* txt, const char* f, int l)
}

} /* extern "C" */

// Teach Coverity that the my_exit() in logstats.cc exits ...
struct ExitStatus {
};

void
my_exit(const ExitStatus &status)
{
__coverity_panic__();
}
36 changes: 26 additions & 10 deletions ci/tsqa/nosetests → ci/jenkins/bin/autest.sh
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env bash

#!/bin/sh
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
Expand All @@ -16,15 +16,31 @@
# See the License for the specific language governing permissions and
# limitations under the License.

set -e # exit on error
cd "${WORKSPACE}/src"
[ -d tests ] || exit 0

autoreconf -if

INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"
SANDBOX="/tmp/ausb-$$"

mkdir -p $INSTALL

TSQA=$(cd $(dirname $0); pwd)
./configure --prefix="$INSTALL" \
--with-user=jenkins \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-ccache \
--enable-debug \
--enable-werror

cd $TSQA
# Build and run regressions
${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
${ATS_MAKE} check VERBOSE=Y && ${ATS_MAKE} install

. ./virtualenv/bin/activate
/usr/bin/autest -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
status="$?"
[ -d "$SANDBOX" ] && rm -rf "$SANDBOX"

./virtualenv/bin/nosetests \
--with-xunit \
--nocapture \
"$@"
[ "0" != "$status" ] && exit -1
exit 0
26 changes: 19 additions & 7 deletions ci/jenkins/bin/tsqa.sh → ci/jenkins/bin/clang-format.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Run all the TSQA tests.
TSQA_LAYOUT_DIR="${WORKSPACE}/${BUILD_NUMBER}"
cd "${WORKSPACE}/src/ci/tsqa" || exit 2
make test "TSQA_LAYOUT_DIR=${TSQA_LAYOUT_DIR}"
status=$?
cd "${WORKSPACE}/src"
autoreconf -if && ./configure

# Exit with proper status
exit $status
# Test clang-format, copy our version of clang-format if needed
if [ ! -d .git/fmt ]; then
if [ -z "${ghprbTargetBranch}" ]; then
cp -rp /home/jenkins/clang-format/master .git/fmt
else
# This is for Github PR's, to make sure we use the right clang-format for the branch.
# This is not an issue on normal branch builds, since they will have the right .git/fmt.
cp -rp /home/jenkins/clang-format/${ghprbTargetBranch} .git/fmt
fi
fi

${ATS_MAKE} -j clang-format
git diff --exit-code
[ "0" != "$?" ] && exit -1

# Normal exit
exit 0
25 changes: 10 additions & 15 deletions ci/jenkins/bin/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Setup autoconf
INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"

mkdir -p ${INSTALL}
cd src
autoreconf -if

mkdir -p "${WORKSPACE}/${BUILD_NUMBER}/install"

./configure --prefix="${WORKSPACE}/${BUILD_NUMBER}/install" \
./configure --prefix="${INSTALL}" \
--with-user=jenkins \
--enable-experimental-plugins \
--enable-example-plugins \
--enable-ccache \
--enable-debug \
--enable-werror

# Test clang-format (but only where we have the local copy of clang-format, i.e. linux)
if [ -d /usr/local/fmt ]; then
[ ! -d .git/fmt ] && cp -rp /usr/local/fmt .git
make clang-format
git diff --exit-code
[ "0" != "$?" ] && exit -1
fi

# Build and run regressions
make -j4
make check VERBOSE=Y && make install
${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q=
${ATS_MAKE} check VERBOSE=Y && ${ATS_MAKE} install

${INSTALL}/bin/traffic_server -K -k -R 1
[ "0" != "$?" ] && exit -1

"${WORKSPACE}/${BUILD_NUMBER}/install/bin/traffic_server" -K -k -R 1
exit 0
90 changes: 0 additions & 90 deletions ci/tsqa/Makefile

This file was deleted.

54 changes: 0 additions & 54 deletions ci/tsqa/README.rst

This file was deleted.

7 changes: 0 additions & 7 deletions ci/tsqa/TODO

This file was deleted.

20 changes: 0 additions & 20 deletions ci/tsqa/files/cert.pem

This file was deleted.

29 changes: 0 additions & 29 deletions ci/tsqa/files/ec_keys/README.rst

This file was deleted.

12 changes: 0 additions & 12 deletions ci/tsqa/files/ec_keys/ca.crt

This file was deleted.

Loading