Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI error by building (need Android Plugin 3.1.0) #518

Closed
kelson42 opened this issue Feb 25, 2018 · 8 comments
Closed

CI error by building (need Android Plugin 3.1.0) #518

kelson42 opened this issue Feb 25, 2018 · 8 comments
Assignees

Comments

@kelson42
Copy link
Collaborator

Worker information
hostname: 49d08232-0bf3-43fd-b643-6c70b8499fa6@1.production-1-worker-org-c-5-gce
version: v3.5.0 https://github.com/travis-ci/worker/tree/77dbc57c72d00592aeb754773b712da843c7e00d
instance: travis-job-d6c381b0-c88e-4314-83ea-af9db3c902a1 travis-ci-cookiecat-trusty-1503974222 (via amqp)
startup: 21.214170374s
system_info
Build system information
Build language: android
Build group: stable
Build dist: trusty
Build id: 345903798
Job id: 345903799
Runtime kernel version: 4.4.0-93-generic
travis-build version: 9110597bd
Build image provisioning date and time
Tue Aug 29 03:00:05 UTC 2017
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.5 LTS
Release:	14.04
Codename:	trusty
Cookbooks Version
4642454 https://github.com/travis-ci/travis-cookbooks/tree/4642454
git version
git version 2.14.1
bash version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
gcc version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
docker version
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:10:36 2017
 OS/Arch:      linux/amd64
Server:
 Version:      17.03.1-ce
 API version:  1.27 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:10:36 2017
 OS/Arch:      linux/amd64
 Experimental: false
