Skip to content

Conversation

@dkruces
Copy link
Contributor

@dkruces dkruces commented Feb 10, 2025

CI fixes

Fix error below by creating a temporary file with commit message and use
that as input:
1. Create temporary file
2. Create temporary var with commit message
3. Write commit message to file
4. git-commit using temporary file content
5. Delete temporary file

Also, update tasks to include FQCN.

Error:
TASK [kdevops_archive : Commit the archive]
************************************
fatal: [localhost]: FAILED! => {
    "changed": true,
    "cmd": "git commit -m \"kdevops: Revert \"bringup: Use full path
when creating custom_source file\"\n\nThis adds test results for:\n
workflow: fstests\n  tree: linux\n  ref: linux\n  test number: 0001\n
test result: ok\n\nDetailed test report:\n\nKERNEL:    6.14.0-rc2\nCPUS:
8\n\nxfs_reflink_4k: 1 tests, 16 seconds\n  generic/003  Pass
13s\nTotals: 1 tests, 0 skipped, 0 failures, 0 errors, 13s\n\"\n",
    "delta": "0:00:00.006967",
    "end": "2025-02-10 02:34:48.789646",
    "rc": 1,
    "start": "2025-02-10 02:34:48.782679"
}

STDERR:

error: pathspec 'Use' did not match any file(s) known to git
error: pathspec 'full' did not match any file(s) known to git
error: pathspec 'path' did not match any file(s) known to git
error: pathspec 'when' did not match any file(s) known to git
error: pathspec 'creating' did not match any file(s) known to git
error: pathspec 'custom_source' did not match any file(s) known to git
error: pathspec 'file

This adds test results for:
  workflow: fstests
  tree: linux
  ref: linux
  test number: 0001
  test result: ok

Detailed test report:

KERNEL:    6.14.0-rc2
CPUS:      8

xfs_reflink_4k: 1 tests, 16 seconds
  generic/003  Pass     13s
Totals: 1 tests, 0 skipped, 0 failures, 0 errors, 13s
' did not match any file(s) known to git

MSG:

non-zero return code

PLAY RECAP
*********************************************************************
localhost                  : ok=53   changed=15   unreachable=0
failed=1    skipped=12   rescued=0    ignored=0

Signed-off-by: Daniel Gomez <[email protected]>
Ensure $CUSTOM_IMAGE_DIR directory exists before running realpath.
Otherwise, realpath returns with an error when used on a file located in
a non-existent directory.

Example:
realpath /tmp/testing
/tmp/testing
realpath /tmp/testing/file
realpath: /tmp/testing/file: No such file or directory
mkdir -p /tmp/testing
realpath /tmp/testing/file
/tmp/testing/file

