Skip to content

CNTRLPLANE-1259: set up openshift-tests-extension and add a sanity test #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 18, 2025

Conversation

wangke19
Copy link
Contributor

@wangke19 wangke19 commented Aug 15, 2025

Description


This commit introduces a binary and supporting structure to enable the
execution of OpenShift origin (oauth-apiserver) tests using the Open Test Environment (OTE).

It lays the groundwork for moving origin test in openshift/origin to
be executed from this repository using OTE.

Checklist from https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

  • Revise project with Dockerfile for CI
  • Initialize the extension
  • Build the binary (make build)

$ make tests-ext-build
GOOS=linux GOARCH=amd64 GO_COMPLIANCE_POLICY=exempt_all CGO_ENABLED=0
go build -o oauth-apiserver-tests-ext -ldflags "-X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.CommitFromGit=ab7b7bd9' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.BuildDate=2025-08-18T07:48:03Z' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.GitTreeState=clean'" ./cmd/oauth-apiserver-tests-ext

the extension is to be registered here openshift/origin#30120

  • Test locally (following bellow)
    Local Tests

  • Confirm info outputs correct API version, metadata
$ ./oauth-apiserver-tests-ext info
{
    "apiVersion": "v1.1",
    "source": {
        "commit": "1d7faa585",
        "build_date": "2025-08-18T07:17:09Z",
        "git_tree_state": "clean"
    },
    "component": {
        "product": "openshift",
        "type": "payload",
        "name": "oauth-apiserver"
    },
    "suites": [
        {
            "name": "openshift/oauth-apiserver/conformance/parallel",
            "description": "",
            "parents": [
                "openshift/conformance/parallel"
            ],
            "qualifiers": [
                "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (!(name.contains(\"[Serial]\") || name.contains(\"[Slow]\")))"
            ]
        },
        {
            "name": "openshift/oauth-apiserver/conformance/serial",
            "description": "",
            "parents": [
                "openshift/conformance/serial"
            ],
            "qualifiers": [
                "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Serial]\"))"
            ]
        },
        {
            "name": "openshift/oauth-apiserver/optional/slow",
            "description": "",
            "parents": [
                "openshift/optional/slow"
            ],
            "qualifiers": [
                "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Slow]\"))"
            ]
        },
        {
            "name": "openshift/oauth-apiserver/all",
            "description": "",
            "qualifiers": [
                "source == \"openshift:payload:oauth-apiserver\""
            ]
        }
    ],
    "images": null
}

  • Confirm list outputs tests properly filtered by environment
$ ./oauth-apiserver-tests-ext list
[
  {
    "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
    "labels": {},
    "resources": {
      "isolation": {}
    },
    "source": "openshift:payload:oauth-apiserver",
    "codeLocations": [
      "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:8",
      "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9"
    ],
    "lifecycle": "blocking",
    "environmentSelector": {}
  }
]
  • Confirm we can run tests locally and produces valid JSONL test results:
$ ./oauth-apiserver-tests-ext run-test -n "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]"
  Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
  ======================================================================
  Random Seed: 1755501604 - will randomize all specs

  Will run 1 of 1 specs
  ------------------------------
  [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
  /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
  • [0.000 seconds]
  ------------------------------

  Ran 1 of 1 Specs in 0.001 seconds
  SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
  {
    "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
    "lifecycle": "blocking",
    "duration": 0,
    "startTime": "2025-08-18 07:20:04.695966 UTC",
    "endTime": "2025-08-18 07:20:04.696962 UTC",
    "result": "passed",
    "output": ""
  }
]
  • Confirm we can run suites locally.
$  ./oauth-apiserver-tests-ext run-suite openshift/oauth-apiserver/all
  Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
  ======================================================================
  Random Seed: 1755501656 - will randomize all specs

  Will run 1 of 1 specs
  ------------------------------
  [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
  /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
  • [0.000 seconds]
  ------------------------------

  Ran 1 of 1 Specs in 0.000 seconds
  SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
  {
    "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
    "lifecycle": "blocking",
    "duration": 0,
    "startTime": "2025-08-18 07:20:56.289052 UTC",
    "endTime": "2025-08-18 07:20:56.289702 UTC",
    "result": "passed",
    "output": ""
  }
]

Blocks

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 15, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 15, 2025
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2025
@wangke19 wangke19 changed the title [WIP]CNTRLPLANE-1259: set up openshift-tests-extension and add a sanity test CNTRLPLANE-1259: set up openshift-tests-extension and add a sanity test Aug 16, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 16, 2025
@wangke19
Copy link
Contributor Author

/test e2e-aws

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 16, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Add openshift-tests-extension scaffolding

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link

openshift-ci bot commented Aug 16, 2025

@wangke19: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 18, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Add openshift-tests-extension scaffolding, background: https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 18, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Description


This commit introduces a binary and supporting structure to enable the
execution of OpenShift origin (oauth-apiserver) tests using the Open Test Environment (OTE).

It lays the groundwork for moving origin test in openshift/origin to
be executed from this repository using OTE.

