Re: Jython 2.7.0 final soft launch

Jim Baker <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOhO=aM=JkfuZpSbSFPczkB89GPQTY66fjHDb--otgJ-E=Jv=g@mail.gmail.com>
This change in test_sort behavior is due to an update in Java 8, as Jeff
mentions.

For both OS X 10.10.3 and Ubuntu 14.10, I have now upgraded my Java 8
versions to 1.8.0_45 from an earlier release (1.8.0_05-b13 on Linux, didn't
capture on OSX), and I can now reliably reproduce what Jeff is observing.
Prior to this, I was running `watch bin/jython -m test.regrtest test_sort`
for an extended period of time.

Meanwhile on Windows 8.1, I'm currently running the earlier build of
1.8.0_40-b26, and not seeing this problem.

However, the failing test is seen in "insane comparison function" that was
created to attempt to segfault CPython; I believe the latest build of Java
8 is now do more checking here, since we rely on Java for the
implementation of sort. Note the test does not fail if run with --verbose,
because it's actually reporting extra output.

Conclusion: we may have to adjust the test in 2.7.1, but not something to
delay the release on.

- Jim


On Thu, Apr 30, 2015 at 1:01 AM, Jeff Allen <[email protected]> wrote:

> And on Java 8, as in rc3:
>
>       test_bz2
>       test_list_jy
>       test_marshal
>
> but also:
>
>       test_sort
>
> in the stressful test.
>
> I've seen this error before, but if I didn't list it, it suggests I
> couldn't reproduce it at the prompt. I can now, but I don't know what's
> changed. (Possibly I simply tried in the wrong window.) There have been
> some changes to sorting in Java 8, I read. This may be sensitive to the
> particulr JDK. (Mine's Oracle.)
>
> > java -version
>
> java version "1.8.0_45"
>
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
>
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
>
>
> Jeff
>
> On 29/04/2015 22:41, Jeff Allen wrote:
> > I tried this on Windows 7 64-bit using the installer jar, and Java 7,
> > and it went pretty well. My bottom line on the first run of regrtest -e
> was:
> > 356 tests OK.
> > 12 tests skipped:
> >       test__osx_support test_commands test_curses test_dbm test_lib2to3
> >       test_pipes test_sax test_smtpnet test_socketserver test_subprocess
> >       test_urllib2net test_urllibnet
> > 6 skips unexpected:
> >       test__osx_support test_commands test_dbm test_lib2to3 test_pipes
> >       test_sax
> > 21 tests failed:
> >       test___all__ test_classpathimporter test_file2k test_httpservers
> >       test_import test_import_pep328 test_inspect
> >       test_jython_initializer test_netrc test_os_jy test_runpy
> >       test_select test_shutil test_socket test_ssl test_sys test_sys_jy
> >       test_tarfile test_urllib2 test_zipfile test_zipimport_jy
> >
> > We know about most of these from rc3. The new one is test_inspect, which
> > had failed with:
> > test test_inspect failed -- Traceback (most recent call last):
> >     File "C:\jython\2.7.0\Lib\test\test_inspect.py", line 399, in
> > test_findsource_binary
> >       self.assertRaises(IOError, inspect.getsource, unicodedata)
> > AssertionError: IOError not raised
> >
> > But run from the prompt like this:
> >   > echo test_inspect >inspect.tests
> >   > jython -m test.regrtest -v -f inspect.tests
> > it passed with test_findsource_binary producing:
> > test_findsource_binary (test.test_inspect.TestBuggyCases) ... skipped
> > 'unicodedata is not an external binary module'
> >
> > Apart from this quirk, it is what we deemed good enough in rc3 (actually
> > a bit better). Great job! This is getting exciting: we'll be able to
> > hold our heads up at EuroPython.
> >
> > Jeff Allen
> >
> >
> >
> > On 29/04/2015 18:10, [email protected] wrote:
> >> Jim just pointed out that I goofed my links up, so the proper releases
> are:
> >>
> >> Installer:
> https://oss.sonatype.org/content/repositories/orgpython-1051/org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar
> >>
> >>
> >> Standalone:
> https://oss.sonatype.org/content/repositories/orgpython-1052/org/python/jython-standalone/2.7.0/jython-standalone-2.7.0.jar
> >>
> >>
> >> On Tue, Apr 28, 2015 at 8:15 PM, [email protected]
> >> <[email protected]> wrote:
> >>> OK all, we're on to the real thing, this could be the real 2.7.0!
> >>> Please test, especially if you can test on windows!
> >>>
> >>> The releases:
> >>>
> >>> Installer:
> https://oss.sonatype.org/content/repositories/orgpython-1053/org/python/jython/2.7.0/jython-2.7.0.jar
> >>>
> >>> Standalone:
> https://oss.sonatype.org/content/repositories/orgpython-1051/org/python/jython-installer/2.7.0/jython-installer-2.7.0.jar
> >>>
> >>> The parent directories of each of the above have the checksums, source
> >>> jars, javadocs, etc.
> >>>
> >>> -Frank
> >
> >
> ------------------------------------------------------------------------------
> > One dashboard for servers and applications across Physical-Virtual-Cloud
> > Widest out-of-the-box monitoring support with 50+ applications
> > Performance metrics, stats and reports that give you Actionable Insights
> > Deep dive visibility with transaction tracing using APM Insight.
> > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> > _______________________________________________
> > Jython-dev mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/jython-dev
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Jython-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>



-- 
- Jim

jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com}
twitter.com/jimbaker
github.com/jimbaker
bitbucket.com/jimbaker

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.