[GitHub] [tomcat] martin-g merged pull request #236: Test Tomcat on ARM64 at TravisCI

2020-02-02 Thread GitBox
martin-g merged pull request #236: Test Tomcat on ARM64 at TravisCI
URL: https://github.com/apache/tomcat/pull/236
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch master updated (c69d80a -> f386fbb)

2020-02-02 Thread mgrigorov
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git.


from c69d80a  Make UTF-8 the default request and response encoding
 new e6ebd23  Test Tomcat on ARM64 at TravisCI
 new f00ac55  Merge branch 'master' into feature/build-tomcat-on-arm64
 new f386fbb  Merge pull request #236 from 
martin-g/feature/build-tomcat-on-arm64

The 21785 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml| 67 ++
 .travis/antTest.sh |  8 +++
 2 files changed, 75 insertions(+)
 create mode 100644 .travis.yml
 create mode 100755 .travis/antTest.sh


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 9.0.x updated: Test Tomcat on ARM64 at TravisCI

2020-02-02 Thread mgrigorov
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
 new 58a490b  Test Tomcat on ARM64 at TravisCI
58a490b is described below

commit 58a490bfa7429d33cd3437b8470569daa7d9be30
Author: Martin Tzvetanov Grigorov 
AuthorDate: Thu Jan 23 11:53:22 2020 +0200

Test Tomcat on ARM64 at TravisCI

(cherry picked from commit e6ebd2346850a14c3ff59a2372169a167958e024)
---
 .travis.yml| 67 ++
 .travis/antTest.sh |  8 +++
 2 files changed, 75 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000..04a14c9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,67 @@
+dist: bionic
+language: java
+jdk: oraclejdk8
+arch: arm64
+
+addons:
+apt:
+  packages:
+- ant
+- build-essential
+- automake
+- autoconf
+- tar
+- libssl-dev
+- subversion
+- git
+- libtool-bin
+
+install:
+- ARCH=`uname -p`
+- echo $ARCH
+- 
JDK_X64="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u242b08.tar.gz";
+- 
JDK_ARM64="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_aarch64_linux_hotspot_8u232b09.tar.gz";
+- if test "X$ARCH" = "Xaarch64"; then JDK_URL=$JDK_ARM64; else 
JDK_URL=$JDK_X64; fi
+- wget -q $JDK_URL && tar xzf OpenJDK*.tar.gz
+- mv jdk8* jdk
+- export JAVA_HOME=`pwd`/jdk
+- wget -q 
http://mirrors.netix.net/apache/ant/binaries/apache-ant-1.10.7-bin.tar.gz && 
tar xzf apache-ant-*-bin.tar.gz
+- export ANT_HOME=`pwd`/apache-ant-1.10.7
+- export PATH="$JAVA_HOME/bin:$ANT_HOME/bin:$PATH"
+- java -version
+- ant -version
+- rm -rf $HOME/tmp
+- export CURR_PWD=`pwd`
+- svn co -q https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x/ 
$HOME/tmp/apr
+- cd $HOME/tmp/apr
+- ./buildconf
+- ./configure --prefix=$HOME/tmp/apr-build
+- make
+- make install
+- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/tmp/apr-build/lib"
+- git clone -q https://github.com/apache/tomcat-native.git 
$HOME/tmp/tomcat-native
+- cd $HOME/tmp/tomcat-native/native
+- sh buildconf --with-apr=$HOME/tmp/apr
+- ./configure --with-apr=$HOME/tmp/apr --with-java-home=$JAVA_HOME 
--with-ssl=yes --prefix=$HOME/tmp/tomcat-native-build
+- make
+- make install
+- cd $CURR_PWD
+- yes | cp build.properties.default build.properties
+- echo "test.threads=16" >> build.properties
+- echo "test.relaxTiming=true" >> build.properties
+- echo "test.excludePerformance=true" >> build.properties
+- echo "test.openssl.path=/dev/null/openssl" >> build.properties
+- echo "test.apr.loc=$HOME/tmp/tomcat-native-build/lib" >> build.properties
+
+
+script:
+- ant -q clean
+- travis_wait 60 "./.travis/antTest.sh"
+
+after_failure:
+- tail -n 5000 ant-test.log
+- ls -laR $HOME/tomcat-build-libs
+
+notifications:
+email:
+  - dev@tomcat.apache.org
\ No newline at end of file
diff --git a/.travis/antTest.sh b/.travis/antTest.sh
new file mode 100755
index 000..155004c
--- /dev/null
+++ b/.travis/antTest.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# A helper script for TravisCI builds that saves the std
+# out and err streams in a log file. This is needed
+# because otherwise TravisCI complains that there is too
+# much logging on stdout
+
+ant -q test 2>&1 > ant-test.log


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[tomcat] branch 8.5.x updated: Test Tomcat on ARM64 at TravisCI