Checklist from https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

  • Revise project with Dockerfile for CI
  • Initialize the extension
  • Build the binary (make build)

$ make tests-ext-build
GOOS=linux GOARCH=amd64 GO_COMPLIANCE_POLICY=exempt_all CGO_ENABLED=0
go build -o oauth-apiserver-tests-ext -ldflags "-X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.CommitFromGit=1d7faa585' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.BuildDate=2025-08-18T07:17:09Z' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.GitTreeState=clean'" ./cmd/oauth-apiserver-tests-ext

the extension is to be registered here openshift/origin#30120

  • Test locally (following bellow)
    Local Tests

  • Confirm info outputs correct API version, metadata
$ ./oauth-apiserver-tests-ext info
{
   "apiVersion": "v1.1",
   "source": {
       "commit": "1d7faa585",
       "build_date": "2025-08-18T07:17:09Z",
       "git_tree_state": "clean"
   },
   "component": {
       "product": "openshift",
       "type": "payload",
       "name": "oauth-apiserver"
   },
   "suites": [
       {
           "name": "openshift/oauth-apiserver/conformance/parallel",
           "description": "",
           "parents": [
               "openshift/conformance/parallel"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (!(name.contains(\"[Serial]\") || name.contains(\"[Slow]\")))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/conformance/serial",
           "description": "",
           "parents": [
               "openshift/conformance/serial"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Serial]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/optional/slow",
           "description": "",
           "parents": [
               "openshift/optional/slow"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Slow]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/all",
           "description": "",
           "qualifiers": [
               "source == \"openshift:payload:oauth-apiserver\""
           ]
       }
   ],
   "images": null
}

  • Confirm list outputs tests properly filtered by environment
$ ./oauth-apiserver-tests-ext list
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "labels": {},
   "resources": {
     "isolation": {}
   },
   "source": "openshift:payload:oauth-apiserver",
   "codeLocations": [
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:8",
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9"
   ],
   "lifecycle": "blocking",
   "environmentSelector": {}
 }
]
  • Confirm we can run tests locally and produces valid JSONL test results:
$ ./oauth-apiserver-tests-ext run-test -n "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]"
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501604 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.001 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:04.695966 UTC",
   "endTime": "2025-08-18 07:20:04.696962 UTC",
   "result": "passed",
   "output": ""
 }
]
  • Confirm we can run suites locally.
$  ./oauth-apiserver-tests-ext run-suite openshift/oauth-apiserver/all
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501656 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.000 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:56.289052 UTC",
   "endTime": "2025-08-18 07:20:56.289702 UTC",
   "result": "passed",
   "output": ""
 }
]

Blocks

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 18, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Description


This commit introduces a binary and supporting structure to enable the
execution of OpenShift origin (oauth-apiserver) tests using the Open Test Environment (OTE).

It lays the groundwork for moving origin test in openshift/origin to
be executed from this repository using OTE.

Checklist from https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

  • Revise project with Dockerfile for CI
  • Initialize the extension
  • Build the binary (make build)

$ make tests-ext-build
GOOS=linux GOARCH=amd64 GO_COMPLIANCE_POLICY=exempt_all CGO_ENABLED=0
go build -o oauth-apiserver-tests-ext -ldflags "-X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.CommitFromGit=ab7b7bd9' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.BuildDate=2025-08-18T07:48:03Z' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.GitTreeState=clean'" ./cmd/oauth-apiserver-tests-ext

the extension is to be registered here openshift/origin#30120

  • Test locally (following bellow)
    Local Tests

  • Confirm info outputs correct API version, metadata
$ ./oauth-apiserver-tests-ext info
{
   "apiVersion": "v1.1",
   "source": {
       "commit": "1d7faa585",
       "build_date": "2025-08-18T07:17:09Z",
       "git_tree_state": "clean"
   },
   "component": {
       "product": "openshift",
       "type": "payload",
       "name": "oauth-apiserver"
   },
   "suites": [
       {
           "name": "openshift/oauth-apiserver/conformance/parallel",
           "description": "",
           "parents": [
               "openshift/conformance/parallel"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (!(name.contains(\"[Serial]\") || name.contains(\"[Slow]\")))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/conformance/serial",
           "description": "",
           "parents": [
               "openshift/conformance/serial"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Serial]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/optional/slow",
           "description": "",
           "parents": [
               "openshift/optional/slow"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Slow]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/all",
           "description": "",
           "qualifiers": [
               "source == \"openshift:payload:oauth-apiserver\""
           ]
       }
   ],
   "images": null
}

  • Confirm list outputs tests properly filtered by environment
$ ./oauth-apiserver-tests-ext list
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "labels": {},
   "resources": {
     "isolation": {}
   },
   "source": "openshift:payload:oauth-apiserver",
   "codeLocations": [
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:8",
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9"
   ],
   "lifecycle": "blocking",
   "environmentSelector": {}
 }
]
  • Confirm we can run tests locally and produces valid JSONL test results:
$ ./oauth-apiserver-tests-ext run-test -n "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]"
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501604 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.001 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:04.695966 UTC",
   "endTime": "2025-08-18 07:20:04.696962 UTC",
   "result": "passed",
   "output": ""
 }
]
  • Confirm we can run suites locally.
