[ 
https://issues.apache.org/jira/browse/YUNIKORN-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hsien-Cheng(Ryan) Huang updated YUNIKORN-2841:
----------------------------------------------
    Description: 

{code}
In ci and my local environment, version mismatch warning occurs always.
eg. 
https://github.com/apache/yunikorn-core/actions/runs/10521024754/job/29150992090?pr=955#step:8:441

Ginkgo detected a version mismatch between the Ginkgo CLI and the version of 
Ginkgo imported by your packages:
  Ginkgo CLI Version:
    2.19.0
  Mismatched package versions found:
    2.15.0 used by admission_controller, basic_scheduling, bin_packing, 
configmap, gang_scheduling, node_resources, persistent_volume, predicates, 
preemption, priority_scheduling, queue_quota_mgmt, recovery_and_restart, 
resource_fairness, restart_changed_config, simple_preemptor, 
spark_jobs_scheduling, user_group_limit

  Ginkgo will continue to attempt to run but you may see errors (including flag
  parsing errors) and should either update your go.mod or your version of the
  Ginkgo CLI to match.

  To install the matching version of the CLI run
    go install github.com/onsi/ginkgo/v2/ginkgo
  from a path that contains a go.mod file.  Alternatively you can use
    go run github.com/onsi/ginkgo/v2/ginkgo
  from a path that contains a go.mod file to invoke the matching version of the
  Ginkgo CLI.

  If you are attempting to test multiple packages that each have a different
  version of the Ginkgo library with a single Ginkgo CLI that is currently
  unsupported.
{code}

  was:
In ci and my local environment, version mismatch warning occurs always.
eg. 
https://github.com/apache/yunikorn-core/actions/runs/10521024754/job/29150992090?pr=955#step:8:441

Ginkgo detected a version mismatch between the Ginkgo CLI and the version of 
Ginkgo imported by your packages:
  Ginkgo CLI Version:
    2.19.0
  Mismatched package versions found:
    2.15.0 used by admission_controller, basic_scheduling, bin_packing, 
configmap, gang_scheduling, node_resources, persistent_volume, predicates, 
preemption, priority_scheduling, queue_quota_mgmt, recovery_and_restart, 
resource_fairness, restart_changed_config, simple_preemptor, 
spark_jobs_scheduling, user_group_limit

  Ginkgo will continue to attempt to run but you may see errors (including flag
  parsing errors) and should either update your go.mod or your version of the
  Ginkgo CLI to match.

  To install the matching version of the CLI run
    go install github.com/onsi/ginkgo/v2/ginkgo
  from a path that contains a go.mod file.  Alternatively you can use
    go run github.com/onsi/ginkgo/v2/ginkgo
  from a path that contains a go.mod file to invoke the matching version of the
  Ginkgo CLI.

  If you are attempting to test multiple packages that each have a different
  version of the Ginkgo library with a single Ginkgo CLI that is currently
  unsupported.


> fix Ginkgo version mismatch warning
> -----------------------------------
>
>                 Key: YUNIKORN-2841
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2841
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Hsien-Cheng(Ryan) Huang
>            Assignee: Hsien-Cheng(Ryan) Huang
>            Priority: Major
>
> {code}
> In ci and my local environment, version mismatch warning occurs always.
> eg. 
> https://github.com/apache/yunikorn-core/actions/runs/10521024754/job/29150992090?pr=955#step:8:441
> Ginkgo detected a version mismatch between the Ginkgo CLI and the version of 
> Ginkgo imported by your packages:
>   Ginkgo CLI Version:
>     2.19.0
>   Mismatched package versions found:
>     2.15.0 used by admission_controller, basic_scheduling, bin_packing, 
> configmap, gang_scheduling, node_resources, persistent_volume, predicates, 
> preemption, priority_scheduling, queue_quota_mgmt, recovery_and_restart, 
> resource_fairness, restart_changed_config, simple_preemptor, 
> spark_jobs_scheduling, user_group_limit
>   Ginkgo will continue to attempt to run but you may see errors (including 
> flag
>   parsing errors) and should either update your go.mod or your version of the
>   Ginkgo CLI to match.
>   To install the matching version of the CLI run
>     go install github.com/onsi/ginkgo/v2/ginkgo
>   from a path that contains a go.mod file.  Alternatively you can use
>     go run github.com/onsi/ginkgo/v2/ginkgo
>   from a path that contains a go.mod file to invoke the matching version of 
> the
>   Ginkgo CLI.
>   If you are attempting to test multiple packages that each have a different
>   version of the Ginkgo library with a single Ginkgo CLI that is currently
>   unsupported.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to