clang version
clang version 3.9.0 (tags/RELEASE_390/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/clang-3.9.0/bin
jq version
jq-1.5
bats version
Bats 0.4.0
shellcheck version
0.4.6
shfmt version
v1.3.1
ccache version
ccache version 3.1.9
Copyright (C) 2002-2007 Andrew Tridgell
Copyright (C) 2009-2011 Joel Rosdahl
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.
cmake version
cmake version 3.2.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
heroku version
heroku-cli/6.13.19-6cd27b3 (linux-x64) node-v8.3.0
imagemagick version
Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org
md5deep version
4.2
mercurial version
Mercurial Distributed SCM (version 4.2.2)
(see https://mercurial-scm.org for more information)
Copyright (C) 2005-2017 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mysql version
mysql  Ver 14.14 Distrib 5.5.57, for debian-linux-gnu (x86_64) using readline 6.3
openssl version
OpenSSL 1.0.1f 6 Jan 2014
packer version
Packer v1.0.2
Your version of Packer is out of date! The latest version
is 1.0.4. You can update by downloading from www.packer.io
postgresql client version
psql (PostgreSQL) 9.3.18
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
Copyright (c) 2001-2009 by Adrian Thurston
subversion version
svn, version 1.8.8 (r1568071)
   compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu
Copyright (C) 2013 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/
The following repository access (RA) modules are available:
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.3
  - handles 'http' scheme
  - handles 'https' scheme
sudo version
Sudo version 1.8.9p5
Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p:  --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux
Sudoers policy plugin version 1.8.9p5
Sudoers file grammar version 43
Sudoers path: /etc/sudoers
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Root may run sudo
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 15.0 minutes
Password prompt timeout: 0.0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/lib/sudo
Default password prompt: [sudo] password for %p: 
Default user to run commands as: root
Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Path to the editor for use by visudo: /usr/bin/editor
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File descriptors >= 3 will be closed before executing a command
Environment variables to check for sanity:
	TZ
	TERM
	LINGUAS
	LC_*
	LANGUAGE
	LANG
	COLORTERM
Environment variables to remove:
	RUBYOPT
	RUBYLIB
	PYTHONUSERBASE
	PYTHONINSPECT
	PYTHONPATH
	PYTHONHOME
	TMPPREFIX
	ZDOTDIR
	READNULLCMD
	NULLCMD
	FPATH
	PERL5DB
	PERL5OPT
	PERL5LIB
	PERLLIB
	PERLIO_DEBUG 
	JAVA_TOOL_OPTIONS
	SHELLOPTS
	GLOBIGNORE
	PS4
	BASH_ENV
	ENV
	TERMCAP
	TERMPATH
	TERMINFO_DIRS
	TERMINFO
	_RLD*
	LD_*
	PATH_LOCALE
	NLSPATH
	HOSTALIASES
	RES_OPTIONS
	LOCALDOMAIN
	CDPATH
	IFS
Environment variables to preserve:
	JAVA_HOME
	TRAVIS
	CI
	DEBIAN_FRONTEND
	XAUTHORIZATION
	XAUTHORITY
	PS2
	PS1
	PATH
	LS_COLORS
	KRB5CCNAME
	HOSTNAME
	HOME
	DISPLAY
	COLORS
Locale to use while parsing sudoers: C
Directory in which to store input/output logs: /var/log/sudo-io
File in which to store the input/output log: %{seq}
Add an entry to the utmp/utmpx file when allocating a pty
PAM service name to use
PAM service name to use for login shells
Create a new PAM session for the command to run in
Maximum I/O log sequence number: 0
Local IP address and netmask pairs:
	10.240.0.8/255.255.255.255
	172.17.0.1/255.255.0.0
Sudoers I/O plugin version 1.8.9p5
gzip version
gzip 1.6
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly.
zip version
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.
Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.
Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013.
Zip special compilation options:
	USE_EF_UT_TIME       (store Universal Time)
	BZIP2_SUPPORT        (bzip2 library version 1.0.6, 6-Sept-2010)
	    bzip2 code and library copyright (c) Julian R Seward
	    (See the bzip2 license for terms of use)
	SYMLINK_SUPPORT      (symbolic links supported)
	LARGE_FILE_SUPPORT   (can read and write large files on file system)
	ZIP64_SUPPORT        (use Zip64 to store large files in archives)
	UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
	STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
	UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
	[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)
Encryption notice:
	The encryption code of this program is not copyrighted and is
	put in the public domain.  It was originally written in Europe
	and, to the best of our knowledge, can be freely distributed
	in both source and object forms from any country, including
	the USA under License Exception TSU of the U.S. Export
	Administration Regulations (section 740.13(e)) of 6 June 2002.
Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18)
Included patches: 1-52
Extra patches: 8.0.0056
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         +gettext         -mzscheme        +textobjects
-clientserver    -hangul_input    +netbeans_intg   +title
-clipboard       +iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python          +viminfo
+cscope          +lispindent      -python3         +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      -lua             +rightleft       +windows
+diff            +menu            -ruby            +writebackup
+digraphs        +mksession       +scrollbind      -X11
-dnd             +modify_fname    +signs           -xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           -xsmp
+eval            +mouse_dec       +startuptime     -xterm_clipboard
+ex_extra        +mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl    -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions      
iptables version
iptables v1.4.21
curl version
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
wget version
GNU Wget 1.15 built on linux-gnu.
rsync version
rsync  version 3.1.0  protocol version 31
gimme version
v1.2.0
nvm version
0.33.2
rvm version
rvm 1.29.2 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io/]
default ruby version
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
Android SDK Tools Version
25.2.3
List of Android SDK components that can be specified in .travis.yml
addon-google_apis-google-10
addon-google_apis-google-11
addon-google_apis-google-12
addon-google_apis-google-13
addon-google_apis-google-14
addon-google_apis-google-15
addon-google_apis-google-16
addon-google_apis-google-17
addon-google_apis-google-18
addon-google_apis-google-19
addon-google_apis-google-21
addon-google_apis-google-22
addon-google_apis-google-23
addon-google_apis-google-24
addon-google_apis-google-3
addon-google_apis-google-4
addon-google_apis-google-5
addon-google_apis-google-6
addon-google_apis-google-7
addon-google_apis-google-8
addon-google_apis-google-9
addon-google_gdk-google-19
addon-google_tv_addon-google-12
addon-google_tv_addon-google-13
android-10
android-11
android-12
android-13
android-14
android-15
android-16
android-17
android-18
android-19
android-2
android-20
android-21
android-22
android-23
android-24
android-25
android-26
android-3
android-4
android-5
android-6
android-7
android-8
android-9
build-tools-17.0.0
build-tools-18.0.1
build-tools-18.1.0
build-tools-18.1.1
build-tools-19.0.0
build-tools-19.0.1
build-tools-19.0.2
build-tools-19.0.3
build-tools-19.1.0
build-tools-20.0.0
build-tools-21.0.0
build-tools-21.0.1
build-tools-21.0.2
build-tools-21.1.0
build-tools-21.1.1
build-tools-21.1.2
build-tools-22.0.0
build-tools-22.0.1
build-tools-23.0.0
build-tools-23.0.1
build-tools-23.0.2
build-tools-23.0.3
build-tools-24.0.0
build-tools-24.0.1
build-tools-24.0.2
build-tools-24.0.3
build-tools-25.0.0
build-tools-25.0.1
build-tools-25.0.2
build-tools-25.0.3
build-tools-26.0.0
build-tools-26.0.1
doc-24
extra-android-m2repository
extra-google-admob_ads_sdk
extra-google-analytics_sdk_v2
extra-google-auto
extra-google-gcm
extra-google-google_play_services
extra-google-google_play_services_froyo
extra-google-instantapps
extra-google-m2repository
extra-google-market_apk_expansion
extra-google-market_licensing
extra-google-play_billing
extra-google-simulators
extra-google-webdriver
platform-tools
source-14
source-15
source-16
source-17
source-18
source-19
source-20
source-21
source-22
source-23
source-24
source-25
sys-img-arm64-v8a-android-24
sys-img-arm64-v8a-google_apis-24
sys-img-arm64-v8a-google_apis-25
sys-img-armeabi-v7a-android-10
sys-img-armeabi-v7a-android-14
sys-img-armeabi-v7a-android-15
sys-img-armeabi-v7a-android-16
sys-img-armeabi-v7a-android-17
sys-img-armeabi-v7a-android-18
sys-img-armeabi-v7a-android-19
sys-img-armeabi-v7a-android-21
sys-img-armeabi-v7a-android-22
sys-img-armeabi-v7a-android-24
sys-img-armeabi-v7a-android-tv-21
sys-img-armeabi-v7a-android-tv-22
sys-img-armeabi-v7a-android-tv-23
sys-img-armeabi-v7a-android-wear-23
sys-img-armeabi-v7a-android-wear-25
sys-img-armeabi-v7a-google_apis-10
sys-img-armeabi-v7a-google_apis-15
sys-img-armeabi-v7a-google_apis-16
sys-img-armeabi-v7a-google_apis-17
sys-img-armeabi-v7a-google_apis-18
sys-img-armeabi-v7a-google_apis-19
sys-img-armeabi-v7a-google_apis-21
sys-img-armeabi-v7a-google_apis-22
sys-img-armeabi-v7a-google_apis-23
sys-img-armeabi-v7a-google_apis-24
sys-img-armeabi-v7a-google_apis-25
sys-img-mips-android-15
sys-img-mips-android-16
sys-img-mips-android-17
sys-img-x86_64-android-21
sys-img-x86_64-android-22
sys-img-x86_64-android-23
sys-img-x86_64-android-24
sys-img-x86_64-google_apis-21
sys-img-x86_64-google_apis-22
sys-img-x86_64-google_apis-23
sys-img-x86_64-google_apis-24
sys-img-x86_64-google_apis-25
sys-img-x86-android-10
sys-img-x86-android-15
sys-img-x86-android-16
sys-img-x86-android-17
sys-img-x86-android-18
sys-img-x86-android-19
sys-img-x86-android-21
sys-img-x86-android-22
sys-img-x86-android-23
sys-img-x86-android-24
sys-img-x86-android-tv-21
sys-img-x86-android-tv-22
sys-img-x86-android-tv-23
sys-img-x86-android-tv-24
sys-img-x86-android-tv-25
sys-img-x86-android-tv-26
sys-img-x86-android-wear-23
sys-img-x86-android-wear-25
sys-img-x86-android-wear-26
sys-img-x86-google_apis-10
sys-img-x86-google_apis-15
sys-img-x86-google_apis-16
sys-img-x86-google_apis-17
sys-img-x86-google_apis-18
sys-img-x86-google_apis-19
sys-img-x86-google_apis-21
sys-img-x86-google_apis-22
sys-img-x86-google_apis-23
sys-img-x86-google_apis-24
sys-img-x86-google_apis-25
sys-img-x86-google_apis-26
sys-img-x86-google_apis_playstore-24
sys-img-x86-google_apis_playstore-26
tools
which android && echo -e "\033[33;1mSee http://docs.travis-ci.com/user/languages/android/#How-to-install-Android-SDK-components\033[0m"
/usr/local/android-sdk/tools/android
See http://docs.travis-ci.com/user/languages/android/#How-to-install-Android-SDK-components
127.0.0.1 localhost nettuno travis vagrant
127.0.1.1 travis-job-d6c381b0-c88e-4314-83ea-af9db3c902a1 travis-job-d6c381b0-c88e-4314-83ea-af9db3c902a1 ip4-loopback trusty64
$ jdk_switcher use oraclejdk8
Switching to Oracle JDK8 (java-8-oracle), JAVA_HOME will be set to /usr/lib/jvm/java-8-oracle
git.checkout
1.22s$ git clone --depth=50 --branch=master https://github.com/kiwix/kiwix-android.git kiwix/kiwix-android
Cloning into 'kiwix/kiwix-android'...
$ cd kiwix/kiwix-android
$ git checkout -qf d08cdb5ef63837f017b497f77e3e2938b21b80aa
Setting environment variables from repository settings
$ export TRAVIS=[secure]
$ export BITBAR_API_KEY=[secure]
$ export TERM=dumb
Disabling Gradle daemon
0.01s$ mkdir -p ~/.gradle && echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
No build-tools version is specified in android.components. Consider adding one of:
build-tools-27.0.3
build-tools-27.0.2
build-tools-27.0.1
build-tools-27.0.0
build-tools-26.0.3
build-tools-26.0.2
build-tools-26.0.1
build-tools-26.0.0
build-tools-25.0.3
build-tools-25.0.2
build-tools-25.0.1
build-tools-25.0.0
build-tools-24.0.3
build-tools-24.0.2
build-tools-24.0.1
build-tools-24.0.0
build-tools-23.0.3
build-tools-23.0.2
build-tools-23.0.1
build-tools-23.0.0
build-tools-22.0.1
build-tools-22.0.0
build-tools-21.1.2
build-tools-21.1.1
build-tools-21.1.0
build-tools-21.0.2
build-tools-21.0.1
build-tools-21.0.0
build-tools-20.0.0
build-tools-19.1.0
build-tools-19.0.3
build-tools-19.0.2
build-tools-19.0.1
build-tools-19.0.0
build-tools-18.1.1
build-tools-18.1.0
build-tools-18.0.1
build-tools-17.0.0
The following versions are pre-installed:
build-tools-25.0.2
$ export PATH=/usr/local/android-sdk/tools/bin:$PATH
cache.1
Setting up build cache
$ export CASHER_DIR=$HOME/.casher
0.15s$ Installing caching utilities
0.00s
7.76sattempting to download cache archive
fetching master/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-oraclejdk8.tgz
found cache
0.00s
39.93sadding /home/travis/.gradle/caches to cache
creating directory /home/travis/.gradle/caches
adding /home/travis/.gradle/wrapper to cache
creating directory /home/travis/.gradle/wrapper
adding /home/travis/.android/build-cache to cache
creating directory /home/travis/.android/build-cache
$ java -Xmx32m -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
$ javac -J-Xmx32m -version
javac 1.8.0_144
install.1
0.73s$ pip install --user 'requests[security]'
Requirement already satisfied: requests[security] in /usr/lib/python2.7/dist-packages
  requests 2.2.1 does not provide the extra 'security'
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A [secure] SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
install.2
3.94s$ wget -r -nH -nd -np -R index.html* robots.txt* http://download.kiwix.org/dev/android/api/licenses/ -e robots=off -P $ANDROID_HOME/licenses || [secure]
--2018-02-25 12:24:28--  http://robots.txt*/
Resolving robots.txt* (robots.txt*)... failed: Name or service not known.
wget: unable to resolve host address ‘robots.txt*’
--2018-02-25 12:24:28--  http://download.kiwix.org/dev/android/api/licenses/
Resolving download.kiwix.org (download.kiwix.org)... 62.210.143.55
Connecting to download.kiwix.org (download.kiwix.org)|62.210.143.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html’
     0K .                                                     100%  161M=0s
