From owner-freebsd-java@FreeBSD.ORG Sun Sep 7 19:59:47 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24ED3798; Sun, 7 Sep 2014 19:59:47 +0000 (UTC) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DDAD13B2; Sun, 7 Sep 2014 19:59:46 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id z11so2496133lbi.21 for ; Sun, 07 Sep 2014 12:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=42wisj6slEpwbOa8TDkKiMfeon7UAKyNraHY6as8Ik4=; b=Fq9xFig9UTYzi1tKtJ4ce14h2GWTTpJfnrKtctcdM+zfxHWuIkKBAADz3Kvoh2MNUV MHBpm+G0cwu86RjZSPaVuZhc9v1RVyM89EuJkuj4QDCin5dT/aTkb/KrYDQZo+BCFUMZ hee+niO46cZla0Pz7eYetUK2aiqSTj82EBt7xhbFGDxtVRGk2/A8L6hcldfbQw1/dKYS 4wDUFX76RG48NmNgyqNLGXszcztZwdzq04C5LWHGtgFWgRwoStaqTrVtGCSeMpu8JWBB Tv/upRpzH6HnYwS1e/ihdB8wgLPoq47o6gSEmDDV8rACvEXOzprVh3xikpNRUIHwJuP7 EuVg== MIME-Version: 1.0 X-Received: by 10.112.76.230 with SMTP id n6mr23761939lbw.8.1410119984287; Sun, 07 Sep 2014 12:59:44 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.22.72 with HTTP; Sun, 7 Sep 2014 12:59:44 -0700 (PDT) In-Reply-To: <540C2CEC.3020303@ury.york.ac.uk> References: <540C2CEC.3020303@ury.york.ac.uk> Date: Sun, 7 Sep 2014 12:59:44 -0700 X-Google-Sender-Auth: v5hkPw5O4N83niN4tfQSvpitI9s Message-ID: Subject: Re: Jenkins and PAM problem with JNA 4.1 From: Craig Rodrigues To: Anthony Williams Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "jenkins-admin@freebsd.org" , "freebsd-java@freebsd.org" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2014 19:59:47 -0000 On Sun, Sep 7, 2014 at 3:01 AM, Anthony Williams wrote: > Hi Craig, > > Looks like you didn't include a link for your jenkins.war file, so I built > my own using your branch of jenkins at https://github.com/rodrigc/ > jenkins/tree/JENKINS-24521-2 (built on Ubuntu 12.04 with Oracle/Sun Java > 7). For my own .war, UNIX local account logins are working normally using > FreeBSD 10.0-RELEASE, with nothing of note in the log file, so I'm not sure > why we're getting differing results. I did remove my ~.m2 directory > entirely to be sure that no local packages were being used. > > Thanks, > Anthony Oh sorry, my war file is at: https://people.freebsd.org/~rodrigc/jenkins/JENKINS-24251/ Can you try: "pkg install devel/maven3" and then build my branch under FreeBSD and see if you can duplicate the problem? One a related note, I tried to test just the PAM module in Jenkins. I did the following: (1) git clone https://github.com/kohsuke/libpam4j (2) cd libpam4j (3) edit pom.xml, change net.java.dev.jna to 4.1.0 (4) mvn install (5) mvn -Dtest=InteractiveTester -Duser.name=rodrigc -Dpassword=myunixpassword test At this point, I get: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.jvnet.libpam.InteractiveTester [rodrigc, wheel, operator] Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.326 sec <<< FAILURE! Results : Tests in error: testOne(org.jvnet.libpam.InteractiveTester): pam_authenticate failed : authentication error testPositiveCase(org.jvnet.libpam.InteractiveTester): pam_authenticate failed : authentication error testConcurrent(org.jvnet.libpam.InteractiveTester): org.jvnet.libpam.PAMException: pam_authenticate failed : authentication error Tests run: 5, Failures: 0, Errors: 3, Skipped: 0 Any idea what I am doing wrong? Thanks. -- Craig