Skip Menu |

This queue is for tickets about the DBD-Pg CPAN distribution.

Report information
The Basics
Id: 75872
Status: rejected
Priority: 0/
Queue: DBD-Pg

People
Owner: Nobody in particular
Requestors: starrychloe [...] oliveyou.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.19.2
Fixed in: (no value)



Subject: Tests are skipped when trying to connect to DB
FYI. For some reason, the tests are skipped, saying it can't connect to the DB, but the DB is working. ----------------------------------------- ... Running make test PGINITDB="" PERL_DL_NONLAZY=1 /usr/bin/perl.exe "- MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_signature.t .... skipped: Set the environment variable TEST_SIGNATURE to enable this test t/00basic.t ......... ok t/01connect.t ....... # # DBI Version 1.613 # DBD::Pg Version 2.19.2 # Perl Version 5.10.1 # OS cygwin # PostgreSQL (compiled) ? # PostgreSQL (target) ? # PostgreSQL (reported) ? # Default port ? # DBI_DSN ? # DBI_USER <not set> # Test schema dbd_pg_testschema # LANG C # Adjusted: initdb # Error was: Failed to run initdb (executable probably not available) ENV was: Final call was: initdb t/01connect.t ....... skipped: Connection to database failed, cannot continue testing t/01constants.t ..... ok t/02attribs.t ....... skipped: Connection to database failed, cannot continue testing t/03dbmethod.t ...... skipped: Connection to database failed, cannot continue testing t/03smethod.t ....... skipped: Connection to database failed, cannot continue testing t/04misc.t .......... skipped: Connection to database failed, cannot continue testing t/06bytea.t ......... skipped: Connection to database failed, cannot continue testing t/07copy.t .......... skipped: Connection to database failed, cannot continue testing t/08async.t ......... skipped: Connection to database failed, cannot continue testing t/09arrays.t ........ skipped: Connection to database failed, cannot continue testing t/12placeholders.t .. skipped: Connection to database failed, cannot continue testing t/20savepoints.t .... skipped: Connection to database failed, cannot continue testing t/99cleanup.t ....... 1/1 Removing test database directory t/99cleanup.t ....... ok All tests successful. Files=15, Tests=140, 11 wallclock secs ( 0.25 usr 0.24 sys + 4.58 cusr 3.26 csys = 8.33 CPU) Result: PASS TURNSTEP/DBD-Pg-2.19.2.tar.gz make test -- OK cpan[2]> q Lockfile removed. Chloe@dumbopc /usr/sbin $ psql stocks Welcome to psql 8.2.11, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit stocks=# \q Chloe@dumbopc /usr/sbin $ initdb The files belonging to this database system will be owned by user "Chloe". This user must also own the server process. The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. initdb: directory "/usr/share/postgresql/data" exists but is not empty If you want to create a new database system, either remove or empty the directory "/usr/share/postgresql/data" or run initdb with an argument other than "/usr/share/postgresql/data". Chloe@dumbopc /tmp $ cat tmp.pl use DBI; $dbh = DBI->connect("dbi:Pg:dbname=stocks", '', '', {AutoCommit => 0}); print $dbh Chloe@dumbopc /tmp $ perl tmp.pl DBI::db=HASH(0x2026c558) Chloe@dumbopc /tmp $
Hard to say what caused this, but it looks as though initdb is not showing up. Could you try the latest git version and see if that helps? We have made the initdb detection bits a little smarter.
Subject: RE: [rt.cpan.org #75872] Tests are skipped when trying to connect to DB (verification)
Date: Sat, 2 Nov 2013 23:01:13 -0500 (CDT)
To: bug-dbd-pg [...] rt.cpan.org
From: Chloe <starrychloe [...] spamarrest.com>
Chloe here, I'm protecting myself from receiving junk mail. Please click the link below to complete the verification process. You have to do this only once. http://www.spamarrest.com/a2?AQR4AwV5BGb6BzW1Ml1xLzDgpTqNpaDhL3Ouov5ipzpj Spam Arrest - Take control of your inbox! ------------------------------------------------------------ You are receiving this message in response to your email to Chloe, a Spam Arrest customer. Spam Arrest requests that senders verify themselves before their email is delivered. When you click the above link, you will be taken to a page with a graphic on it. Simply read the word in the graphic, type it into the form, accept the Sender Agreement, and you're verified. You have to do this only once per Spam Arrest customer. ------------------------------------------------------------ Below are the complete headers of the message that this email was generated in response to. Return-Path: <rt-cpan-org-return@perl.org> X-Original-To: starrychloe@oliveyou.net Delivered-To: starrychloe@oliveyou.net Received-SPF: pass (perl.org: 207.171.7.181 is authorized to use 'rt-cpan-org-return@perl.org' in 'mfrom' identity (mechanism 'ip4:207.171.7.0/24' matched)) receiver=308321.oliveyou.net; identity=mailfrom; envelope-from="rt-cpan-org-return@perl.org"; helo=rtcpan.develooper.com; client-ip=207.171.7.181 Received-SPF: none(rt.cpan.org: rt.cpan.org does not designate permitted sender hosts) Received: from rtcpan.develooper.com (rtcpan.develooper.com [207.171.7.181]) by mail.kizbit.com (Postfix) with ESMTP id C7AEFD422C for <starrychloe@oliveyou.net>; Sun, 3 Nov 2013 03:58:25 +0000 (UTC) Received: by rtcpan.develooper.com (Postfix, from userid 536) id 424EC122; Sat, 2 Nov 2013 20:58:32 -0700 (PDT) Precedence: normal Subject: [rt.cpan.org #75872] Tests are skipped when trying to connect to DB From: "Greg Sabino Mullane via RT" <bug-DBD-Pg@rt.cpan.org> Reply-To: bug-DBD-Pg@rt.cpan.org In-Reply-To: References: <RT-Ticket-75872@rt.cpan.org> Message-ID: <rt-4.0.18-28525-1383451111-136.75872-6-0@rt.cpan.org> X-RT-Loop-Prevention: rt.cpan.org RT-Ticket: rt.cpan.org #75872 Managed-BY: RT 4.0.18 (http://www.bestpractical.com/rt/) RT-Originator: greg@turnstep.com To: starrychloe@oliveyou.net MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 Date: Sat, 2 Nov 2013 23:58:32 -0400 ------------------------------------------------------------ Webmasters help stop spam and make 50%. http://www.spamarrest.com/affl?4186299/affiliates/index.jsp ------------------------------------------------------------
Marking as stalled until (if?) we hear back.
On Tue Nov 26 10:33:14 2013, TURNSTEP wrote: Show quoted text
> Marking as stalled until (if?) we hear back.
No response, so rejecting. Original poster, feel free to reopen.
Subject: Re: [rt.cpan.org #75872] Tests are skipped when trying to connect to DB
Date: Wed, 21 May 2014 14:42:35 -0400
To: bug-DBD-Pg [...] rt.cpan.org
From: Chloe <starrychloe [...] oliveyou.net>
Well thanks for looking at it. I know you did your best.

On 5/21/2014 6:08 AM, Greg Sabino Mullane via RT wrote:
Show quoted text
<URL: https://rt.cpan.org/Ticket/Display.html?id=75872 >

On Tue Nov 26 10:33:14 2013, TURNSTEP wrote:
Marking as stalled until (if?) we hear back.
No response, so rejecting. Original poster, feel free to reopen.