2018-02-25 12:24:29 (161 MB/s) - ‘/usr/local/android-sdk//licenses/index.html’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html since it should be rejected.
--2018-02-25 12:24:30--  http://download.kiwix.org/dev/android/api/licenses/?C=N;O=D
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=N;O=D’
     0K .                                                     100%  194M=0s
2018-02-25 12:24:30 (194 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=N;O=D’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=N;O=D since it should be rejected.
--2018-02-25 12:24:30--  http://download.kiwix.org/dev/android/api/licenses/?C=M;O=A
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=M;O=A’
     0K .                                                     100%  209M=0s
2018-02-25 12:24:30 (209 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=M;O=A’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=M;O=A since it should be rejected.
--2018-02-25 12:24:30--  http://download.kiwix.org/dev/android/api/licenses/?C=S;O=A
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=S;O=A’
     0K .                                                     100%  177M=0s
2018-02-25 12:24:30 (177 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=S;O=A’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=S;O=A since it should be rejected.
--2018-02-25 12:24:30--  http://download.kiwix.org/dev/android/api/licenses/?C=D;O=A
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=D;O=A’
     0K .                                                     100% 2.39M=0s
2018-02-25 12:24:31 (2.39 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=D;O=A’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=D;O=A since it should be rejected.
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/android-googletv-license
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 41
Saving to: ‘/usr/local/android-sdk//licenses/android-googletv-license’
     0K                                                       100% 8.02M=0s
2018-02-25 12:24:31 (8.02 MB/s) - ‘/usr/local/android-sdk//licenses/android-googletv-license’ saved [41/41]
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/android-sdk-license
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 82
Saving to: ‘/usr/local/android-sdk//licenses/android-sdk-license’
     0K                                                       100% 11.2M=0s
2018-02-25 12:24:31 (11.2 MB/s) - ‘/usr/local/android-sdk//licenses/android-sdk-license’ saved [82/82]
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/android-sdk-preview-license
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 41
Saving to: ‘/usr/local/android-sdk//licenses/android-sdk-preview-license’
     0K                                                       100% 8.47M=0s
2018-02-25 12:24:31 (8.47 MB/s) - ‘/usr/local/android-sdk//licenses/android-sdk-preview-license’ saved [41/41]
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/google-gdk-license
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 41
Saving to: ‘/usr/local/android-sdk//licenses/google-gdk-license’
     0K                                                       100% 8.55M=0s
2018-02-25 12:24:31 (8.55 MB/s) - ‘/usr/local/android-sdk//licenses/google-gdk-license’ saved [41/41]
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/mips-android-sysimage-license
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 41
Saving to: ‘/usr/local/android-sdk//licenses/mips-android-sysimage-license’
     0K                                                       100% 5.87M=0s
2018-02-25 12:24:31 (5.87 MB/s) - ‘/usr/local/android-sdk//licenses/mips-android-sysimage-license’ saved [41/41]
--2018-02-25 12:24:31--  http://download.kiwix.org/dev/android/api/licenses/?C=N;O=A
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=N;O=A’
     0K .                                                     100%  218M=0s
2018-02-25 12:24:32 (218 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=N;O=A’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=N;O=A since it should be rejected.
--2018-02-25 12:24:32--  http://download.kiwix.org/dev/android/api/licenses/?C=M;O=D
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=M;O=D’
     0K .                                                     100% 78.1M=0s
2018-02-25 12:24:32 (78.1 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=M;O=D’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=M;O=D since it should be rejected.
--2018-02-25 12:24:32--  http://download.kiwix.org/dev/android/api/licenses/?C=S;O=D
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=S;O=D’
     0K .                                                     100%  198M=0s
2018-02-25 12:24:32 (198 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=S;O=D’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=S;O=D since it should be rejected.
--2018-02-25 12:24:32--  http://download.kiwix.org/dev/android/api/licenses/?C=D;O=D
Reusing existing connection to download.kiwix.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1239 (1.2K) [text/html]
Saving to: ‘/usr/local/android-sdk//licenses/index.html?C=D;O=D’
     0K .                                                     100%  271M=0s
2018-02-25 12:24:32 (271 MB/s) - ‘/usr/local/android-sdk//licenses/index.html?C=D;O=D’ saved [1239/1239]
Removing /usr/local/android-sdk//licenses/index.html?C=D;O=D since it should be rejected.
FINISHED --2018-02-25 12:24:32--
Total wall clock time: 3.9s
Downloaded: 14 files, 11K in 0.001s (18.8 MB/s)
343.19s$ ./gradlew assembleKiwixRelease testdroidUploadKiwix && ./testdroid.py
WARNING: BuildType(local_download_server): buildConfigField 'KIWIX_DOWNLOAD_URL' value is being replaced: "http://download.kiwix.org/" -> "http://kiwix-download-server/"
Configuring Kiwix
Configuring customexample
File /home/travis/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 26.0.2 in /usr/local/android-sdk/licenses
License for package Android SDK Build-Tools 26.0.2 accepted.
Preparing "Install Android SDK Build-Tools 26.0.2 (revision: 26.0.2)".
"Install Android SDK Build-Tools 26.0.2 (revision: 26.0.2)" ready.
Installing Android SDK Build-Tools 26.0.2 in /usr/local/android-sdk/build-tools/26.0.2
"Install Android SDK Build-Tools 26.0.2 (revision: 26.0.2)" complete.
"Install Android SDK Build-Tools 26.0.2 (revision: 26.0.2)" finished.
Checking the license for package Android SDK Platform 27 in /usr/local/android-sdk/licenses
License for package Android SDK Platform 27 accepted.
Preparing "Install Android SDK Platform 27 (revision: 1)".
"Install Android SDK Platform 27 (revision: 1)" ready.
Installing Android SDK Platform 27 in /usr/local/android-sdk/platforms/android-27
"Install Android SDK Platform 27 (revision: 1)" complete.
"Install Android SDK Platform 27 (revision: 1)" finished.
:app:preBuild UP-TO-DATE
:app:preKiwixReleaseBuild
:app:compileKiwixReleaseAidl
:app:compileKiwixReleaseRenderscript
:app:checkKiwixReleaseManifest
:app:generateKiwixReleaseBuildConfig
:app:prepareLintJar
:app:generateKiwixReleaseResValues
:app:generateKiwixReleaseResources
:app:mergeKiwixReleaseResources
:app:createKiwixReleaseCompatibleScreenManifests
:app:processKiwixReleaseManifest
:app:splitsDiscoveryTaskKiwixRelease
:app:processKiwixReleaseResources
:app:generateKiwixReleaseSources
:app:javaPreCompileKiwixRelease
:app:compileKiwixReleaseJavaWithJavacwarning: Supported source version 'RELEASE_6' from annotation processor 'com.yahoo.squidb.processor.ModelSpecProcessor' less than -source '1.8'
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:app:compileKiwixReleaseNdk NO-SOURCE
:app:compileKiwixReleaseSources
:app:lintVitalKiwixRelease
:app:mergeKiwixReleaseShaders
:app:compileKiwixReleaseShaders
:app:generateKiwixReleaseAssets
:app:mergeKiwixReleaseAssets
:app:extractTryWithResourcesSupportJarKiwixRelease
:app:transformClassesWithStackFramesFixerForKiwixRelease
:app:transformClassesWithDesugarForKiwixRelease
:app:transformClassesWithDexBuilderForKiwixRelease
D8 is used to build dex.
:app:transformClassesWithMultidexlistForKiwixRelease
:app:transformDexArchiveWithDexMergerForKiwixRelease
D8 is used to merge dex.
:app:mergeKiwixReleaseJniLibFolders
:app:transformNativeLibsWithMergeJniLibsForKiwixRelease
:app:processKiwixReleaseJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForKiwixRelease
:app:packageKiwixRelease
:app:assembleKiwixRelease
:app:preKiwixDebugBuild
:app:compileKiwixDebugAidl
:app:compileKiwixDebugRenderscript
:app:checkKiwixDebugManifest
:app:generateKiwixDebugBuildConfig
:app:generateKiwixDebugResValues
:app:generateKiwixDebugResources
:app:mergeKiwixDebugResources
:app:createKiwixDebugCompatibleScreenManifests
:app:processKiwixDebugManifest
:app:splitsDiscoveryTaskKiwixDebug
:app:processKiwixDebugResources
:app:generateKiwixDebugSources
:app:javaPreCompileKiwixDebug
:app:compileKiwixDebugJavaWithJavacwarning: Supported source version 'RELEASE_6' from annotation processor 'com.yahoo.squidb.processor.ModelSpecProcessor' less than -source '1.8'
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
:app:bundleAppClassesKiwixDebug
:app:preKiwixDebugAndroidTestBuild
:app:compileKiwixDebugAndroidTestAidl
:app:processKiwixDebugAndroidTestManifest
:app:compileKiwixDebugAndroidTestRenderscript
:app:generateKiwixDebugAndroidTestBuildConfig
:app:generateKiwixDebugAndroidTestResValues
:app:generateKiwixDebugAndroidTestResources
:app:mergeKiwixDebugAndroidTestResources
:app:splitsDiscoveryTaskKiwixDebugAndroidTest
:app:processKiwixDebugAndroidTestResources
:app:generateKiwixDebugAndroidTestSources
:app:javaPreCompileKiwixDebugAndroidTest
:app:compileKiwixDebugAndroidTestJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/travis/build/kiwix/kiwix-android/app/build/generated/source/apt/androidTest/kiwix/debug/org/kiwix/kiwixmobile/di/components/DaggerTestComponent.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:app:compileKiwixDebugAndroidTestNdk NO-SOURCE
:app:compileKiwixDebugAndroidTestSources
:app:mergeKiwixDebugAndroidTestShaders
:app:compileKiwixDebugAndroidTestShaders
:app:generateKiwixDebugAndroidTestAssets
:app:mergeKiwixDebugAndroidTestAssets
:app:extractTryWithResourcesSupportJarKiwixDebugAndroidTest
:app:transformClassesWithStackFramesFixerForKiwixDebugAndroidTest
:app:transformClassesWithDesugarForKiwixDebugAndroidTest
:app:transformClassesWithDexBuilderForKiwixDebugAndroidTest
D8 is used to build dex.
:app:transformDexArchiveWithExternalLibsDexMergerForKiwixDebugAndroidTest
:app:transformDexArchiveWithDexMergerForKiwixDebugAndroidTest
D8 is used to merge dex.
:app:mergeKiwixDebugAndroidTestJniLibFolders
:app:transformNativeLibsWithMergeJniLibsForKiwixDebugAndroidTest
:app:processKiwixDebugAndroidTestJavaRes
:app:transformResourcesWithMergeJavaResForKiwixDebugAndroidTest
:app:validateSigningKiwixDebugAndroidTest
:app:packageKiwixDebugAndroidTest
:app:assembleKiwixDebugAndroidTest
:app:mergeKiwixDebugShaders
:app:compileKiwixDebugShaders
:app:generateKiwixDebugAssets
:app:mergeKiwixDebugAssets
:app:extractTryWithResourcesSupportJarKiwixDebug
:app:transformClassesWithStackFramesFixerForKiwixDebug
:app:transformClassesWithDesugarForKiwixDebug
:app:transformClassesWithDexBuilderForKiwixDebug
D8 is used to build dex.
:app:transformClassesWithMultidexlistForKiwixDebug
:app:transformDexArchiveWithDexMergerForKiwixDebug
D8 is used to merge dex.
:app:compileKiwixDebugNdk NO-SOURCE
:app:mergeKiwixDebugJniLibFolders
:app:transformNativeLibsWithMergeJniLibsForKiwixDebug
:app:processKiwixDebugJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForKiwixDebug
:app:validateSigningKiwixDebug
:app:packageKiwixDebug
:app:testdroidUploadKiwixDebugAndroidTest
TESTDROID: Using APIClientType APIKEY
BUILD SUCCESSFUL in 3m 10s
83 actionable tasks: 83 executed
Exception in thread "Thread-32" java.lang.NoClassDefFoundError: com/android/utils/PathUtils$1
	at com.android.utils.PathUtils.deleteIfExists(PathUtils.java:47)
	at com.android.utils.PathUtils.lambda$addRemovePathHook$0(PathUtils.java:125)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.android.utils.PathUtils$1
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 3 more
Running tests
Waiting for results
Waiting for results
Waiting for results
Waiting for results
Waiting for results
Traceback (most recent call last):
  File "./testdroid.py", line 28, in <module>
    raise AssertionError("Success ratio only: {}".format(ratio))
AssertionError: Success ratio only: 0.833333
The command "./gradlew assembleKiwixRelease testdroidUploadKiwix && ./testdroid.py" exited with 1.
before_cache.1
0.01s$ rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
before_cache.2
0.01s$ rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache.2
store build cache
0.01s
87.76schange detected (content changed, file is created, or file is deleted):
/home/travis/.gradle/caches/4.1/fileHashes/fileHashes.bin
/home/travis/.gradle/caches/4.1/fileHashes/fileHashes.lock
/home/travis/.gradle/caches/modules-2/metadata-2.23/module-metadata.bin
/home/travis/.gradle/caches/transforms-1/transforms-1.lock
changes detected, packing new archive
.
.
.
@kelson42 kelson42 added the bug label Feb 25, 2018
@dr0pdb
Copy link
Contributor

dr0pdb commented Feb 25, 2018

@kelson42 I don't think it's a bug from our side.
It's already reported on the google issue tracker here

@brijeshshah13
Copy link
Contributor

@kelson42 @srv-twry Yes. This issue will be fixed in Android Plugin Version 3.1.0-alpha5. And currently we are using version 3.0.1.

@kelson42
Copy link
Collaborator Author

@srv-twry @brijeshshah13 What is the timeline to get this fixed (release of version 3.1.0 of Android Plugin)? What would be then needed to do?

@brijeshshah13
Copy link
Contributor

@kelson42 No fixed date has yet been issued for the release of version 3.1.0. You can refer this as a reference on how to upgrade to the latest version of Android Plugin Version.

@kelson42 kelson42 changed the title CI does not build Kiwix Android properly CI does not build Kiwix Android properly (need Android Plugin 3.1.0) Feb 25, 2018
@mhutti1
Copy link
Contributor

mhutti1 commented Feb 25, 2018

@kelson42 This has been happening for sometime and as far as I am aware has no adverse effects on any part of the build process.

@brijeshshah13
Copy link
Contributor

@mhutti1 Agreed. @kelson42 So shall we close this issue as this can be dealt only after the release of the updated Android Plugin version?

@kelson42 kelson42 changed the title CI does not build Kiwix Android properly (need Android Plugin 3.1.0) CI errorr by building (need Android Plugin 3.1.0) Feb 26, 2018
@kelson42 kelson42 added enhancement and removed bug labels Feb 26, 2018
@kelson42
Copy link
Collaborator Author

Keep track of this tu update the Android plugin ASAP

@brijeshshah13
Copy link
Contributor

@kelson42 Sure. I will keep an eye out for the release of the updated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants