See
<http://build.geoserver.org/job/geotools-master-online-postgis/992/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-0f28ea7fac9327700 (linux-fleet) in workspace
<http://build.geoserver.org/job/geotools-master-online-postgis/ws/>
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/geotools/geotools.git #
> 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 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/jenkins10244238762893145939.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
ERROR: role "geotools" already exists
+ true
+ 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
ERROR: database "geotoolstest" already exists
+ true
+ 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
ERROR: extension "postgis" already exists
+ true
+ 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
ERROR: role "cite" already exists
+ true
+ 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 service postgresql restart
+ sudo -u postgres psql -h localhost -p 5432 -U geotools -d geotoolstest -w -c
SELECT version()
could not change directory to
"<http://build.geoserver.org/job/geotools-master-online-postgis/ws/">:
Permission denied
psql: fe_sendauth: no password supplied
Build step 'Execute shell' marked build as failure
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel