Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD tests failing in CI #259

Closed
emaste opened this issue Sep 19, 2022 · 3 comments
Closed

FreeBSD tests failing in CI #259

emaste opened this issue Sep 19, 2022 · 3 comments

Comments

@emaste
Copy link
Contributor

emaste commented Sep 19, 2022

Describe the bug
case-13-classic and case-14-classic-opt are failing in Cirrus-CI on FreeBSD 14 snapshots [Tests are also failing on FreeBSD 12 and 13, but let's start with the most up-to-date]

To Reproduce
Run tests via Cirrus-CI

Expected behavior
Tests pass

Program output

STARTING TEST ( dialect neutral )
=============================================================================
case-00-hello ... ok
case-01-version ... ok
case-13-classic ... failed
case-14-classic-opt ... failed
case-20-exit-status ... ok
case-20-fd-only-inclusion ... ok
case-20-handle-missing-files ... ok
case-20-offset-field ... ok
case-20-repeat-count ... ok
case-21-exit-Q-status ... ok

Environment (please complete the following information):

  • Kernel: FreeBSD 14 snapshot
  • OS: FreeBSD
  • lsof Version: git ce84a35
  • Origin: GCP image

Additional context

Link to test run: https://cirrus-ci.com/task/6574869868445696

@emaste
Copy link
Contributor Author

emaste commented Sep 19, 2022

[failed] /tmp/case-13-classic-1028.report
-----------------------------------------------------------------------------
`cat config.cc`  -I. -I.. `cat config.cflags` -c LTlib.c  -o LTlib.o
`cat config.cc`  -I. -I.. `cat config.cflags` LTbasic.c  LTlib.o `cat config.xobj` -o LTbasic
`cat config.cc`  -I. -I.. `cat config.cflags` LTnlink.c  LTlib.o `cat config.xobj` -o LTnlink
`cat config.cc`  -I. -I.. `cat config.cflags` LTsock.c  LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags`
`cat config.cc`  -I. -I.. `cat config.cflags` LTszoff.c  LTlib.o `cat config.xobj` -o LTszoff
`cat config.cc`  -I. -I.. `cat config.cflags` LTunix.c  LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags`
This suite has not been validated on:
     LT_BIGF LT_CC LT_DEV64 LT_DIAL_freebsd LT_KMEM LT_VERS=14000
Basic test:
LTbasic ... ERROR!!!  open lsof executable wasn't found.
            ERROR!!!  open lsof /dev/kmem usage wasn't found.
            ERROR!!!  lsof process wasn't found.
            *** Error code 1
Stop.
make: stopped in /tmp/cirrus-ci-build/tests
------------------------------------
"LTbasic ... OK" is not found in the output
"LTnlink ... OK" is not found in the output
"LTsock ... OK" is not found in the output
"LTszoff ... OK" is not found in the output
"LTunix ... OK" is not found in the output
output
.............................................................................
`cat config.cc`  -I. -I.. `cat config.cflags` -c LTlib.c  -o LTlib.o
`cat config.cc`  -I. -I.. `cat config.cflags` LTbasic.c  LTlib.o `cat config.xobj` -o LTbasic
`cat config.cc`  -I. -I.. `cat config.cflags` LTnlink.c  LTlib.o `cat config.xobj` -o LTnlink
`cat config.cc`  -I. -I.. `cat config.cflags` LTsock.c  LTlib.o `cat config.xobj` -o LTsock `cat config.ldflags`
`cat config.cc`  -I. -I.. `cat config.cflags` LTszoff.c  LTlib.o `cat config.xobj` -o LTszoff
`cat config.cc`  -I. -I.. `cat config.cflags` LTunix.c  LTlib.o `cat config.xobj` -o LTunix `cat config.ldflags`
This suite has not been validated on:
     LT_BIGF LT_CC LT_DEV64 LT_DIAL_freebsd LT_KMEM LT_VERS=14000
Basic test:
LTbasic ... ERROR!!!  open lsof executable wasn't found.
            ERROR!!!  open lsof /dev/kmem usage wasn't found.
            ERROR!!!  lsof process wasn't found.
            *** Error code 1
Stop.
make: stopped in /tmp/cirrus-ci-build/tests

@emaste
Copy link
Contributor Author

emaste commented Sep 23, 2022

ERROR!!! open lsof /dev/kmem usage wasn't found. - /dev/kmem is not used any longer on FreeBSD main, so this is unsurprising. This part of the test no longer makes sense after d5555d1

@jiegec
Copy link
Contributor

jiegec commented Jan 16, 2023

Fixed in pr #271

@jiegec jiegec closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants