Skip to content

ps: ps aux is rejected as an invalid PID #516

Description

@matt-dz

Summary

rshell and the oracle produced different pwd pwd -P; uname -a; ps aux | grep -E "kubelet|containerd|kube-apiserver" | grep -v grep results.

Command

pwd -P; uname -a; ps aux | grep -E "kubelet|containerd|kube-apiserver" | grep -v grep

Reduced command shape: pwd -P; uname -a; ps aux | grep -E "kubelet|containerd|kube-apiserver" | grep -v grep

Expected (oracle)

Exit code: 0

stdout:

/
Linux pshim-control-plane 6.17.0-1016-gcp #17~24.04.1-Ubuntu SMP Fri May  8 07:28:18 UTC 2026 aarch64 GNU/Linux
root         166  2.3  0.4 2856084 74936 ?       Ssl  15:24   2:17 /usr/local/bin/containerd
root         289  0.0  0.0 1237912 14976 ?       Sl   15:24   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id d748f8731f8c3dfbeb1ffa4329e567bafb3d74459d05f342a40cc6480eab66b6 -address /run/containerd/containerd.sock
root         292  0.0  0.0 1238168 15032 ?       Sl   15:24   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id ae1875b07e3dfdbd7af53ee5935fcfe26b954d13c69ac7166d1bf7fd80e7b1e7 -address /run/containerd/containerd.sock
root         300  0.0  0.0 1237912 15012 ?       Sl   15:24   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 8f692d617086ae7513386babff6793fe35fabbb8b657d26f1eb7a3bd4afef75b -address /run/containerd/containerd.sock
root         326  0.0  0.0 1238168 14932 ?       Sl   15:24   0:00 /usr/local/bin/containerd-shim-runc-v2 -namespace k8s.io -id 75b16d6d18bc5a7bcb104243648562e63e92f0bc5d0bba228c96002c5fa257f1 -address /run/containerd/containerd.sock
root         584  3.2  1.6 1520112 27
... <truncated>

stderr:

(empty)

Actual (rshell)

Exit code: 1

stdout:

/
Linux pshim-control-plane 6.17.0-1016-gcp #17~24.04.1-Ubuntu SMP Fri May  8 07:28:18 UTC 2026 aarch64

stderr:

ps: invalid PID: aux

Why This Matters

The QA run observed this command shape in 1 invocation across 1 scenario.

QA provenance
  • QA run id: run-20260603t152010z-pwd
  • Target builtin: pwd
  • Rshell commit/version: unknown
  • Example invocation: inv-20260603T170202.097191961Z-503e06f7
  • Observed invocations: 1
  • Scenario count: 1
  • Differing dimension: exit_code, stdout, stderr
  • Behavior cluster: pwd-unexpected-exit_code-stdout-stderr:pwd -P; uname -a; ps aux | grep -E "kubelet|containerd|kube-apiserver" | grep -v grep

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions