git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC]: Test Were failing on Fedora Linux.

From
Usman Akinyemi <usmanakinyemi202@gmail.com>
Date
Nov 9, 2024, 09:32 UTC
Message-ID
<CAPSxiM9UGLVrOh6XR5fn38ginCVKMOc7yQMcm+qsaF3bi+anSw@mail.gmail.com>
In-Reply-To
<CAP8UFD1-HsYsPRQwWMo8ipf-VdqF+9=HUTTr4BhEArR=V3ucxA@mail.gmail.com>

On Sat, Nov 9, 2024 at 3:12 AM Christian Couder <christian.couder@gmail.com> wrote:

Show 19 quoted lines
>
> On Sat, Nov 9, 2024 at 7:02 AM Usman Akinyemi
> <usmanakinyemi202@gmail.com> wrote:
> >
> > Hello,
> >
> > I was trying to build the Git project on Fedora Linux. I just
> > installed the Fedora.
> >
> > I followed through the steps in the Submitting a Patch. About 42 tests
> > were failing.
>
> Please tell us how exactly you ran the tests and what was the output
> that showed some tests failed.
>
> You can run each failing test with some options like -i and -v to get
> more information, like for example:
>
> $ ./t0000-basic.sh -i -v
Hello Christian,
I was using make before. I tried to run the single test as above, the error was
ERROR: ld.so: object 'libc_malloc_debug.so.0' from LD_PRELOAD cannot
be preloaded (cannot open shared object file): ignored
I tried to check this online, but, all the solutions I found were not
resolving it.

I look for libc_malloc_debug.so.0 and it is located in /usr/lib uniqueusman@fedora:~/git/t$ sudo find / -name "libc_malloc_debug.so.0" find: ‘/run/user/1000/gvfs’: Permission denied find: ‘/run/user/1000/doc’: Permission denied /usr/lib/libc_malloc_debug.so.0

Thank you. Usman

Show 33 quoted lines
>
> > I noticed that there are some directories created that did not get deleted.
> >
> > *'trash directory.t0000-basic'
> > 'trash directory.t0001-init'
> > 'trash directory.t0003-attributes'
> > 'trash directory.t0004-unwritable'
> > 'trash directory.t0008-ignores'
> > 'trash directory.t0012-help'
> > 'trash directory.t0017-env-helper'
> > 'trash directory.t0018-advice'
> > 'trash directory.t0020-crlf'
> > 'trash directory.t0021-conversion'
> > 'trash directory.t0027-auto-crlf'
> > 'trash directory.t0040-parse-options'
> > 'trash directory.t0041-usage'
> > 'trash directory.t0061-run-command'
> > 'trash directory.t0070-fundamental'
> > 'trash directory.t0090-cache-tree'
> > 'trash directory.t0202-gettext-perl'
> > 'trash directory.t0203-gettext-setlocale-sanity'
> > 'trash directory.t0210-trace2-normal'
> > 'trash directory.t0300-credentials'
> > 'trash directory.t0301-credential-cache'
> > 'trash directory.t0302-credential-store'
> > 'trash directory.t0303-credential-external*
> >
> > Any idea of what I am missing ?
>
> When a test fails, the directory where the test was run is not deleted
> so that it can be inspected to see what went wrong in the test. So it
> is to be expected that these directories were not deleted if the
> corresponding tests failed.
Ohh, thanks for this.
>
> Best,
> Christian.
Previous: Christian CouderNext: Christian Couder
Message 3 of 18 in “[RFC]: Test Were failing on Fedora Linux.”
  1. Usman AkinyemiNov 9, 2024
  2. Christian CouderNov 9, 2024
  3. Usman AkinyemiNov 9, 2024
  4. Christian CouderNov 9, 2024
  5. Andreas SchwabNov 9, 2024
  6. Usman AkinyemiNov 9, 2024
  7. Todd ZullingerNov 9, 2024
  8. Jeff KingNov 9, 2024
  9. Usman AkinyemiNov 9, 2024
  10. Junio C HamanoNov 11, 2024
  11. test-lib: check malloc debug LD_PRELOAD before usingJeff King, Nov 11, 2024
  12. Toon ClaesNov 13, 2024
  13. Jeff KingNov 14, 2024
  14. 2/1 test-lib: move malloc-debug setup after $PATH setupJeff King, Nov 14, 2024
  15. Toon ClaesNov 20, 2024
  16. Junio C HamanoNov 20, 2024
  17. Usman AkinyemiNov 9, 2024
  18. Usman AkinyemiNov 9, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.