Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 3365
Download (untitled) / with headers
text/plain 3.2k
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 $
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-28525-1383451111-1782.75872-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 195
Download (untitled) / with headers
text/plain 195b
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.
From 4186299_7258792912 [...] bounces.spamarrest.com Sun Nov 3 00: 01:27 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-5.187 tagged_above=-99.9 required=10 tests=[ANY_BOUNCE_MESSAGE=0.1, AWL=0.833, BAYES_00=-1.9, CRBOUNCE_MESSAGE=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-4.0.18-28525-1383451111-136.75872-6-0 [...] rt.cpan.org>
Errors-To: nobody [...] spamarrest.com
X-Spam-Flag: NO
X-RT-Interface: API
X-Spamarrest-Speedcode:
X-Virus-Checked: Checked
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <21034626.1383451273260.JavaMail.root [...] auth02>
Content-Type: multipart/alternative; boundary="----=_Part_26739590_30629472.1383451273260"
X-Spam-Score: -5.187
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] spamarrest.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.from=starrychloe [...] spamarrest.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 18F05240982 for <cpan-bug+dbd-pg [...] hipster.bestpractical.com>; Sun, 3 Nov 2013 00:01:27 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aHuToamugagW for <cpan-bug+dbd-pg [...] hipster.bestpractical.com>; Sun, 3 Nov 2013 00:01:25 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 37A252406DA for <bug-dbd-pg [...] rt.cpan.org>; Sun, 3 Nov 2013 00:01:24 -0400 (EDT)
Received: (qmail 11501 invoked by alias); 3 Nov 2013 04:01:24 -0000
Received: from auth02.spamarrest.com (HELO auth02.spamarrest.com) (208.43.54.98) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sat, 02 Nov 2013 21:01:17 -0700
Received: from auth02 (localhost.localdomain [127.0.0.1]) by auth02.spamarrest.com (Postfix) with ESMTP id 3FBFAB85249 for <bug-dbd-pg [...] rt.cpan.org>; Sat, 2 Nov 2013 23:01:13 -0500 (CDT)
Delivered-To: cpan-bug+dbd-pg [...] hipster.bestpractical.com
Subject: RE: [rt.cpan.org #75872] Tests are skipped when trying to connect to DB (verification)
Domainkey-Signature: a=rsa-sha1; c=nofws; d=spamarrest.com; h=from:to :message-id:in-reply-to:subject:mime-version:content-type; q= dns; s=selector1; b=odcGBnBJqAFeKGwPGcO+vqp4P0ZDzFYgRyQZ0vLJP9NU RyKax3xoCAa8qqXLWCMPYkpDYZxDRbFpUhS5BVVqYlJbrGXY34p33nYOH57yioJ4 x1RgqElaojQMwFu41zzxnhiCykLL85MtiXGi5ECELX8qLfvwipRpzEyC6FJevuA=
Return-Path: <4186299_7258792912 [...] bounces.spamarrest.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed; d=spamarrest.com; h=from:to :message-id:in-reply-to:subject:mime-version:content-type; s= selector1; bh=yweI2/4udhXLX8gQjiaBNCv+vXQ=; b=U0Y9GaSHwTD8F6Lml2 3F7vmYWMKq8hVasAgibG+yClgbaX+0KHbgcVBN2e/DIzkNn06Z4GsoYn2hfTD2GK gE58ZS8WKQVNTEJna5qJSWK/O0TnKjm/Y/6cFRZU8WwIi5voAFUB70UdfmkqNZyS MFbUfBLTpMgY4ka5djm2WybIk=
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+dbd-pg [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbd-pg
Date: Sat, 2 Nov 2013 23:01:13 -0500 (CDT)
X-Spam-Level:
X-Spamarrest-Noauth: 1
Precedence: auto_reply
To: bug-dbd-pg [...] rt.cpan.org
From: Chloe <starrychloe [...] spamarrest.com>
RT-Message-ID: <rt-4.0.18-24908-1383451287-608.75872-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 2636
Download (untitled) / with headers
text/plain 2.5k
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 ------------------------------------------------------------
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: utf-8
Content-Length: 8078
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-24908-1383451287-608.75872-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-28525-1383451111-136.75872-6-0 [...] rt.cpan.org> <21034626.1383451273260.JavaMail.root [...] auth02> <rt-4.0.18-24908-1383451287-608.75872-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-13763-1385479994-1916.75872-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 44
Marking as stalled until (if?) we hear back.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-13763-1385479994-1916.75872-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-28525-1383451111-136.75872-6-0 [...] rt.cpan.org> <21034626.1383451273260.JavaMail.root [...] auth02> <rt-4.0.18-24908-1383451287-608.75872-0-0 [...] rt.cpan.org> <rt-4.0.18-13763-1385479994-1916.75872-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-6629-1400666934-1553.75872-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 158
Download (untitled) / with headers
text/plain 158b
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.
MIME-Version: 1.0
X-Spam-Status: No, score=-3.176 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, FROM_OUR_RT=-2, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.723, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
In-Reply-To: <17687993.189737.1400667057189.JavaMail.root [...] m01>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-75872 [...] rt.cpan.org> <rt-4.0.18-28525-1383451111-136.75872-6-0 [...] rt.cpan.org> <21034626.1383451273260.JavaMail.root [...] auth02> <rt-4.0.18-24908-1383451287-608.75872-6-0 [...] rt.cpan.org> <rt-4.0.18-13763-1385479994-1916.75872-6-0 [...] rt.cpan.org> <17687993.189737.1400667057189.JavaMail.root [...] m01>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <537CF252.20005 [...] oliveyou.net>
content-type: text/html; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.176
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DA7AC61E01C for <cpan-bug+DBD-Pg [...] hipster.bestpractical.com>; Wed, 21 May 2014 14:42:41 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fdj3aFbyPAvH for <cpan-bug+DBD-Pg [...] hipster.bestpractical.com>; Wed, 21 May 2014 14:42:40 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D028561E01A for <bug-DBD-Pg [...] rt.cpan.org>; Wed, 21 May 2014 14:42:39 -0400 (EDT)
Received: (qmail 24471 invoked by alias); 21 May 2014 18:42:38 -0000
Received: from smtpa.spamarrest.com (HELO smtpa.spamarrest.com) (74.86.112.12) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 21 May 2014 11:42:35 -0700
Received: from [192.168.16.105] (localhost.localdomain [127.0.0.1]) (Authenticated sender: starrychloe) by smtpa.spamarrest.com (Postfix) with ESMTPA id C2827E6C69C for <bug-DBD-Pg [...] rt.cpan.org>; Wed, 21 May 2014 13:42:31 -0500 (CDT)
Delivered-To: cpan-bug+DBD-Pg [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
Subject: Re: [rt.cpan.org #75872] Tests are skipped when trying to connect to DB
Return-Path: <starrychloe [...] oliveyou.net>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+DBD-Pg [...] hipster.bestpractical.com
X-RT-Mail-Extension: dbd-pg
Date: Wed, 21 May 2014 14:42:35 -0400
X-Spam-Level:
To: bug-DBD-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Chloe <starrychloe [...] oliveyou.net>
RT-Message-ID: <rt-4.0.18-3218-1400697762-1943.75872-0-0 [...] rt.cpan.org>
Content-Length: 914
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.





This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.