Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread serguei.spit...@oracle.com

  
  
+1
  
  Thanks,
  Serguei
  
  
  On 1/3/19 02:06, Volker Simonis wrote:


  
OK, still looks good!


Thanks,
Volker


  
  
  
On Thu, Jan 3, 2019 at 10:16 AM Lindenmaier,
  Goetz <goetz.lindenma...@sap.com>
  wrote:

Hi Volker, 
  
  thanks for looking at this. 
  
  ... I just came up with another single line I'd like to add
  here:
  http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/TestDescription.java.udiff.html
  I'd like to exclude this test as Aix does not support setting
  ulimit -v:
  
  New webrev:
  http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/
  
  ... and I'll update the copyrights before pushing ...
  
  Sorry for the inconvenience!
    Goetz
  
  > -Original Message-
  > From: Volker Simonis <volker.simo...@gmail.com>
  > Sent: Donnerstag, 3. Januar 2019 09:50
  > To: Lindenmaier, Goetz <goetz.lindenma...@sap.com>
  > Cc: gary.ad...@oracle.com;
  serviceability-dev (serviceability-
  > d...@openjdk.java.net) <serviceability-dev@openjdk.java.net>
      > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests
  to the PPC, S390 and
  > AIX platforms.
  > 
  > Looks good to me.
  > 
  > Thanks,
  > Volker
  > 
  > 
  > On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz
  > <goetz.lindenma...@sap.com
  goetz.lindenma...@sap.com>
  >
  > wrote:
  > 
  > 
  >       Hi Gary,
  > 
  >       as promised, I'll do a follow up fixing all these.
  >       But all the tests you mention are either not
  configured for aix
  > (@requires linux etc)
  >       or are passing currently.  So no need for action
  here.
  > 
  >       I just want to do a fix for the nsk tests.
  >       So can I consider my updated webrev as reviewed by
  you?
  >       http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
  > 
  >       Best regards,
  >         Goetz.
  > 
  > 
  >       > -Original Message-
  >       > From: gary.ad...@oracle.com
  gary.ad...@oracle.com>
  > <gary.ad...@oracle.com
  gary.ad...@oracle.com>
  >
  >       > Sent: Montag, 31. Dezember 2018 16:59
  >       > To: Lindenmaier, Goetz <goetz.lindenma...@sap.com
  > goetz.lindenma...@sap.com>
  >; serviceability-dev
  >       > (serviceability-dev@openjdk.java.net
          serviceability-
  > d...@openjdk.java.net> ) <serviceability-dev@openjdk.java.net
  > serviceability-dev@openjdk.java.net>
  >
  >       > Subject: Re: RFR(S): 8215975: [testbug] Adapt
  nsk tests to the PPC,
  > S390 and
  >       > AIX platforms.
  >       >
  >       > Here are few more DYLD_LIBRARY_PATH locations
  that would be
  > worth
  >       > checking
  >       >
  >       > ./jdk/vm/JniInvocationTest.java:50:
  > env.compute("DYLD_LIBRARY_PATH", (k,
  >       > v) -> (k == null) ? libdir : v + ":" +
  libdir);
  >       >
  ./jdk/tools/launcher/ExecutionEnvironment.java:66:           
  ?
  >       > "DYLD_LIBRARY_PATH"
  >       > ./jdk/tools/launcher/JliLaunchTest.java:56:   
          String
  >       > LD_LIBRARY_PATH = Platform.isOSX() ?
  "DYLD_LIBRARY_PATH" :
  >       > "LD_LIBRARY_PATH";
  >       >
  ./jdk/sun/security/krb5/auto/BasicProc.java:311:
  >       > p.env("DYLD_LIBRARY_PATH", lib.substring(0,
  pos));
  >       >
  ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
  >       > .env("DYLD_LIBRARY_PATH", libDir)
  >       > ./jdk/sun/security/krb5/auto/KDC.java:1725:
  > "DYLD_LIBRARY_PATH",
  >       > nativePath + "/lib",
  >       > ./jdk/sun/security/krb5/auto/KDC.java:1818:
  > "DYLD_LIBRARY_PATH",

RE: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread Lindenmaier, Goetz
Thanks Serguei!

Best regards,
  Goetz.

