See 
<http://build.geoserver.org/job/geotools-master-online-postgis/995/display/redirect>

------------------------------------------
Started by user Torben Barsballe
ln builds/lastSuccessfulBuild 
/var/lib/jenkins/jobs/geotools-master-online-postgis/lastSuccessful failed
java.nio.file.DirectoryNotEmptyException: 
/var/lib/jenkins/jobs/geotools-master-online-postgis/lastSuccessful
        at 
sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
        at 
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
        at java.nio.file.Files.deleteIfExists(Files.java:1165)
        at hudson.Util.createSymlink(Util.java:1193)
        at hudson.model.Run.createSymlink(Run.java:1955)
        at hudson.model.Run.updateSymlinks(Run.java:1936)
        at hudson.model.Run.execute(Run.java:1814)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
ln builds/lastStableBuild 
/var/lib/jenkins/jobs/geotools-master-online-postgis/lastStable failed
java.nio.file.DirectoryNotEmptyException: 
/var/lib/jenkins/jobs/geotools-master-online-postgis/lastStable
        at 
sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
        at 
sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
        at java.nio.file.Files.deleteIfExists(Files.java:1165)
        at hudson.Util.createSymlink(Util.java:1193)
        at hudson.model.Run.createSymlink(Run.java:1955)
        at hudson.model.Run.updateSymlinks(Run.java:1937)
        at hudson.model.Run.execute(Run.java:1814)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
Building remotely on i-0db6da93b14a17de4 (linux-fleet) in workspace 
<http://build.geoserver.org/job/geotools-master-online-postgis/ws/>
Unpacking 
https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u212-b03/OpenJDK8U-jdk_x64_linux_hotspot_8u212b03.tar.gz
 to /tmp/jenkins-bffe3e04/tools/hudson.model.JDK/OpenJDK_8u212 on 
i-0db6da93b14a17de4
No credentials specified
Cloning the remote Git repository
Cloning repository git://github.com/geotools/geotools.git
 > git init <http://build.geoserver.org/job/geotools-master-online-postgis/ws/> 
 > # timeout=10
Fetching upstream changes from git://github.com/geotools/geotools.git
 > git --version # timeout=10
 > git fetch --tags --progress git://github.com/geotools/geotools.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git://github.com/geotools/geotools.git # 
 > timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url git://github.com/geotools/geotools.git # 
 > timeout=10
Fetching upstream changes from git://github.com/geotools/geotools.git
 > git fetch --tags --progress git://github.com/geotools/geotools.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 002682c9fec97699687fc7f859f85a01ceec24fe (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 002682c9fec97699687fc7f859f85a01ceec24fe
Commit message: "[GEOT-6004] Parsing WMTSGetCapabilitiesResponse fails for 
ows:Profile (#2417)"
 > git rev-list --no-walk 002682c9fec97699687fc7f859f85a01ceec24fe # timeout=10
[geotools-master-online-postgis] $ /bin/sh -xe 
/tmp/jenkins9019823634687502709.sh
+ mkdir -p /home/ubuntu/.geotools
+ rm -f /home/ubuntu/.geotools/postgis.properties
+ rm -f /home/ubuntu/.geotools/mysql.properties
+ rm -f /home/ubuntu/.geotools/sqlserver.properties
+ rm -f /home/ubuntu/.geotools/oracle.properties
+ printf 
user=geotools\nport=5432\npassword=\npasswd=\nurl=jdbc\:postgresql\://localhost/geotoolstest\nhost=localhost\ndatabase=geotoolstest\ndriver=org.postgresql.Driver\nskip.on.failure=false\n
+ export PGPASSWORD=
+ echo PostgreSQL Version:
PostgreSQL Version:
+ sudo -u postgres psql -c CREATE USER geotools
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
CREATE ROLE
+ sudo -u postgres psql -c CREATE DATABASE geotoolstest
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
CREATE DATABASE
+ sudo -u postgres psql -c GRANT ALL PRIVILEGES ON DATABASE geotoolstest TO 
geotools
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
GRANT
+ sudo -u postgres psql -d geotoolstest -c CREATE EXTENSION postgis
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
CREATE EXTENSION
+ sudo -u postgres psql -c CREATE USER cite
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
CREATE ROLE
+ sudo -u postgres psql -c ALTER ROLE cite SUPERUSER
could not change directory to 
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/";>: 
Permission denied
ALTER ROLE
+ sudo sed -i -e s/local   all             all                                  
   peer/local   all             all                                     trust/g 
/etc/postgresql/10/main/pg_hba.conf
+ sudo sed -i -e s/host    all             all             127.0.0.1/32         
   md5/host    all             all             127.0.0.1/32            trust/g 
/etc/postgresql/10/main/pg_hba.conf
sed: -e expression #1, char 71: unknown option to `s'
Build step 'Execute shell' marked build as failure


_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to