2020-02-02 Thread mgrigorov
This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
 new 7f057cd  Test Tomcat on ARM64 at TravisCI
7f057cd is described below

commit 7f057cd455ab689fae217761443d9432d6803ff0
Author: Martin Tzvetanov Grigorov 
AuthorDate: Thu Jan 23 11:53:22 2020 +0200

Test Tomcat on ARM64 at TravisCI

(cherry picked from commit e6ebd2346850a14c3ff59a2372169a167958e024)
---
 .travis.yml| 67 ++
 .travis/antTest.sh |  8 +++
 2 files changed, 75 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000..04a14c9
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,67 @@
+dist: bionic
+language: java
+jdk: oraclejdk8
+arch: arm64
+
+addons:
+apt:
+  packages:
+- ant
+- build-essential
+- automake
+- autoconf
+- tar
+- libssl-dev
+- subversion
+- git
+- libtool-bin
+
+install:
+- ARCH=`uname -p`
+- echo $ARCH
+- 
JDK_X64="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u242b08.tar.gz";
+- 
JDK_ARM64="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09/OpenJDK8U-jdk_aarch64_linux_hotspot_8u232b09.tar.gz";
+- if test "X$ARCH" = "Xaarch64"; then JDK_URL=$JDK_ARM64; else 
JDK_URL=$JDK_X64; fi
+- wget -q $JDK_URL && tar xzf OpenJDK*.tar.gz
+- mv jdk8* jdk
+- export JAVA_HOME=`pwd`/jdk
+- wget -q 
http://mirrors.netix.net/apache/ant/binaries/apache-ant-1.10.7-bin.tar.gz && 
tar xzf apache-ant-*-bin.tar.gz
+- export ANT_HOME=`pwd`/apache-ant-1.10.7
+- export PATH="$JAVA_HOME/bin:$ANT_HOME/bin:$PATH"
+- java -version
+- ant -version
+- rm -rf $HOME/tmp
+- export CURR_PWD=`pwd`
+- svn co -q https://svn.apache.org/repos/asf/apr/apr/branches/1.6.x/ 
$HOME/tmp/apr
+- cd $HOME/tmp/apr
+- ./buildconf
+- ./configure --prefix=$HOME/tmp/apr-build
+- make
+- make install
+- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/tmp/apr-build/lib"
+- git clone -q https://github.com/apache/tomcat-native.git 
$HOME/tmp/tomcat-native
+- cd $HOME/tmp/tomcat-native/native
+- sh buildconf --with-apr=$HOME/tmp/apr
+- ./configure --with-apr=$HOME/tmp/apr --with-java-home=$JAVA_HOME 
--with-ssl=yes --prefix=$HOME/tmp/tomcat-native-build
+- make
+- make install
+- cd $CURR_PWD
+- yes | cp build.properties.default build.properties
+- echo "test.threads=16" >> build.properties
+- echo "test.relaxTiming=true" >> build.properties
+- echo "test.excludePerformance=true" >> build.properties
+- echo "test.openssl.path=/dev/null/openssl" >> build.properties
+- echo "test.apr.loc=$HOME/tmp/tomcat-native-build/lib" >> build.properties
+
+
+script:
+- ant -q clean
+- travis_wait 60 "./.travis/antTest.sh"
+
+after_failure:
+- tail -n 5000 ant-test.log
+- ls -laR $HOME/tomcat-build-libs
+
+notifications:
+email:
+  - dev@tomcat.apache.org
\ No newline at end of file
diff --git a/.travis/antTest.sh b/.travis/antTest.sh
new file mode 100755
index 000..155004c
--- /dev/null
+++ b/.travis/antTest.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# A helper script for TravisCI builds that saves the std
+# out and err streams in a log file. This is needed
+# because otherwise TravisCI complains that there is too
+# much logging on stdout
+
+ant -q test 2>&1 > ant-test.log


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot failure in on tomcat-9-trunk

