mongodb xenial s390x packages are needed (blocks ceilometer)

Bug #1595242 reported by Ryan Beisner
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MongoDB Charm
Invalid
Undecided
Unassigned
OpenStack Ceilometer Agent Charm
Invalid
Undecided
Unassigned
OpenStack Ceilometer Charm
Invalid
Undecided
Unassigned
Ubuntu on IBM z Systems
Fix Released
Undecided
Unassigned
ceilometer (Juju Charms Collection)
Invalid
Undecided
Unassigned
ceilometer-agent (Juju Charms Collection)
Invalid
Undecided
Unassigned
google-perftools (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
New
Undecided
Unassigned
Yakkety
New
Undecided
Unassigned
mongodb (Debian)
Fix Released
Unknown
mongodb (Juju Charms Collection)
Invalid
Undecided
Unassigned
mongodb (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Won't Fix
Undecided
Unassigned
Yakkety
Won't Fix
Undecided
Unassigned

Bug Description

The ceilometer and ceilometer-agent charms require the mongodb charm.

s390x validation for ceilometer and ceilometer-agent is blocked on the absence of mongodb packages in s390x Xenial, and on the absence of a Xenial mongodb charm in general.

Revision history for this message
dann frazier (dannf) wrote :

fyi, there's a complete untested build now available here:
  lp:ubuntu-s390x-community/mongodb

Revision history for this message
dann frazier (dannf) wrote :

er ppa:ubuntu-s390x-community/mongodb

Revision history for this message
dann frazier (dannf) wrote :

We probably want to do something like this to enable the mongodb charm for z:
  https://code.launchpad.net/~dannf/charms/trusty/mongodb/arm64-default-to-ppa

Frank Heimes (fheimes)
Changed in mongodb (Ubuntu):
status: New → Confirmed
Changed in mongodb (Debian):
status: Unknown → New
Revision history for this message
Jeremy Bícha (jbicha) wrote :

If someone wants to work on enabling mongodb on s390x for zesty, see http://bugs.debian.org/848298

Changed in mongodb (Debian):
status: New → Won't Fix
Changed in mongodb (Debian):
status: Won't Fix → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

This bug was fixed in the package mongodb - 1:3.4.1-2

---------------
mongodb (1:3.4.1-2) experimental; urgency=medium

  * Disable hardware-assisted CRC32 on arm64 and s390x. This fixes FTBFS on
    these architectures.

 -- Apollon Oikonomopoulos <email address hidden> Fri, 23 Dec 2016 20:59:49 +0200

mongodb (1:3.4.1-1) experimental; urgency=medium

  * New upstream stable series
    + d/watch: look for 3.4 stable releases
    + Update upstream's signing key for 3.4
    + Drop fix-boost-1.60-build.patch; applied upstream
    + Refresh remaining patches
    + B-D on libboost-iostreams-dev
  * Upload to experimental
  * New patches:
    + Use std::regex instead of boost::regex in mongo shell (fixes FTBFS with
      Debian's boost and C++11)
  * Also build for s390x (Closes: #848298)
  * Drop i386 builds; i386 has long been deprecated upstream and support has
    been essentially removed in 3.4.
  * Use tcmalloc on ppc64el and arm64 as well
  * Do not ship mongosniff, as it is no longer built by the mongodb source
  * d/changelog: restore the 2.6.12-3 entry (Closes: #848305)

 -- Apollon Oikonomopoulos <email address hidden> Fri, 23 Dec 2016 14:57:21 +0200

Changed in mongodb (Ubuntu):
status: Confirmed → Fix Released
tags: added: upgrade-software-version xenial yakkety zesty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mongodb (Ubuntu Xenial):
status: New → Confirmed
Changed in mongodb (Ubuntu Yakkety):
status: New → Confirmed
James Page (james-page)
Changed in ceilometer (Juju Charms Collection):
status: New → Invalid
Changed in ceilometer-agent (Juju Charms Collection):
status: New → Invalid
Ryan Beisner (1chb1n)
Changed in charm-ceilometer-agent:
status: New → Invalid
Changed in charm-ceilometer:
status: New → Invalid
Changed in mongodb (Juju Charms Collection):
status: New → Invalid
Changed in mongodb-charm:
status: New → Confirmed
Revision history for this message
Frank Heimes (fheimes) wrote :

For Xenial (and Yakkety) the mongodb-server package needs to be taken from this ppa:
ppa:ubuntu-s390x-community/mongodb
see: https://launchpad.net/~ubuntu-s390x-community/+archive/ubuntu/mongodb

Revision history for this message
Ryan Beisner (1chb1n) wrote :

Given the major version difference to Xenial, I've marked that wont-fix in distro.

Changed in mongodb (Ubuntu Xenial):
status: Confirmed → Won't Fix
Changed in mongodb (Ubuntu Yakkety):
status: Confirmed → Won't Fix
Changed in ubuntu-z-systems:
status: New → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
the sync [1] of a mongodb set this to fix released quite a while ago, but in fact it fails to build on arm64 [2].
To make things less debuggable, the build issue seems to be a hang, killed by builders timeout and not a clear "error: foo is wrong".

I was "encouraged :-)" [3] for my s390x experience to look into this since s390x wanted the newer version of mongodb to get rid of the extra ppa [4] solution we have atm (see comment #8 in this bug).
But while I took a few tests with cross compiles and super slow arm emulations I couldn't get any closer to the issue. After all I'm not the arm expert, so maybe we should reconsider who owns the current task.

Now this issue is kind of back where it started. This is the bug that was referenced on IRC as "wanted s390x support" to begin with and holds said ppa solution for Xenial.
Fortunately Dannf is susbcribed on this bug and a much bigger arm expert which is what is really needed now to look into [2].

Furthermore to make things worse according to Steve langasek in bug 1679792 this now is a all-arch FTBFS for gcc-7 on top of the former issues.

Finally mongodb 3.4 has several more point releases (3.4.7 since last week), but that is a question to Debian if they are not updated for a reason.

IMHO this should be:
- tracked by JFH (for s390x needing the new version of mongodb)
- if possible debugged by Dannf (for arm expertise and the owner/driver of the former 3.2.4 ppa build)
- Both are also the former drivers/owners of this bug which just seems not resolved.

Since both are subscribed here already driving the old effort, maybe you just need this ping to realize it is not that much "fix released" as everybody thought (setting the task status now).

[1]: https://launchpad.net/ubuntu/+source/mongodb/1:3.4.1-3
[2]: https://launchpadlibrarian.net/311346682/buildlog_ubuntu-zesty-arm64.mongodb_1%3A3.4.1-3_CANCELLING.txt.gz
[3]: https://irclogs.ubuntu.com/2017/08/11/%23ubuntu-release.html#t18:15
[4]: https://launchpad.net/~ubuntu-s390x-community/+archive/ubuntu/mongodb

Changed in mongodb (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Hi,

Debian just uploaded 3.4.7 to experimental so I synced that. The new version fixes the gcc7 build issue.

The hang in the arm64 build happens during the build tests. We could skip the build tests on arm64 … if we think that the package will still work on arm64.

https://launchpad.net/ubuntu/+source/mongodb/1:3.4.7-1

Revision history for this message
dann frazier (dannf) wrote : Re: [Bug 1595242] Re: mongodb xenial s390x packages are needed (blocks ceilometer)

On Mon, Aug 14, 2017 at 2:50 AM, ChristianEhrhardt
<email address hidden> wrote:
> Hi,
> the sync [1] of a mongodb set this to fix released quite a while ago, but in fact it fails to build on arm64 [2].
> To make things less debuggable, the build issue seems to be a hang, killed by builders timeout and not a clear "error: foo is wrong".
>
> I was "encouraged :-)" [3] for my s390x experience to look into this since s390x wanted the newer version of mongodb to get rid of the extra ppa [4] solution we have atm (see comment #8 in this bug).
> But while I took a few tests with cross compiles and super slow arm emulations I couldn't get any closer to the issue. After all I'm not the arm expert, so maybe we should reconsider who owns the current task.
>
> Now this issue is kind of back where it started. This is the bug that was referenced on IRC as "wanted s390x support" to begin with and holds said ppa solution for Xenial.
> Fortunately Dannf is susbcribed on this bug and a much bigger arm expert which is what is really needed now to look into [2].
>
> Furthermore to make things worse according to Steve langasek in bug
> 1679792 this now is a all-arch FTBFS for gcc-7 on top of the former
> issues.
>
> Finally mongodb 3.4 has several more point releases (3.4.7 since last
> week), but that is a question to Debian if they are not updated for a
> reason.

Good news is that mongodb 3.4.7 was uploaded to experimental
yesterday, and successfully builds for arm64 there. It also appears to
have a patch to fix compilation w/ gcc-7. Bad news is that it still
FTBFS on arm64 in artful:
  https://launchpad.net/~dannf/+archive/ubuntu/mongodb/+build/13246095

> IMHO this should be:
> - tracked by JFH (for s390x needing the new version of mongodb)
> - if possible debugged by Dannf (for arm expertise and the owner/driver of the former 3.2.4 ppa build)

I'll spend some time to see if I can understand why it builds in
Debian and not Ubuntu. But, TBH, I don't have any knowledge of mongodb
internals - I only sponsored the uploads to the mongo/s390x PPA - so I
am really just looking for a light switch in the dark :)

  -dann

Revision history for this message
Jeremy Bícha (jbicha) wrote :

dann, it looks like you might have missed my comment on this bug earlier today.

Also, could you go ahead and cancel your arm64 build that got stuck hours ago so the Launchpad builder can be available for other uses?

Revision history for this message
dann frazier (dannf) wrote :

On Mon, Aug 14, 2017 at 9:11 PM, Jeremy Bicha <email address hidden> wrote:
> dann, it looks like you might have missed my comment on this bug earlier
> today.

Yep - waited until my build hung before sending, slow race w/ yours.

> Also, could you go ahead and cancel your arm64 build that got stuck
> hours ago so the Launchpad builder can be available for other uses?

done.

  -dann

Revision history for this message
dann frazier (dannf) wrote :

The google-perftools version appears to be the significant difference between Debian and Ubuntu leading to the test hangs. I'm working on a debian merge of that package to identify the relevant delta.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-perftools - 2.5-2.2ubuntu1

---------------
google-perftools (2.5-2.2ubuntu1) artful; urgency=medium

  * Merge from Debian. Remaining changes:
    - debian/control: Use multiline syntax for Build-* fields.
    - Use 3.0 (quilt) format instead of cdbs' deprecated simple-patchsys.
    - Rewrite packaging using debhelper sequencer.
    - Build using -fno-strict-aliasing.
    - Build using recent autotools.
    - Build for s390x.
    - debian/patches/Use-initial-exec-tls-for-libunwind-s-recursion-flag.patch:
      Use initial-exec tls for libunwind's recursion flag.
  * Enable testing for all architectures by default.
  * Build-depend on libunwind-dev instead of libunwind8-dev, which is
    now a transitional package.
  * Build-depend on libunwind-dev on architectures where available.
  * Disable libunwind on arm64 due to hangs. (LP: #1595242)
  * Disable -fno-exceptions to fix test hangs on arm64.
  * Ignore test results on arm64 and armhf.

 -- dann frazier <email address hidden> Fri, 18 Aug 2017 16:36:56 -0600

Changed in google-perftools (Ubuntu):
status: New → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

dann, thanks. Now all we need is an Archive Admin to allow mongodb/i386 to be removed.

Changed in mongodb (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Seems in artful

mongodb | 1:3.4.7-1 | artful/universe | source, amd64, arm64, ppc64el, s390x

Changed in mongodb (Ubuntu):
status: Fix Committed → Fix Released
Changed in charm-mongodb:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.