Skip to contentSkip to conversation

4.14.0-rc1 blocked on goland build failure - decision needed

DISCUSSION Ian Jackson 3 participants 5 messages Jun 8, 2020 10 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#10 lore raw

Hi, Paul. For those on xen-devel: context is that Paul asked me to cut 4.14.0-rc1. The checklist asks me to perform a test build.

My 32-bit tools test build failed. I think the problem is probably specific to 32-bit userland on 64-bit Linux kernel. I will send a second followup mail not CC Paul with technical details.

Paul: do you want me to abort this RC to to release it anyway ?

Ian.

#11 lore raw

Ian Jackson writes ("4.14.0-rc1 blocked on goland build failure - decision needed"):

Quoted 6 lines

Hi, Paul. For those on xen-devel: context is that Paul asked me to cut 4.14.0-rc1. The checklist asks me to perform a test build.

My 32-bit tools test build failed. I think the problem is probably specific to 32-bit userland on 64-bit Linux kernel. I will send a second followup mail not CC Paul with technical details.

Technical details@:

The first error looks like this:

./helpers.gen.go:901[/tmp/go-build643158686/_/u/iwj/work/xen.git/tools/golang/xenlight/_obj/helpers.gen.cgo1.go:1172]:
type [268435456]_Ctype_struct_libxl_sched_params larger than address
space

I suspected that golang was misdetecting my build environment, which was a 32-bit Linux userland on a 64-bit Linux kernel, reporting this

  $ uname -av
  Linux mariner 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14)
  x86_64 GNU/Linux
  $ env | grep XEN
  XEN_COMPILE_ARCH=x86_32
  $

So I tried using `linux32' to change the process personality:

  $ uname -av
  + uname -av
  Linux mariner 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) i686
  GNU/Linux
  $ env | grep XEN
  + grep XEN
  + env
  XEN_COMPILE_ARCH=x86_32
  $

I did the build again, from a clean tree, and got the same result. I was building my prospective -rc1 git branch but I am pretty sure the problem exists with master and staging.

I have not yet done a formal repro in a 32-bit chroot on another system. I'm going to do that next.

Ian.

#12 lore raw
Quoted 12 lines · Ian Jackson

Ian Jackson writes ("4.14.0-rc1 blocked on goland build failure - decision needed"):

Quoted 6 lines

Hi, Paul. For those on xen-devel: context is that Paul asked me to cut 4.14.0-rc1. The checklist asks me to perform a test build.

My 32-bit tools test build failed. I think the problem is probably specific to 32-bit userland on 64-bit Linux kernel. I will send a second followup mail not CC Paul with technical details.

Quoted 7 lines

Technical details@:

The first error looks like this:

./helpers.gen.go:901[/tmp/go-build643158686/_/u/iwj/work/xen.git/tools/golang/xenlight/_obj/helpers.gen.cgo1.go:1172]:
type [268435456]_Ctype_struct_libxl_sched_params larger than address
space

Actually, I don’t think this has anything to do with 32-bit userspace, but instead has to do with the version of go: The version in stretch is 1.7 and chokes on this for some reason. I haven’t had time to track down why. It does work for golang 1.11.

Options are:

1. Document that if you have a version of golang older than 1.11, you need to add —disable-golang

2. Modify configure to check for the go version, and only enable if the version is > 1.11

3. Try to root-cause the issue.

I’m inclined to say we should go with #1 for this RC, then either #2 or #3.

-George

#13 lore raw
Quoted 35 lines

-----Original Message-----
From: Xen-devel <[email protected]> On Behalf Of George Dunlap
Sent: 08 June 2020 16:07
To: Ian Jackson <[email protected]>
Cc: Xen-devel <[email protected]>; Nick Rosbrook <[email protected]>; Wei Liu <[email protected]>
Subject: Re: 4.14.0-rc1 blocked on goland build failure - decision needed

Quoted 10 lines · Ian Jackson

Ian Jackson writes ("4.14.0-rc1 blocked on goland build failure - decision needed"):

Quoted 6 lines

Hi, Paul. For those on xen-devel: context is that Paul asked me to cut 4.14.0-rc1. The checklist asks me to perform a test build.

My 32-bit tools test build failed. I think the problem is probably specific to 32-bit userland on 64-bit Linux kernel. I will send a second followup mail not CC Paul with technical details.

Quoted 5 lines

Technical details@:

The first error looks like this:

./helpers.gen.go:901[/tmp/go-

build643158686/_/u/iwj/work/xen.git/tools/golang/xenlight/_obj/helpers.gen.cgo1.go:1172]:

Quoted 2 lines

type [268435456]_Ctype_struct_libxl_sched_params larger than address space

Actually, I don’t think this has anything to do with 32-bit userspace, but instead has to do with the version of go: The version in stretch is 1.7 and chokes on this for some reason. I haven’t had time to track down why. It does work for golang 1.11.

Options are:

Quoted 8 lines

1. Document that if you have a version of golang older than 1.11, you need to add —disable-golang

2. Modify configure to check for the go version, and only enable if the version is > 1.11

3. Try to root-cause the issue.

I’m inclined to say we should go with #1 for this RC, then either #2 or #3.

Agreed. Let's go with #1.

Paul

#14 lore raw

Re: 4.14.0-rc1 blocked on goland build failure - decision needed [and 1 more messages]

In reply to Ian Jackson

Ian Jackson writes ("4.14.0-rc1 blocked on goland build failure - decision needed"):

Quoted 6 lines

Hi, Paul. For those on xen-devel: context is that Paul asked me to cut 4.14.0-rc1. The checklist asks me to perform a test build.

My 32-bit tools test build failed. I think the problem is probably specific to 32-bit userland on 64-bit Linux kernel. I will send a second followup mail not CC Paul with technical details.

George Dunlap writes ("Re: 4.14.0-rc1 blocked on goland build failure - decision needed"):

Quoted 5 lines

Actually, I don’t think this has anything to do with 32-bit userspace, but instead has to do with the version of go: The version in stretch is 1.7 and chokes on this for some reason. I haven’t had time to track down why. It does work for golang 1.11.

Options are:

1. Document that if you have a version of golang older than 1.11, you need to add —disable-golang

I suggest we do this for -rc1 and then consider our options.

I have added this option to my pre-release test build and the build works now.

Quoted 5 lines

2. Modify configure to check for the go version, and only enable if the version is > 1.11

3. Try to root-cause the issue.

I’m inclined to say we should go with #1 for this RC, then either #2 or #3.

Also please send a patch to osstest to install the relevant golang packages. Even for stretch where it won't be supported. Currently I would expect that patch to cause tests to regress, so the corresponding xen patch(es) should go in (and be backported) first.

Ian.