2020-02-02 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-9-trunk while 
building tomcat. Full details are available at:
https://ci.apache.org/builders/tomcat-9-trunk/builds/24

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: asf946_ubuntu

Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-9-commit' 
triggered this build
Build Source Stamp: [branch 9.0.x] 58a490bfa7429d33cd3437b8470569daa7d9be30
Blamelist: Martin Tzvetanov Grigorov 

BUILD FAILED: failed compile_1

Sincerely,
 -The Buildbot




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Updating Tomcat site

2020-02-02 Thread Martin Grigorov
Hi,

I want to update https://tomcat.apache.org/ci.html to mention the testing
on TravisCI on ARM64 architecture.

I've checked out https://svn.apache.org/repos/asf/tomcat/site/trunk.
Before doing any changes executing 'ant' produces huge diff because the
current version has stripped leading spaces, e.g.:

--- docs/bugreport.html (revision 1873518)
+++ docs/bugreport.html (working copy)
@@ -1,589 +1,597 @@
 
 
-
-
-
-
-
-Apache Tomcat® - Reporting Bugs
-
-
-
-
-
-
-
-
-
-http://tomcat.apache.org/";>
-Apache Tomcat®
-
-
-https://www.apache.org/foundation/contributing.html";
target="_blank" class="pull-left">https://www.apache.org/images/SupportApache-small.png"; class="support-asf"
alt="Support Apache">http://www.apache.org/"; target="_blank"
class="pull-left">
-
-
-
-
-
-
-
-https://www.google.com/search"; method="get">
-
-GO
-
-
-
-https://www.apache.org/events/current-event.html";>https://www.apache.org/events/current-event-234x60.png"; alt="Next ASF
event">
-  Save the date!
+
+
+
+
+
+Apache Tomcat® - Reporting Bugs
+
+
+
+
...


I don't see anything in build.xml & build.properties.default that controls
this behavior.
Should I make a no-changes commit just to update the docs/** with the white
spaces or should I do some post-processing to keep the whitespaces out ?

Regards,
Martin

P.S. Who is Glenn L. Nielsen ?
 


Re: buildbot failure in on tomcat-9-trunk

2020-02-02 Thread Martin Grigorov
Hi,

The build failure is not related to my changes.
Similar failure has happened few weeks ago:
https://ci.apache.org/builders/tomcat-9-trunk/builds/12/

Martin

On Mon, Feb 3, 2020 at 9:20 AM  wrote:

> The Buildbot has detected a new failure on builder tomcat-9-trunk while
> building tomcat. Full details are available at:
> https://ci.apache.org/builders/tomcat-9-trunk/builds/24
>
> Buildbot URL: https://ci.apache.org/
>
> Buildslave for this Build: asf946_ubuntu
>
> Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-9-commit'
> triggered this build
> Build Source Stamp: [branch 9.0.x] 58a490bfa7429d33cd3437b8470569daa7d9be30
> Blamelist: Martin Tzvetanov Grigorov 
>
> BUILD FAILED: failed compile_1
>
> Sincerely,
>  -The Buildbot
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>