ppc64le-cloud / test-infra

Apache License 2.0
6 stars 20 forks source link

Upgrade Golang to 1.23.0 to fix master golang build failure #484

Closed Rajalakshmi-Girish closed 3 weeks ago

Rajalakshmi-Girish commented 3 weeks ago

Job periodic-golang-master-build-ppc64le has been failing with below error since https://github.com/golang/go/commit/a4cb37d4afd4b6b386ed7b51466c8c57c6045f9c

+ ./make.bash
Building Go cmd/dist using /usr/local/go. (go1.20.6 linux/ppc64le)
found packages main (build.go) and building_Go_requires_Go_1_22_6_or_later (notgo122.go) in /root/go/src/cmd/dist

Golang build is successful when I tried with version 1.23.0

[root@raji-ws ~]#  rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.0.linux-ppc64le.tar.gz
[root@raji-ws ~]# go version
go version go1.23.0 linux/ppc64le
[root@raji-ws ~]# cd go_src/go/
[root@raji-ws go]# cd src/
[root@raji-ws src]# ./make.bash
Building Go cmd/dist using /usr/local/go. (go1.23.0 linux/ppc64le)
Building Go toolchain1 using /usr/local/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/ppc64le.
---
Installed Go for linux/ppc64le in /root/go_src/go
Installed commands in /root/go_src/go/bin
*** You need to add /root/go_src/go/bin to your PATH.
[root@raji-ws src]#
ppc64le-cloud-bot commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mkumatag, Rajalakshmi-Girish

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: - ~~[config/OWNERS](https://github.com/ppc64le-cloud/test-infra/blob/master/config/OWNERS)~~ [Rajalakshmi-Girish,mkumatag] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ppc64le-cloud-bot commented 3 weeks ago

@Rajalakshmi-Girish: Updated the job-config configmap in namespace prow at cluster default using the following files:

In response to [this](https://github.com/ppc64le-cloud/test-infra/pull/484): >Job `periodic-golang-master-build-ppc64le` has been failing with below error since https://github.com/golang/go/commit/a4cb37d4afd4b6b386ed7b51466c8c57c6045f9c >``` >+ ./make.bash >Building Go cmd/dist using /usr/local/go. (go1.20.6 linux/ppc64le) >found packages main (build.go) and building_Go_requires_Go_1_22_6_or_later (notgo122.go) in /root/go/src/cmd/dist >``` > >Golang build is successful when I tried with version 1.23.0 >``` >[root@raji-ws ~]# rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.0.linux-ppc64le.tar.gz >[root@raji-ws ~]# go version >go version go1.23.0 linux/ppc64le >[root@raji-ws ~]# cd go_src/go/ >[root@raji-ws go]# cd src/ >[root@raji-ws src]# ./make.bash >Building Go cmd/dist using /usr/local/go. (go1.23.0 linux/ppc64le) >Building Go toolchain1 using /usr/local/go. >Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. >Building Go toolchain2 using go_bootstrap and Go toolchain1. >Building Go toolchain3 using go_bootstrap and Go toolchain2. >Building packages and commands for linux/ppc64le. >--- >Installed Go for linux/ppc64le in /root/go_src/go >Installed commands in /root/go_src/go/bin >*** You need to add /root/go_src/go/bin to your PATH. >[root@raji-ws src]# >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.