Fixes 5649a0d ("bringup: Use full path when creating custom_source
file")

Signed-off-by: Daniel Gomez <[email protected]>
@dkruces dkruces merged commit d252400 into main Feb 10, 2025
8 checks passed
scottmayhew pushed a commit to scottmayhew/kdevops that referenced this pull request Mar 4, 2025
Hannes just posted patches to enable large folios on bdev but using
buffer-heads, allow us to easily ramp up to experiment with it. We
currently crash on because of a:

VM_BUG_ON_FOLIO(folio_test_large(folio), folio)

on block_read_full_folio().

[    8.913445] nvme nvme7: Ignoring bogus Namespace Identifiers
[    8.920434] page: refcount:5 mapcount:0 mapping:00000000013008f8 index:0x0 pfn:0x11efbc
[    8.923483] head: order:2 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[    8.925534] memcg:ffff9904c0197000
[    8.926728] aops:def_blk_aops ino:10300004 dentry name:""
[    8.928426] flags: 0x17fffe800000061(locked|lru|head|node=0|zone=2|lastcpupid=0x3ffff)
[    8.932189] page_type: 0xffffffff()
[    8.933386] raw: 017fffe800000061 ffff9904c01931d0 ffff9904c01931d0 ffff9904e2912aa0
[    8.935761] raw: 0000000000000000 0000000000000000 00000005ffffffff ffff9904c0197000
[    8.938120] head: 017fffe800000061 ffff9904c01931d0 ffff9904c01931d0 ffff9904e2912aa0
[    8.940493] head: 0000000000000000 0000000000000000 00000005ffffffff ffff9904c0197000
[    8.943665] head: 017fffe000000202 ffffdef4047bef01 ffffdef4047bef48 00000000ffffffff
[    8.946071] head: 0000000400000000 0000000000000000 00000000ffffffff 0000000000000000
[    8.948438] page dumped because: VM_BUG_ON_FOLIO(folio_test_large(folio))
[    8.950564] ------------[ cut here ]------------
[    8.952066] kernel BUG at fs/buffer.c:2363!
[    8.953460] invalid opcode: 0000 [linux-kdevops#1] PREEMPT SMP NOPTI
[    8.955066] CPU: 1 PID: 60 Comm: kworker/u37:0 Not tainted 6.9.0-rc6+ linux-kdevops#3
[    8.956897] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    8.959293] Workqueue: nvme-wq nvme_scan_work [nvme_core]
[    8.960709] RIP: 0010:block_read_full_folio+0x2f2/0x300
[    8.962063] Code: 00 00 d3 e6 48 63 f6 e8 9c f1 ff ff 49 89 c5 e9 93 fd ff ff 0f 0b e9 ee fd ff ff 48 c7 c6 68 eb 25 b2 4c 89 e7 e8 8e b7 ed ff <0f> 0b 0f 0b e8 d5 b4 6f 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90
[    8.966018] RSP: 0018:ffffaff54023fa10 EFLAGS: 00010246
[    8.967174] RAX: 000000000000003d RBX: 0000001900000000 RCX: 0000000000000000
[    8.968657] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: 00000000ffffffff
[    8.970139] RBP: ffffffffb1551810 R08: 0000000000000000 R09: 0000000000000003
[    8.971529] R10: ffffaff54023f8c0 R11: ffffffffb24c1668 R12: ffffdef4047bef00
[    8.972905] R13: ffffffffb1551810 R14: 0000000000000000 R15: 0000000000100cc0
[    8.974277] FS:  0000000000000000(0000) GS:ffff99053bc40000(0000) knlGS:0000000000000000
[    8.975727] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    8.976787] CR2: 00007fe85b2fb368 CR3: 000000011f8da005 CR4: 0000000000770ef0
[    8.978084] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    8.979311] DR3: 0000000000000000 DR6: 00000000fffe07f0 DR7: 0000000000000400
[    8.980512] PKRU: 55555554
[    8.981048] Call Trace:
[    8.981548]  <TASK>
[    8.982003]  ? die+0x32/0x80
[    8.982571]  ? do_trap+0xd9/0x100
[    8.983165]  ? block_read_full_folio+0x2f2/0x300
[    8.983949]  ? do_error_trap+0x6a/0x90
[    8.984604]  ? block_read_full_folio+0x2f2/0x300
[    8.985382]  ? exc_invalid_op+0x4c/0x60
[    8.986060]  ? block_read_full_folio+0x2f2/0x300
[    8.986805]  ? asm_exc_invalid_op+0x16/0x20
[    8.987446]  ? __pfx_blkdev_read_folio+0x10/0x10
[    8.988152]  ? __pfx_blkdev_read_folio+0x10/0x10
[    8.988848]  ? block_read_full_folio+0x2f2/0x300
[    8.989551]  ? __pfx_blkdev_get_block+0x10/0x10
[    8.990253]  ? folio_batch_move_lru+0xf1/0x150
[    8.990908]  ? __pfx_blkdev_read_folio+0x10/0x10
[    8.991577]  ? __pfx_blkdev_read_folio+0x10/0x10
[    8.992241]  filemap_read_folio+0x32/0xb0
[    8.992835]  do_read_cache_folio+0x108/0x200
[    8.993467]  ? __pfx_adfspart_check_ICS+0x10/0x10
[    8.994156]  read_part_sector+0x32/0xe0
[    8.994708]  adfspart_check_ICS+0x32/0x480
[    8.995287]  ? snprintf+0x49/0x70
[    8.995771]  ? __pfx_adfspart_check_ICS+0x10/0x10
[    8.996420]  bdev_disk_changed+0x2a2/0x6e0
[    8.996990]  blkdev_get_whole+0x5f/0xa0
[    8.997532]  bdev_open+0x201/0x3c0
[    8.998029]  bdev_file_open_by_dev+0xb5/0x110
[    8.998637]  disk_scan_partitions+0x65/0xe0
[    8.999219]  device_add_disk+0x3e0/0x3f0
[    8.999769]  nvme_scan_ns+0x5f0/0xe50 [nvme_core]
[    9.000427]  nvme_scan_work+0x26f/0x5a0 [nvme_core]
[    9.001107]  process_one_work+0x189/0x3b0
[    9.001675]  worker_thread+0x273/0x390
[    9.002221]  ? __pfx_worker_thread+0x10/0x10
[    9.002821]  kthread+0xda/0x110
[    9.003294]  ? __pfx_kthread+0x10/0x10
[    9.003826]  ret_from_fork+0x2d/0x50
[    9.004346]  ? __pfx_kthread+0x10/0x10

Signed-off-by: Luis Chamberlain <[email protected]>
@dkruces dkruces deleted the ci-testing branch May 17, 2025 20:19
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