Looked at the current doc and it suggest to run psql without sudoing to postgres user, so posted a patch for that:
https://gerrit.ovirt.org/c/ovirt-engine/+/113009 Let's get it merged to see if it helped or not. On Fri, Jan 15, 2021 at 8:58 AM Sandro Bonazzola <[email protected]> wrote: > Hi, > I was wondering why sonar reports were not updated recently and I seen > that travis is failing: > > etting environment variables from .travis.yml > 272$ export SONAR_TOKEN=[secure] > 273 > cache.1 > 274Setting up build cache > 275$ export CASHER_DIR=${TRAVIS_HOME}/.casher > 2760.29s$ Installing caching utilities > 2770.00s1.42sattempting to download cache archive > 278fetching > master/cache--linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk11.tgz > 279fetching > master/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk11.tgz > 280fetching master/cache--jdk-openjdk11.tgz > 281could not download cache > 2820.00s0.89sadding /home/travis/.m2 to cache > 283 > 284$ java -Xmx32m -version > 285openjdk version "11.0.2" 2019-01-15 > 286OpenJDK Runtime Environment 18.9 (build 11.0.2+9) > 287OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) > 288$ javac -J-Xmx32m -version > 289javac 11.0.2 > install > 2900.00s$ true > 2910.05s$ sudo -u postgres psql -c "CREATE USER engine_test WITH PASSWORD > 'test';" > 292could not change directory to "/home/travis/build/oVirt/ovirt-engine": > Permission denied > 293psql: error: could not connect to server: No such file or directory > 294 Is the server running locally and accepting > 295 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? > 296The command "sudo -u postgres psql -c "CREATE USER engine_test WITH > PASSWORD 'test';"" failed and exited with 2 during . > 297 > 298Your build has been stopped. > > > > > > +Martin Perina <[email protected]> , +Roman Mohr <[email protected]> any > idea on how to fix it? > > -- > > Sandro Bonazzola > > MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV > > Red Hat EMEA <https://www.redhat.com/> > > [email protected] > <https://www.redhat.com/> > > *Red Hat respects your work life balance. Therefore there is no need to > answer this email out of your office hours. > <https://mojo.redhat.com/docs/DOC-1199578>* > > > -- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/[email protected]/message/BNQMOTVWX3ZQMEZQBHQN7WFJPVFAJJ4G/