> -Original Message-
> From: serguei.spit...@oracle.com 
> Sent: Donnerstag, 3. Januar 2019 10:13
> To: Volker Simonis ; Lindenmaier, Goetz
> 
> Cc: serviceability-dev (serviceability-dev@openjdk.java.net)  d...@openjdk.java.net>
> Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and
> AIX platforms.
> 
> Hi Goetz,
> 
> ++LGTM
> 
> Thanks,
> Serguei
> 
> 
> On 1/3/19 00:49, Volker Simonis wrote:
> 
> 
>   Looks good to me.
> 
>   Thanks,
>   Volker
> 
> 
>   On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz
> mailto:goetz.lindenma...@sap.com> >
> wrote:
> 
> 
>   Hi Gary,
> 
>   as promised, I'll do a follow up fixing all these.
>   But all the tests you mention are either not configured for aix
> (@requires linux etc)
>   or are passing currently.  So no need for action here.
> 
>   I just want to do a fix for the nsk tests.
>   So can I consider my updated webrev as reviewed by you?
>   http://cr.openjdk.java.net/~goetz/wr18/8215975-
> nskTests/02/
> 
>   Best regards,
> Goetz.
> 
> 
>   > -Original Message-
>   > From: gary.ad...@oracle.com
> <mailto:gary.ad...@oracle.com>   <mailto:gary.ad...@oracle.com> >
>   > Sent: Montag, 31. Dezember 2018 16:59
>   > To: Lindenmaier, Goetz  <mailto:goetz.lindenma...@sap.com> >; serviceability-dev
>       > (serviceability-dev@openjdk.java.net <mailto:serviceability-
> d...@openjdk.java.net> )  <mailto:serviceability-dev@openjdk.java.net> >
>   > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to
> the PPC, S390 and
>   > AIX platforms.
>   >
>   > Here are few more DYLD_LIBRARY_PATH locations that
> would be worth
>   > checking
>   >
>   > ./jdk/vm/JniInvocationTest.java:50:
> env.compute("DYLD_LIBRARY_PATH", (k,
>   > v) -> (k == null) ? libdir : v + ":" + libdir);
>   > ./jdk/tools/launcher/ExecutionEnvironment.java:66:
> ?
>   > "DYLD_LIBRARY_PATH"
>   > ./jdk/tools/launcher/JliLaunchTest.java:56:String
>   > LD_LIBRARY_PATH = Platform.isOSX() ?
> "DYLD_LIBRARY_PATH" :
>   > "LD_LIBRARY_PATH";
>   > ./jdk/sun/security/krb5/auto/BasicProc.java:311:
>   > p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
>   >
> ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
>   > .env("DYLD_LIBRARY_PATH", libDir)
>   > ./jdk/sun/security/krb5/auto/KDC.java:1725:
> "DYLD_LIBRARY_PATH",
>   > nativePath + "/lib",
>   > ./jdk/sun/security/krb5/auto/KDC.java:1818:
> "DYLD_LIBRARY_PATH",
>   > nativePath + "/lib",
>   > ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name =
> Platform.isOSX()
>   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
>   > ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72:
> (Platform.isOSX()
>   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
>   >
>   > On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
>   > > Hi Gary,
>   > >
>   > >> Would it make sense to add a method to
>   > test/lib/jdk/test/lib/Platform.java
>   > >> similar to sharedLibraryExt() to cover the envName
> setting?
>   > > Good point. I'll post a follow up change next year ... and
> believe me,
>   > > that's not too far in the future 
>   > > I'd like to keep this out of this test fix, as I want to
> downport it to
>   > > 11 at some point and thus keep it small so that it will
> apply cleanly.
>   > >
>   > >> Are the other places DYLD_LIBRARY_PATH is set also
> need to be
>   > >> updated for AIX?
>   > > Alloc001 might need it. The other vmTestbase tests are all
> passing,
>   > > so I didn't touch them.
>   > > Webrev with alloc001:
> 

Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread Volker Simonis
OK, still looks good!

Thanks,
Volker


On Thu, Jan 3, 2019 at 10:16 AM Lindenmaier, Goetz <
goetz.lindenma...@sap.com> wrote:

> Hi Volker,
>
> thanks for looking at this.
>
> ... I just came up with another single line I'd like to add here:
>
> http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/TestDescription.java.udiff.html
> I'd like to exclude this test as Aix does not support setting ulimit -v:
>
> New webrev:
> http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/
>
> ... and I'll update the copyrights before pushing ...
>
> Sorry for the inconvenience!
>   Goetz
>
> > -Original Message-
> > From: Volker Simonis 
> > Sent: Donnerstag, 3. Januar 2019 09:50
> > To: Lindenmaier, Goetz 
> > Cc: gary.ad...@oracle.com; serviceability-dev (serviceability-
> > d...@openjdk.java.net) 
> > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390
> and
> > AIX platforms.
> >
> > Looks good to me.
> >
> > Thanks,
> > Volker
> >
> >
> > On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz
> > mailto:goetz.lindenma...@sap.com> >
> > wrote:
> >
> >
> >   Hi Gary,
> >
> >   as promised, I'll do a follow up fixing all these.
> >   But all the tests you mention are either not configured for aix
> > (@requires linux etc)
> >   or are passing currently.  So no need for action here.
> >
> >   I just want to do a fix for the nsk tests.
> >   So can I consider my updated webrev as reviewed by you?
> >   http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
> >
> >   Best regards,
> > Goetz.
> >
> >
> >   > -Original Message-
> >   > From: gary.ad...@oracle.com <mailto:gary.ad...@oracle.com>
> > mailto:gary.ad...@oracle.com> >
> >       > Sent: Montag, 31. Dezember 2018 16:59
> >   > To: Lindenmaier, Goetz  > <mailto:goetz.lindenma...@sap.com> >; serviceability-dev
> >   > (serviceability-dev@openjdk.java.net <mailto:serviceability-
> > d...@openjdk.java.net> )  > <mailto:serviceability-dev@openjdk.java.net> >
> >   > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the
> PPC,
> > S390 and
> >   > AIX platforms.
> >   >
> >   > Here are few more DYLD_LIBRARY_PATH locations that would be
> > worth
> >   > checking
> >   >
> >   > ./jdk/vm/JniInvocationTest.java:50:
> > env.compute("DYLD_LIBRARY_PATH", (k,
> >   > v) -> (k == null) ? libdir : v + ":" + libdir);
> >   > ./jdk/tools/launcher/ExecutionEnvironment.java:66:?
> >   > "DYLD_LIBRARY_PATH"
> >   > ./jdk/tools/launcher/JliLaunchTest.java:56:String
> >   > LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" :
> >   > "LD_LIBRARY_PATH";
> >   > ./jdk/sun/security/krb5/auto/BasicProc.java:311:
> >   > p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
> >   > ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
> >   > .env("DYLD_LIBRARY_PATH", libDir)
> >   > ./jdk/sun/security/krb5/auto/KDC.java:1725:
> > "DYLD_LIBRARY_PATH",
> >   > nativePath + "/lib",
> >   > ./jdk/sun/security/krb5/auto/KDC.java:1818:
> > "DYLD_LIBRARY_PATH",
> >   > nativePath + "/lib",
> >   > ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name =
> > Platform.isOSX()
> >   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
> >   > ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72:
> > (Platform.isOSX()
> >   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
> >   >
> >   > On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
> >   > > Hi Gary,
> >   > >
> >   > >> Would it make sense to add a method to
> >   > test/lib/jdk/test/lib/Platform.java
> >   > >> similar to sharedLibraryExt() to cover the envName setting?
> >   > > Good point. I'll post a follow up change next year ... and
> believe
> > me,
> >   > > that's not too far in the future 
> >   > > I'd like to keep this out of this test fix, as I want to
> downport it to
> >   > &

RE: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread Lindenmaier, Goetz
Hi Volker, 

thanks for looking at this. 

... I just came up with another single line I'd like to add here:
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/TestDescription.java.udiff.html
I'd like to exclude this test as Aix does not support setting ulimit -v:

New webrev:
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/03/

... and I'll update the copyrights before pushing ...

Sorry for the inconvenience!
  Goetz

> -Original Message-
> From: Volker Simonis 
> Sent: Donnerstag, 3. Januar 2019 09:50
> To: Lindenmaier, Goetz 
> Cc: gary.ad...@oracle.com; serviceability-dev (serviceability-
> d...@openjdk.java.net) 
> Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and
> AIX platforms.
> 
> Looks good to me.
> 
> Thanks,
> Volker
> 
> 
> On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz
> mailto:goetz.lindenma...@sap.com> >
> wrote:
> 
> 
>   Hi Gary,
> 
>   as promised, I'll do a follow up fixing all these.
>   But all the tests you mention are either not configured for aix
> (@requires linux etc)
>   or are passing currently.  So no need for action here.
> 
>   I just want to do a fix for the nsk tests.
>   So can I consider my updated webrev as reviewed by you?
>   http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
> 
>   Best regards,
> Goetz.
> 
> 
>   > -Original Message-
>   > From: gary.ad...@oracle.com <mailto:gary.ad...@oracle.com>
> mailto:gary.ad...@oracle.com> >
>   > Sent: Montag, 31. Dezember 2018 16:59
>   > To: Lindenmaier, Goetz  <mailto:goetz.lindenma...@sap.com> >; serviceability-dev
>   > (serviceability-dev@openjdk.java.net <mailto:serviceability-
> d...@openjdk.java.net> )  <mailto:serviceability-dev@openjdk.java.net> >
>   > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC,
> S390 and
>   > AIX platforms.
>   >
>   > Here are few more DYLD_LIBRARY_PATH locations that would be
> worth
>   > checking
>   >
>   > ./jdk/vm/JniInvocationTest.java:50:
> env.compute("DYLD_LIBRARY_PATH", (k,
>   > v) -> (k == null) ? libdir : v + ":" + libdir);
>   > ./jdk/tools/launcher/ExecutionEnvironment.java:66:?
>   > "DYLD_LIBRARY_PATH"
>   > ./jdk/tools/launcher/JliLaunchTest.java:56:String
>   > LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" :
>   > "LD_LIBRARY_PATH";
>   > ./jdk/sun/security/krb5/auto/BasicProc.java:311:
>   > p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
>   > ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
>   > .env("DYLD_LIBRARY_PATH", libDir)
>   > ./jdk/sun/security/krb5/auto/KDC.java:1725:
> "DYLD_LIBRARY_PATH",
>   > nativePath + "/lib",
>   > ./jdk/sun/security/krb5/auto/KDC.java:1818:
> "DYLD_LIBRARY_PATH",
>   > nativePath + "/lib",
>   > ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name =
> Platform.isOSX()
>   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
>   > ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72:
> (Platform.isOSX()
>   > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
>   >
>   > On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
>   > > Hi Gary,
>   > >
>   > >> Would it make sense to add a method to
>   > test/lib/jdk/test/lib/Platform.java
>   > >> similar to sharedLibraryExt() to cover the envName setting?
>   > > Good point. I'll post a follow up change next year ... and believe
> me,
>   > > that's not too far in the future 
>   > > I'd like to keep this out of this test fix, as I want to downport 
> it to
>   > > 11 at some point and thus keep it small so that it will apply
> cleanly.
>   > >
>   > >> Are the other places DYLD_LIBRARY_PATH is set also need to be
>   > >> updated for AIX?
>   > > Alloc001 might need it. The other vmTestbase tests are all
> passing,
>   > > so I didn't touch them.
>   > > Webrev with alloc001:
>   > > http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
>   > >
>   > > Best regards,
>   > >Goetz.
>   > >
>   > >
>   > >
>  

Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread serguei.spit...@oracle.com

  
  
Hi Goetz,
  
  ++LGTM
  
  Thanks,
  Serguei
  
  
  On 1/3/19 00:49, Volker Simonis wrote:


  
Looks good to me.


Thanks,
Volker


  
  
  
On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz
  <goetz.lindenma...@sap.com>
  wrote:

Hi Gary, 
  
  as promised, I'll do a follow up fixing all these.
  But all the tests you mention are either not configured for
  aix (@requires linux etc)
  or are passing currently.  So no need for action here.
  
  I just want to do a fix for the nsk tests.
  So can I consider my updated webrev as reviewed by you?
  http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
  
  Best regards,
    Goetz.
  
  
  > -Original Message-
  > From: gary.ad...@oracle.com
  <gary.ad...@oracle.com>
  > Sent: Montag, 31. Dezember 2018 16:59
  > To: Lindenmaier, Goetz <goetz.lindenma...@sap.com>;
  serviceability-dev
  > (serviceability-dev@openjdk.java.net)
  <serviceability-dev@openjdk.java.net>
      > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests
      to the PPC, S390 and
  > AIX platforms.
  > 
  > Here are few more DYLD_LIBRARY_PATH locations that would
  be worth
  > checking
  > 
  > ./jdk/vm/JniInvocationTest.java:50:
  env.compute("DYLD_LIBRARY_PATH", (k,
  > v) -> (k == null) ? libdir : v + ":" + libdir);
  >
  ./jdk/tools/launcher/ExecutionEnvironment.java:66:   
  ?
  > "DYLD_LIBRARY_PATH"
  > ./jdk/tools/launcher/JliLaunchTest.java:56:   
  String
  > LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH"
  :
  > "LD_LIBRARY_PATH";
  > ./jdk/sun/security/krb5/auto/BasicProc.java:311:
  > p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
  >
  ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
  > .env("DYLD_LIBRARY_PATH", libDir)
  > ./jdk/sun/security/krb5/auto/KDC.java:1725:
  "DYLD_LIBRARY_PATH",
  > nativePath + "/lib",
  > ./jdk/sun/security/krb5/auto/KDC.java:1818:
  "DYLD_LIBRARY_PATH",
  > nativePath + "/lib",
  > ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name =
  Platform.isOSX()
  > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
  > ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72:
  (Platform.isOSX()
  > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
  > 
  > On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
  > > Hi Gary,
  > >
  > >> Would it make sense to add a method to
  > test/lib/jdk/test/lib/Platform.java
  > >> similar to sharedLibraryExt() to cover the
  envName setting?
  > > Good point. I'll post a follow up change next year
  ... and believe me,
  > > that's not too far in the future 
  > > I'd like to keep this out of this test fix, as I
  want to downport it to
  > > 11 at some point and thus keep it small so that it
  will apply cleanly.
  > >
  > >> Are the other places DYLD_LIBRARY_PATH is set
  also need to be
  > >> updated for AIX?
  > > Alloc001 might need it. The other vmTestbase tests
  are all passing,
  > > so I didn't touch them.
  > > Webrev with alloc001:
  > > http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
  > >
  > > Best regards,
  > >    Goetz.
  > >
  > >
  > >
  > >>
  > >> On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:
  > >>> Hi,
  > >>>
  > >>> Some of the nsk tests are not properly
  configured for the
  > >>> above platforms:
  > >>>
  > >>>   
  nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:
  > >>>
  > >>
  >
  nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja
  > >> va
  > >>>    The tests use the pat

Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-03 Thread Volker Simonis
Looks good to me.

Thanks,
Volker


On Wed, Jan 2, 2019 at 4:48 PM Lindenmaier, Goetz 
wrote:

> Hi Gary,
>
> as promised, I'll do a follow up fixing all these.
> But all the tests you mention are either not configured for aix (@requires
> linux etc)
> or are passing currently.  So no need for action here.
>
> I just want to do a fix for the nsk tests.
> So can I consider my updated webrev as reviewed by you?
> http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
>
> Best regards,
>   Goetz.
>
>
> > -Original Message-
> > From: gary.ad...@oracle.com 
> > Sent: Montag, 31. Dezember 2018 16:59
> > To: Lindenmaier, Goetz ; serviceability-dev
> > (serviceability-dev@openjdk.java.net) <
> serviceability-dev@openjdk.java.net>
> > Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390
> and
> > AIX platforms.
> >
> > Here are few more DYLD_LIBRARY_PATH locations that would be worth
> > checking
> >
> > ./jdk/vm/JniInvocationTest.java:50: env.compute("DYLD_LIBRARY_PATH", (k,
> > v) -> (k == null) ? libdir : v + ":" + libdir);
> > ./jdk/tools/launcher/ExecutionEnvironment.java:66:?
> > "DYLD_LIBRARY_PATH"
> > ./jdk/tools/launcher/JliLaunchTest.java:56:String
> > LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" :
> > "LD_LIBRARY_PATH";
> > ./jdk/sun/security/krb5/auto/BasicProc.java:311:
> > p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
> > ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
> > .env("DYLD_LIBRARY_PATH", libDir)
> > ./jdk/sun/security/krb5/auto/KDC.java:1725: "DYLD_LIBRARY_PATH",
> > nativePath + "/lib",
> > ./jdk/sun/security/krb5/auto/KDC.java:1818: "DYLD_LIBRARY_PATH",
> > nativePath + "/lib",
> > ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name = Platform.isOSX()
> > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
> > ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72: (Platform.isOSX()
> > ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
> >
> > On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
> > > Hi Gary,
> > >
> > >> Would it make sense to add a method to
> > test/lib/jdk/test/lib/Platform.java
> > >> similar to sharedLibraryExt() to cover the envName setting?
> > > Good point. I'll post a follow up change next year ... and believe me,
> > > that's not too far in the future 
> > > I'd like to keep this out of this test fix, as I want to downport it to
> > > 11 at some point and thus keep it small so that it will apply cleanly.
> > >
> > >> Are the other places DYLD_LIBRARY_PATH is set also need to be
> > >> updated for AIX?
> > > Alloc001 might need it. The other vmTestbase tests are all passing,
> > > so I didn't touch them.
> > > Webrev with alloc001:
> > > http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
> > >
> > > Best regards,
> > >Goetz.
> > >
> > >
> > >
> > >>
> > >> On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:
> > >>> Hi,
> > >>>
> > >>> Some of the nsk tests are not properly configured for the
> > >>> above platforms:
> > >>>
> > >>>nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:
> > >>>
> > >>
> > nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja
> > >> va
> > >>>The tests use the path to native libraries, which is named
> "LIBPATH" on
> > >> AIX.
> > >>>nsk/share/jdi/ArgumentHandler.java
> > >>>Add ppc/s390/aix which don't have a shared memory connector. This
> > >> disables a row of failing tests.
> > >>> Please review this change. I would like to push it to jdk12, as it
> is a mere
> > >> test fix.
> > >>> http://cr.openjdk.java.net/~goetz/wr18/8215975-
> > nskTests/01/index.html
> > >>>
> > >>> Best regards,
> > >>> Goetz.
> >
>
>


Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-02 Thread Gary Adams

I had no further comments.

On 1/2/19, 10:47 AM, Lindenmaier, Goetz wrote:

Hi Gary,

as promised, I'll do a follow up fixing all these.
But all the tests you mention are either not configured for aix (@requires 
linux etc)
or are passing currently.  So no need for action here.

I just want to do a fix for the nsk tests.
So can I consider my updated webrev as reviewed by you?
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/

Best regards,
   Goetz.



-Original Message-
From: gary.ad...@oracle.com
Sent: Montag, 31. Dezember 2018 16:59
To: Lindenmaier, Goetz; serviceability-dev
(serviceability-dev@openjdk.java.net)
Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and
AIX platforms.

Here are few more DYLD_LIBRARY_PATH locations that would be worth
checking

./jdk/vm/JniInvocationTest.java:50: env.compute("DYLD_LIBRARY_PATH", (k,
v) ->  (k == null) ? libdir : v + ":" + libdir);
./jdk/tools/launcher/ExecutionEnvironment.java:66:?
"DYLD_LIBRARY_PATH"
./jdk/tools/launcher/JliLaunchTest.java:56:String
LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" :
"LD_LIBRARY_PATH";
./jdk/sun/security/krb5/auto/BasicProc.java:311:
p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
.env("DYLD_LIBRARY_PATH", libDir)
./jdk/sun/security/krb5/auto/KDC.java:1725: "DYLD_LIBRARY_PATH",
nativePath + "/lib",
./jdk/sun/security/krb5/auto/KDC.java:1818: "DYLD_LIBRARY_PATH",
nativePath + "/lib",
./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name = Platform.isOSX()
? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
./hotspot/jtreg/runtime/signal/SigTestDriver.java:72: (Platform.isOSX()
? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");

On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:

Hi Gary,


Would it make sense to add a method to

test/lib/jdk/test/lib/Platform.java

similar to sharedLibraryExt() to cover the envName setting?

Good point. I'll post a follow up change next year ... and believe me,
that's not too far in the future 
I'd like to keep this out of this test fix, as I want to downport it to
11 at some point and thus keep it small so that it will apply cleanly.


Are the other places DYLD_LIBRARY_PATH is set also need to be
updated for AIX?

Alloc001 might need it. The other vmTestbase tests are all passing,
so I didn't touch them.
Webrev with alloc001:
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/

Best regards,
Goetz.




On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:

Hi,

Some of the nsk tests are not properly configured for the
above platforms:

nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:


nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja

va

The tests use the path to native libraries, which is named "LIBPATH" on

AIX.

nsk/share/jdi/ArgumentHandler.java
Add ppc/s390/aix which don't have a shared memory connector. This

disables a row of failing tests.

Please review this change. I would like to push it to jdk12, as it is a mere

test fix.

http://cr.openjdk.java.net/~goetz/wr18/8215975-

nskTests/01/index.html

Best regards,
 Goetz.




RE: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2019-01-02 Thread Lindenmaier, Goetz
Hi Gary, 

as promised, I'll do a follow up fixing all these.
But all the tests you mention are either not configured for aix (@requires 
linux etc)
or are passing currently.  So no need for action here.

I just want to do a fix for the nsk tests.
So can I consider my updated webrev as reviewed by you?
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/

Best regards,
  Goetz.


> -Original Message-
> From: gary.ad...@oracle.com 
> Sent: Montag, 31. Dezember 2018 16:59
> To: Lindenmaier, Goetz ; serviceability-dev
> (serviceability-dev@openjdk.java.net) 
> Subject: Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and
> AIX platforms.
> 
> Here are few more DYLD_LIBRARY_PATH locations that would be worth
> checking
> 
> ./jdk/vm/JniInvocationTest.java:50: env.compute("DYLD_LIBRARY_PATH", (k,
> v) -> (k == null) ? libdir : v + ":" + libdir);
> ./jdk/tools/launcher/ExecutionEnvironment.java:66:    ?
> "DYLD_LIBRARY_PATH"
> ./jdk/tools/launcher/JliLaunchTest.java:56:    String
> LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" :
> "LD_LIBRARY_PATH";
> ./jdk/sun/security/krb5/auto/BasicProc.java:311:
> p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
> ./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402:
> .env("DYLD_LIBRARY_PATH", libDir)
> ./jdk/sun/security/krb5/auto/KDC.java:1725: "DYLD_LIBRARY_PATH",
> nativePath + "/lib",
> ./jdk/sun/security/krb5/auto/KDC.java:1818: "DYLD_LIBRARY_PATH",
> nativePath + "/lib",
> ./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name = Platform.isOSX()
> ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
> ./hotspot/jtreg/runtime/signal/SigTestDriver.java:72: (Platform.isOSX()
> ? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");
> 
> On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:
> > Hi Gary,
> >
> >> Would it make sense to add a method to
> test/lib/jdk/test/lib/Platform.java
> >> similar to sharedLibraryExt() to cover the envName setting?
> > Good point. I'll post a follow up change next year ... and believe me,
> > that's not too far in the future 
> > I'd like to keep this out of this test fix, as I want to downport it to
> > 11 at some point and thus keep it small so that it will apply cleanly.
> >
> >> Are the other places DYLD_LIBRARY_PATH is set also need to be
> >> updated for AIX?
> > Alloc001 might need it. The other vmTestbase tests are all passing,
> > so I didn't touch them.
> > Webrev with alloc001:
> > http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/
> >
> > Best regards,
> >Goetz.
> >
> >
> >
> >>
> >> On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:
> >>> Hi,
> >>>
> >>> Some of the nsk tests are not properly configured for the
> >>> above platforms:
> >>>
> >>>nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:
> >>>
> >>
> nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja
> >> va
> >>>The tests use the path to native libraries, which is named "LIBPATH" on
> >> AIX.
> >>>nsk/share/jdi/ArgumentHandler.java
> >>>Add ppc/s390/aix which don't have a shared memory connector. This
> >> disables a row of failing tests.
> >>> Please review this change. I would like to push it to jdk12, as it is a 
> >>> mere
> >> test fix.
> >>> http://cr.openjdk.java.net/~goetz/wr18/8215975-
> nskTests/01/index.html
> >>>
> >>> Best regards,
> >>> Goetz.
> 



Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2018-12-31 Thread gary.ad...@oracle.com

Here are few more DYLD_LIBRARY_PATH locations that would be worth checking

./jdk/vm/JniInvocationTest.java:50: env.compute("DYLD_LIBRARY_PATH", (k, 
v) -> (k == null) ? libdir : v + ":" + libdir);
./jdk/tools/launcher/ExecutionEnvironment.java:66:    ? 
"DYLD_LIBRARY_PATH"
./jdk/tools/launcher/JliLaunchTest.java:56:    String 
LD_LIBRARY_PATH = Platform.isOSX() ? "DYLD_LIBRARY_PATH" : 
"LD_LIBRARY_PATH";
./jdk/sun/security/krb5/auto/BasicProc.java:311: 
p.env("DYLD_LIBRARY_PATH", lib.substring(0, pos));
./jdk/sun/security/krb5/auto/ReplayCacheTestProc.java:402: 
.env("DYLD_LIBRARY_PATH", libDir)
./jdk/sun/security/krb5/auto/KDC.java:1725: "DYLD_LIBRARY_PATH", 
nativePath + "/lib",
./jdk/sun/security/krb5/auto/KDC.java:1818: "DYLD_LIBRARY_PATH", 
nativePath + "/lib",
./hotspot/jtreg/vmTestbase/ExecDriver.java:122: name = Platform.isOSX() 
? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH";
./hotspot/jtreg/runtime/signal/SigTestDriver.java:72: (Platform.isOSX() 
? "DYLD_LIBRARY_PATH" : "LD_LIBRARY_PATH");


On 12/31/18 10:19 AM, Lindenmaier, Goetz wrote:

Hi Gary,


Would it make sense to add a method to test/lib/jdk/test/lib/Platform.java
similar to sharedLibraryExt() to cover the envName setting?

Good point. I'll post a follow up change next year ... and believe me,
that's not too far in the future 
I'd like to keep this out of this test fix, as I want to downport it to
11 at some point and thus keep it small so that it will apply cleanly.


Are the other places DYLD_LIBRARY_PATH is set also need to be
updated for AIX?

Alloc001 might need it. The other vmTestbase tests are all passing,
so I didn't touch them.
Webrev with alloc001:
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/

Best regards,
   Goetz.





On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:

Hi,

Some of the nsk tests are not properly configured for the
above platforms:

   nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:


nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja
va

   The tests use the path to native libraries, which is named "LIBPATH" on

AIX.

   nsk/share/jdi/ArgumentHandler.java
   Add ppc/s390/aix which don't have a shared memory connector. This

disables a row of failing tests.

Please review this change. I would like to push it to jdk12, as it is a mere

test fix.

http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/01/index.html

Best regards,
Goetz.





RE: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2018-12-31 Thread Lindenmaier, Goetz
Hi Gary,

> Would it make sense to add a method to test/lib/jdk/test/lib/Platform.java
> similar to sharedLibraryExt() to cover the envName setting?
Good point. I'll post a follow up change next year ... and believe me, 
that's not too far in the future 
I'd like to keep this out of this test fix, as I want to downport it to 
11 at some point and thus keep it small so that it will apply cleanly.

> Are the other places DYLD_LIBRARY_PATH is set also need to be
> updated for AIX?
Alloc001 might need it. The other vmTestbase tests are all passing,
so I didn't touch them.
Webrev with alloc001:
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/02/

Best regards,
  Goetz.



> 
> 
> On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:
> > Hi,
> >
> > Some of the nsk tests are not properly configured for the
> > above platforms:
> >
> >   nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:
> >
> nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.ja
> va
> >   The tests use the path to native libraries, which is named "LIBPATH" on
> AIX.
> >
> >   nsk/share/jdi/ArgumentHandler.java
> >   Add ppc/s390/aix which don't have a shared memory connector. This
> disables a row of failing tests.
> >
> > Please review this change. I would like to push it to jdk12, as it is a mere
> test fix.
> > http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/01/index.html
> >
> > Best regards,
> >Goetz.
> 



Re: RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2018-12-31 Thread gary.ad...@oracle.com

Would it make sense to add a method to test/lib/jdk/test/lib/Platform.java
similar to sharedLibraryExt() to cover the envName setting?

Are the other places DYLD_LIBRARY_PATH is set also need to be
updated for AIX?


On 12/31/18 8:48 AM, Lindenmaier, Goetz wrote:

Hi,

Some of the nsk tests are not properly configured for the
above platforms:

  nsk/jvmti/RetransformClasses/retransform003/TestDriver.java:
  nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.java
  The tests use the path to native libraries, which is named "LIBPATH" on AIX.

  nsk/share/jdi/ArgumentHandler.java
  Add ppc/s390/aix which don't have a shared memory connector. This disables a 
row of failing tests.

Please review this change. I would like to push it to jdk12, as it is a mere 
test fix.
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/01/index.html

Best regards,
   Goetz.





RFR(S): 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.

2018-12-31 Thread Lindenmaier, Goetz
Hi,

Some of the nsk tests are not properly configured for the
above platforms:

 nsk/jvmti/RetransformClasses/retransform003/TestDriver.java: 
 nsk/jvmti/SetNativeMethodPrefix/SetNativeMethodPrefix002/TestDriver.java 
 The tests use the path to native libraries, which is named "LIBPATH" on AIX. 

 nsk/share/jdi/ArgumentHandler.java 
 Add ppc/s390/aix which don't have a shared memory connector. This disables a 
row of failing tests.

Please review this change. I would like to push it to jdk12, as it is a mere 
test fix.
http://cr.openjdk.java.net/~goetz/wr18/8215975-nskTests/01/index.html

Best regards,
  Goetz.