public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/29180] New: run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov
@ 2022-05-25 15:27 evvers at ya dot ru
  2022-05-27 11:21 ` [Bug general/29180] " mark at klomp dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: evvers at ya dot ru @ 2022-05-25 15:27 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29180

            Bug ID: 29180
           Summary: run-debuginfod-fd-prefetch-caches.sh seems to fail on
                    Ubuntu Focal when elfutils is built with --enable-gcov
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: evvers at ya dot ru
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

As far as I understand the most relevant part is
```
2022-05-25T01:03:03.3909087Z traversed_total{type="directory"} 10
2022-05-25T01:03:03.3909315Z traversed_total{type="file"} 32
2022-05-25T01:03:03.3909744Z traversed_total{type="other"} 10 =~
fdcache_prefetch_count ([0-9])+ ]]
2022-05-25T01:03:03.3910032Z + [[ 1 -ne 0 ]]
2022-05-25T01:03:03.3910197Z + err
2022-05-25T01:03:03.3910419Z + trap - ERR
2022-05-25T01:03:03.3910612Z + echo ERROR REPORTS
2022-05-25T01:03:03.3910799Z ERROR REPORTS
```

The full log can be found at
https://gist.github.com/evverx/362aa02f6ec8414d5a4f5bce59fbcd47

Since the test seems to pass on Ubuntu Jammy and Fedora Rawhide I "fixed" it by
skipping the test in https://github.com/evverx/elfutils/pull/85 and not
including it in the coverage report built on Ubuntu Focal.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/29180] run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov
  2022-05-25 15:27 [Bug general/29180] New: run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov evvers at ya dot ru
@ 2022-05-27 11:21 ` mark at klomp dot org
  2022-05-27 15:37 ` evvers at ya dot ru
  2022-06-06 11:23 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2022-05-27 11:21 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29180

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org
           Assignee|unassigned at sourceware dot org   |nsanci at redhat dot com

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Noah just posted a patch to make that test do something. I assumed it was a
dummy test before. Could you take a look at his proposed patch to see if that
resolves the issue for you?

https://sourceware.org/pipermail/elfutils-devel/2022q2/005090.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/29180] run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov
  2022-05-25 15:27 [Bug general/29180] New: run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov evvers at ya dot ru
  2022-05-27 11:21 ` [Bug general/29180] " mark at klomp dot org
@ 2022-05-27 15:37 ` evvers at ya dot ru
  2022-06-06 11:23 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: evvers at ya dot ru @ 2022-05-27 15:37 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29180

--- Comment #2 from Evgeny Vereshchagin <evvers at ya dot ru> ---
With that patch applied the test passed in
https://github.com/evverx/elfutils/pull/86 and according to
https://coveralls.io/builds/49520251 the coverage of debuginfod.cxx went up a
little.

`git am` complained about trailing whitespaces
```
Applying: PR28577: Make run-debuginfod-fd-prefetch-caches.sh test something
.git/rebase-apply/patch:75: trailing whitespace.
kill -USR1 $PID1
.git/rebase-apply/patch:115: trailing whitespace.
fi
warning: 2 lines add whitespace errors.
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/29180] run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov
  2022-05-25 15:27 [Bug general/29180] New: run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov evvers at ya dot ru
  2022-05-27 11:21 ` [Bug general/29180] " mark at klomp dot org
  2022-05-27 15:37 ` evvers at ya dot ru
@ 2022-06-06 11:23 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2022-06-06 11:23 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=29180

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit 48c37efa32009cafcbf57dc1ca256715df2980c9
Author: Noah Sanci <nsanci@redhat.com>
Date:   Fri May 13 14:32:27 2022 -0400

    PR28577: Make run-debuginfod-fd-prefetch-caches.sh test something

    Update to the run-debuginfod-fd-prefetch to make the test more
    sound.

    Signed-off-by: Mark Wielaard <mark@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-06 11:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 15:27 [Bug general/29180] New: run-debuginfod-fd-prefetch-caches.sh seems to fail on Ubuntu Focal when elfutils is built with --enable-gcov evvers at ya dot ru
2022-05-27 11:21 ` [Bug general/29180] " mark at klomp dot org
2022-05-27 15:37 ` evvers at ya dot ru
2022-06-06 11:23 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).