Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1026400

Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base

From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base
Date 2020-09-25 17:20 +0200
Message-ID <ASXFT-1x7-3@gated-at.bofh.it> (permalink)
References (7 earlier) <ASwcF-1xO-1@gated-at.bofh.it> <ASJMC-1vK-3@gated-at.bofh.it> <ASXmy-1b6-5@gated-at.bofh.it> <z2pnX-1pI-1@gated-at.bofh.it> <ASXmy-1b6-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Sep 25, 2020 at 03:51:38PM +0100, Julian Gilbey wrote:
> On Thu, Sep 24, 2020 at 05:21:46PM -0700, tony mancill wrote:
> > On Thu, Sep 24, 2020 at 10:52:50AM +0100, Julian Gilbey wrote:
> > > Great, and there's a bug report #944738
> > > (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944738) for
> > > openjdk-11; I haven't checked if there are bugs reported against the
> > > other two versions.
> > 
> > I'm not able to reproduce the problem with openjdk-15.  Perhaps the
> > non-determinism has already been addressed upstream?
> 
> Oh, interesting.  So the non-determinism problem still exists, and
> java.base.jmod contains non-deterministic SHA-256 hashes.  But jlink
> seems to no longer check whether the hashes match, so the jlink tests
> now work.  This does seem to be to be a poor resolution to the
> (Debian) bug!  No idea why they've done this, though.

Thank you for looking into this.  That's obviously a short-coming of the
test I have been using.

> So I suggest that we still use the patch with openjdk-15 to avoid
> introducing non-determinism into the build, but this is clearly less
> important than on 11 and 14.

Makes sense.  This will prevent breakage later on if the jlink behavior
reverts to checking the hash.

I had already prepared the NMU for openjdk-15 - building first without
the patch and then with it so I could test with both - so I will go
ahead and upload that package today.

> > openjdk-13 does have the problem, so we could do another upload, but
> > given that it's not an LTS release and 14 is already available and
> > patched, do we need to?
> 
> Good question.  It's easy to do, and it does fix a bug, so I don't see
> a good reason not to do so.

Agreed.  (I could make a quip about my laptop SSD endurance, which is
visibly decreasing, but only about 1% per month.)

Seriously, I want to mention that I am willing to help get the NMU
changes committed to the OpenJDK team repo if the team is open to that.

> > Neither 13 nor 15 have open bugs filed against them for the jlink hash
> > issue.
> 
> Indeed, but we can still fix it (and in the changelog say something
> like "fixes bug #... for this version of openjdk").

Will do.  I was just noting it since you noted it earlier in the bug
thread.

Thanks,
tony

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Bill Zaumen <bill.zaumen@gmail.com> - 2020-08-20 07:10 +0200
  Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-17 20:10 +0200
    Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-18 12:20 +0200
      Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-18 12:30 +0200
      Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-18 16:20 +0200
        Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Tiago Daitx <tiago.daitx@canonical.com> - 2020-09-18 18:20 +0200
          Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-18 18:30 +0200
          Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-21 07:10 +0200
            Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-21 11:10 +0200
              Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-21 16:10 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-21 22:30 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-22 08:00 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-22 11:10 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-22 16:20 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-23 14:50 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-23 20:20 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-23 22:00 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-24 06:00 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-24 12:00 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-25 02:30 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-25 17:00 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-25 17:20 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Florian Weimer <fw@deneb.enyo.de> - 2020-09-25 18:30 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Julian Gilbey <jdg@debian.org> - 2020-09-25 18:50 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base Florian Weimer <fw@deneb.enyo.de> - 2020-09-25 18:50 +0200
                Bug#944738: [Openjdk] Bug#944738: jlink: Hash of module differs to expected hash recorded in java.base tony mancill <tmancill@debian.org> - 2020-09-28 05:30 +0200

csiph-web