$  ./oauth-apiserver-tests-ext run-suite openshift/oauth-apiserver/all
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501656 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.000 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:56.289052 UTC",
   "endTime": "2025-08-18 07:20:56.289702 UTC",
   "result": "passed",
   "output": ""
 }
]

Blocks

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Aug 18, 2025

@wangke19: This pull request references CNTRLPLANE-1259 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.20.0" version, but no target version was set.

In response to this:

Description


This commit introduces a binary and supporting structure to enable the
execution of OpenShift origin (oauth-apiserver) tests using the Open Test Environment (OTE).

It lays the groundwork for moving origin test in openshift/origin to
be executed from this repository using OTE.

Checklist from https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

  • Revise project with Dockerfile for CI
  • Initialize the extension
  • Build the binary (make build)

$ make tests-ext-build
GOOS=linux GOARCH=amd64 GO_COMPLIANCE_POLICY=exempt_all CGO_ENABLED=0
go build -o oauth-apiserver-tests-ext -ldflags "-X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.CommitFromGit=ab7b7bd9' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.BuildDate=2025-08-18T07:48:03Z' -X 'github.com/openshift-eng/openshift-tests-extension/pkg/version.GitTreeState=clean'" ./cmd/oauth-apiserver-tests-ext

the extension is to be registered here openshift/origin#30120

  • Test locally (following bellow)
    Local Tests

  • Confirm info outputs correct API version, metadata
$ ./oauth-apiserver-tests-ext info
{
   "apiVersion": "v1.1",
   "source": {
       "commit": "1d7faa585",
       "build_date": "2025-08-18T07:17:09Z",
       "git_tree_state": "clean"
   },
   "component": {
       "product": "openshift",
       "type": "payload",
       "name": "oauth-apiserver"
   },
   "suites": [
       {
           "name": "openshift/oauth-apiserver/conformance/parallel",
           "description": "",
           "parents": [
               "openshift/conformance/parallel"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (!(name.contains(\"[Serial]\") || name.contains(\"[Slow]\")))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/conformance/serial",
           "description": "",
           "parents": [
               "openshift/conformance/serial"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Serial]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/optional/slow",
           "description": "",
           "parents": [
               "openshift/optional/slow"
           ],
           "qualifiers": [
               "(source == \"openshift:payload:oauth-apiserver\") \u0026\u0026 (name.contains(\"[Slow]\"))"
           ]
       },
       {
           "name": "openshift/oauth-apiserver/all",
           "description": "",
           "qualifiers": [
               "source == \"openshift:payload:oauth-apiserver\""
           ]
       }
   ],
   "images": null
}

  • Confirm list outputs tests properly filtered by environment
$ ./oauth-apiserver-tests-ext list
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "labels": {},
   "resources": {
     "isolation": {}
   },
   "source": "openshift:payload:oauth-apiserver",
   "codeLocations": [
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:8",
     "/home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9"
   ],
   "lifecycle": "blocking",
   "environmentSelector": {}
 }
]
  • Confirm we can run tests locally and produces valid JSONL test results:
$ ./oauth-apiserver-tests-ext run-test -n "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]"
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501604 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.001 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:04.695966 UTC",
   "endTime": "2025-08-18 07:20:04.696962 UTC",
   "result": "passed",
   "output": ""
 }
]
  • Confirm we can run suites locally.
$  ./oauth-apiserver-tests-ext run-suite openshift/oauth-apiserver/all
 Running Suite:  - /home/kewang/github-go/openshift/oauth-apiserver
 ======================================================================
 Random Seed: 1755501656 - will randomize all specs

 Will run 1 of 1 specs
 ------------------------------
 [Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]
 /home/kewang/github-go/openshift/oauth-apiserver/test/extended/main.go:9
 • [0.000 seconds]
 ------------------------------

 Ran 1 of 1 Specs in 0.000 seconds
 SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
[
 {
   "name": "[Jira:oauth-apiserver][sig-api-machinery] sanity test should always pass [Suite:openshift/oauth-apiserver/conformance/parallel]",
   "lifecycle": "blocking",
   "duration": 0,
   "startTime": "2025-08-18 07:20:56.289052 UTC",
   "endTime": "2025-08-18 07:20:56.289702 UTC",
   "result": "passed",
   "output": ""
 }
]

Blocks

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Copy link
Member

@vrutkovs vrutkovs left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 18, 2025
@tkashem
Copy link
Contributor

tkashem commented Aug 18, 2025

/approve

Copy link

openshift-ci bot commented Aug 18, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tkashem, vrutkovs, wangke19

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 9bdfbf6 into openshift:master Aug 18, 2025
11 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-oauth-apiserver
This PR has been included in build ose-oauth-apiserver-container-v4.20.0-202508181614.p0.g9bdfbf6.assembly.stream.el9.
All builds following this will include this PR.

@wangke19 wangke19 deleted the test-extd branch August 18, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants