HI Luca,

I have not encountered these failed ptests in my side.  Did you test it with 
qemu(runqemu) ?  Let's me check it again. 

Thanks,
haitao

-----Original Message-----
From: Luca Ceresoli <[email protected]> 
Sent: Tuesday, February 7, 2023 4:29 PM
To: Liu, Haitao <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][PATCH] libgit: add ptest for libgit2

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

Hello Jason,

On Mon, 6 Feb 2023 00:44:01 -0800
"jason.lau" <[email protected]> wrote:

> Add ptest for libgit2.
> ALl test passed on a trial run and it took around 21m56s to execute so 
> added curl-ptest to PTESTS_SLOW.
>
> Signed-off-by: Liu Haitao <[email protected]>

I have run this patch through the autobuilders and it shows a failed
ptest:

{'libgit2': ['submodule::modify::set_relative_url', 'worktree::worktree::path']}

Here are the build logs:

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/4454/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4651/steps/12/logs/stdio

The ptest log shows:

FAIL: submodule::modify::set_relative_url
    ---
    reason: |
      String mismatch: expected_value != buf.ptr
      '/tmp/libgit2_tests_xhUI5o/relative-url' != 
'/var/volatile/tmp/libgit2_tests_xhUI5o/relative-url' (at byte 1)
    at:
      file: 
'/usr/src/debug/libgit2/1.5.0-r0/tests/libgit2/config/config_helpers.c'
      line: 37
      function: 'assert_config_entry_value'
    ---

and:

FAIL: worktree::worktree::path
    ---
    reason: |
      String mismatch: git_worktree_path(wt) != expected_path.ptr
      '/var/volatile/tmp/libgit2_tests_xhUI5o/testrepo-worktree' != 
'/tmp/libgit2_tests_xhUI5o/testrepo-worktree' (at byte 1)
    at:
      file: '/usr/src/debug/libgit2/1.5.0-r0/tests/libgit2/worktree/worktree.c'
      line: 417
      function: 'test_worktree_worktree__path'
    ---

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#176805): 
https://lists.openembedded.org/g/openembedded-core/message/176805
Mute This Topic: https://lists.openembedded.org/mt/96779266/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to