Skip to content

kci-dev watch for build nodeid returns checkout results #128

@vigneshraman

Description

@vigneshraman

kci-dev watch for build nodeid returns checkout results. It should check the state of the build nodeid until the state changes from running to done.

root@6dbe18c5ce96:~# kci-dev checkout     --giturl https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git     --branch master     --commit 334426094588f8179fe175a09ecc887ff0c75758     --job-filter "kbuild-gcc-12-x86"
OK
treeid: 209de8c6486d02e5a3f28b6c9b76986ae1cee750a8e1cba097b78e948568624c
checkout_nodeid: 67c67b7ff5cb5c88f8bd49bf
root@6dbe18c5ce96:~# kci-dev watch --nodeid 67c67b7ff5cb5c88f8bd49bf
job_filter: checkout
Running job....
PASS branch checkout - node_id:67c67b7ff5cb5c88f8bd49bf (2025-03-04T04:04:21.004000)
root@6dbe18c5ce96:~# kci-dev maestro-results --nodes --filter parent=67c67b7ff5cb5c88f8bd49bf --filter kind=kbuild --field state --field id --field name
[
    {
        "id": "67c67bc6f5cb5c88f8bd49c2",
        "name": "kbuild-gcc-12-x86",
        "state": "running"
    }
]
root@6dbe18c5ce96:~# kci-dev watch --nodeid 67c67bc6f5cb5c88f8bd49c2
job_filter: checkout
PASS branch checkout - node_id:67c67b7ff5cb5c88f8bd49bf (2025-03-04T04:04:21.004000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions