Skip to content

Conversation

cgwalters
Copy link
Member

No description provided.

@jmarrero
Copy link
Member

jmarrero commented Mar 19, 2025

ERROR: tests/test-symbols.sh - too few tests run (expected 3, got 2)
ERROR: tests/test-symbols.sh - exited with status 1

but I don't see anything obviously wrong with the symbols change...

Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh I forgot about that,

lgtm I am not convinced that kola failure is not legit.

@jmarrero
Copy link
Member

The failure looks odd...


[2025-03-20T00:23:35.284Z] Mar 20 00:23:21 qemu0 kola-runext-auto-prune.sh[2276]: + unshare -m bash -c 'mount -o rw,remount /boot &&        dd if=/dev/zero of=/boot/bigfile count=-70 bs=1024'

[2025-03-20T00:23:35.284Z] Mar 20 00:23:21 qemu0 kola-runext-auto-prune.sh[12640]: dd: invalid number: '-70'

I see that -70 is being passed in:

https://github.com/cgwalters/ostree/blob/4f46d06ba8c3f8c3a8a634453312db81685d240a/tests/kolainst/destructive/auto-prune.sh#L62 as free blocks... which -70 seems like something is going on.

@jmarrero jmarrero self-requested a review March 20, 2025 00:53
- First I kept wondering what the magic of 10000 was here before
  looking above and noticing it matched the number of dtb files.
  Make a shared variable so the connection is more obvious
- Next, I *believe* the intention of this test was to test
  the edge case of bytes vs blocks, but we ended up subtracting
  blocks and I think recent FCOS images happened to get small
  enough that we started going negative here.
  Fix this to convert the bytes into blocks.
Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jmarrero jmarrero merged commit b3adfa8 into ostreedev:main Mar 21, 2025
27 checks passed
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

Successfully merging this pull request may close these issues.

2 participants