[Bug 240914] mail/fetchmail 6.4.1 failure in tests

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

            Bug ID: 240914
           Summary: mail/fetchmail 6.4.1 failure in tests
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email]
                CC: [hidden email]
             Flags: maintainer-feedback?([hidden email])

gmake  check-TESTS
gmake[4]: Entering directory
'/wrkdirs/usr/ports/mail/fetchmail/work/fetchmail-6.4.1'
gmake[5]: Entering directory
'/wrkdirs/usr/ports/mail/fetchmail/work/fetchmail-6.4.1'
FAIL: t.smoke
SKIP: t.validate-xhtml10
SKIP: t.validate-xhtml
PASS: t.x509_name_match

Are these tests needed at all for packaging ?

https://kib.kiev.ua/poudriere-solo/data/nuc_poudriere_11-head/2019-09-29_11h57m40s/logs/errors/fetchmail-6.4.1.log

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

--- Comment #1 from Corey Halpin <[hidden email]> ---
If t.smoke fails, that means that the built 'fetchmail' binary crashed trying
to parse a trivial configuration file. Something is pretty broken in that case.

Thank you for providing the full poudriere logs; it's very helpful. From what I
can see, it looks like the relevant options in your configuration are
ssl=openssl111 and GSSAPI_NONE=on.

I'm attempting to replicate this failure with those options. I'll follow up if
I need more information.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

--- Comment #2 from Konstantin Belousov <[hidden email]> ---
(In reply to Corey Halpin from comment #1)
Whatever test does, is not too related to my setup.  I extracted the
freshly-built fetchmail binary from the saved workspace, and used it alone with
my config file.  Everything worked fine.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

--- Comment #3 from Corey Halpin <[hidden email]> ---
Created attachment 207968
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207968&action=edit
patch-t.smoke

I wasn't able to replicate the problem in poudriere with the options I
suspected. Nor with a complete copy of your make.conf from your logs.

However, mail from pkg-fallout reporting a failure in the build-as-user set
provided a clue.

Does your poudriere.conf set BUILD_AS_NON_ROOT=yes and
CCACHE_DIR_NON_ROOT_SAFE=yes ?

If so, then I think t.smoke is failing because it tries to run fetchmail as
'nobody', but 'nobody' does not have a home directory. I'm able to make it fail
that way by setting BUILD_AS_NON_ROOT=yes in my poudriere.conf.

Placing the attached patch-t.smoke ${PORTSDIR}/mail/fetchmail/files resolves
the failure for me. Does it work for you?

As to your earlier question, 'are the tests necessary', as of right now the
test suite is quite small and runs quickly while also providing a backstop that
prevents installing a binary that appears to have built correctly but does not
actually function. I'd prefer to keep them in order to have that extra layer of
safety.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

Corey Halpin <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(chalpi |maintainer-feedback+
                   |[hidden email])              |

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

--- Comment #4 from Konstantin Belousov <[hidden email]> ---
(In reply to Corey Halpin from comment #3)
Patch worked, thanks.

My poudriere.conf:
# $Id: poudriere.conf,v 1.2 2019/07/14 19:10:33 root Exp root $
NO_ZFS=yes
FREEBSD_HOST=https://download.FreeBSD.org
RESOLV_CONF=/etc/resolv.conf
BASEFS=/usr/home/poudriere
POUDRIERE_DATA=${BASEFS}/data
USE_PORTLINT=no
USE_TMPFS=all
#TMPFS_LIMIT=8
#MAX_MEMORY=8
DISTFILES_CACHE=/usr/home/poudriere/distfiles
SVN_HOST=tom.home
CHECK_CHANGED_OPTIONS=verbose
CHECK_CHANGED_DEPS=yes
#PKG_REPO_SIGNING_KEY=/etc/ssl/keys/repo.key
PARALLEL_JOBS=2
PREPARE_PARALLEL_JOBS=1
SAVE_WRKDIR=yes
WRKDIR_ARCHIVE_FORMAT=tbz
NOLINUX=yes
export HTTP_PROXY=http://tomv4.home:3128
export FTP_PROXY=http://tomv4.home:3128
#export HTTP_PROXY=http://v1.home:3120
#export FTP_PROXY=http://v1.home:3120
ALLOW_MAKE_JOBS=yes
URL_BASE=https://kib.kiev.ua/poudriere-solo
HTML_TRACK_REMAINING=yes
#MAX_EXECUTION_TIME=86400
#NOHANG_TIME=7200
ATOMIC_PACKAGE_REPOSITORY=yes
COMMIT_PACKAGES_ON_FAILURE=yes
KEEP_OLD_PACKAGES=yes
KEEP_OLD_PACKAGES_COUNT=15
PORTTESTING_FATAL=no
BUILDER_HOSTNAME=solo.home
PRESERVE_TIMESTAMP=yes
BUILD_AS_NON_ROOT=yes
PORTBUILD_USER=nobody
CCACHE_DIR=/usr/home/poudriere/ccache
CCACHE_DIR_NON_ROOT_SAFE=yes

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

Gary <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
                   |                            |m

--- Comment #5 from Gary <[hidden email]> ---
Hi,

Will the patch be committed?  fetchmail has been broken for me since the 6.4.1
update and I think this is why (failing in same place)

Thanks,

Gary

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

Marko Cupać <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #6 from Marko Cupać <[hidden email]> ---
I'm also waiting for the patch to be committed. Other 1315 ports I build in
poudriere as non-root are currently OK, I wouldn't like to start building as
root because of fetchmail.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 240914] mail/fetchmail 6.4.1 failure in tests

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240914

Matthias Andree <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[hidden email]      |[hidden email]
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"