pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: mikefroehner@gmx.de
Subject: BUG #17647: 12.12 package has difference on ubuntu 18.04
Date: Mon, 17 Oct 2022 14:18:44 +0000
Message-ID: <17647-355ab16b3ab3c775@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      17647
Logged by:          Mike Fröhner
Email address:      mikefroehner@gmx.de
PostgreSQL version: 12.12
Operating system:   Ubuntu 18.04
Description:        

Hello,

today our CI noticed the upgrade of PostgreSQL to 12.12. We have a CI/CD
which tests our Puppet Module against Ubuntu 16./18./20./22.04. We run
different tests (kitchen-ci) including the following:
```
describe command('/usr/bin/sudo -u postgres psql -U myuser1 -h 127.0.0.1
mydb1 -c "CREATE TABLE foo (foo char);"') do
  its('exit_status') { should eq 0 }
  its('stdout') { should eq "CREATE TABLE\n" }
  its('stderr') { should eq '' }
end
```
Therefore we rollout a DB and a user via:
```
postgresql::databases:
  'mydb1':
    user: myuser1
    password: mypassword1
    host: 127.0.0.1/32
```
We also rollout a file:
```
  '/var/lib/postgresql/.pgpass':
    owner: postgres
    group: postgres
    mode: '0600'
    content: '*:*:*:myuser1:mypassword1'
    require_class: postgresql
```
This test only fails/times out on Ubuntu 18.04 because it is waiting for a
password input. With all other Ubuntu (16./20./22.04) this test succedds. Is
there anything wrong with my test or is the package for Ubuntu 18.04 broken?



view thread (2+ messages)  latest in thread

Message-ID: <17647-355ab16b3ab3c775@postgresql.org>
Permalink:  ../17647-355ab16b3ab3c775@postgresql.org/
Also on:    postgresql.org/message-id/17647-355ab16b3ab3c775@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, mikefroehner@gmx.de
  Subject: Re: BUG #17647: 12.12 package has difference on ubuntu 18.04
  In-Reply-To: <17647-355ab16b3ab3c775@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox