Skip to content

Conversation

@gredler
Copy link
Contributor

@gredler gredler commented Oct 25, 2024

There are multiple issue with this test case

  1. Parser error due to yesno in @run main/manual=yesno
  2. User can only compare the UI rendering and compare with the print out. User can't mark the test as pass or fail due to pass or fail buttons are missing.
  3. When the test is executed using jtreg after user click on the print button on the print dialog the whole test UIs ( frames) gets dispose and user cannot compare the printout with the UI. But this works as expected in test is running individually using java PrintTextTest

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21716/head:pull/21716
$ git checkout pull/21716

Update a local copy of the PR:
$ git checkout pull/21716
$ git pull https://git.openjdk.org/jdk.git pull/21716/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 21716

View PR using the GUI difftool:
$ git pr show -t 21716

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21716.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Oct 25, 2024

👋 Welcome back gredler! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Oct 25, 2024

@gredler This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java

Reviewed-by: honkar, aivanov, aturbanov

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 183 new commits pushed to the master branch:

  • 2c7bea1: 8343772: Expected IAPE not thrown in KDF.getInstance (TCK)
  • fac89f4: 8343493: Perform module checks during MetaspaceShared::map_archives()
  • ccda815: 8342303: Segfault in update_inherited_vtable: AppCDS, old bytecode, and redefineClasses
  • 4f5a241: 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
  • 56c588b: 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
  • d3c042f: 8343770: Build fails due to use of sun.misc.Unsafe in LoopOverRandom
  • 1d117f6: 8343394: Make MemorySessionImpl.state a stable field
  • d2b681d: 8343730: JMX cleanups
  • ac82a8f: 8343610: InOutPathTest jpackage test produces invalid app image on macOS
  • f0b251d: 8343531: Improve print_location for invalid heap pointers
  • ... and 173 more: https://git.openjdk.org/jdk/compare/0853aee3b377cf9f17340a85f600651db42e6999...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@honkar-jdk, @aivanov-jdk, @turbanoff) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the rfr Pull request is ready for review label Oct 25, 2024
@openjdk
Copy link

openjdk bot commented Oct 25, 2024

@gredler The following label will be automatically applied to this pull request:

  • client

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the client client-libs-dev@openjdk.org label Oct 25, 2024
@mlbridge
Copy link

mlbridge bot commented Oct 25, 2024

Copy link
Contributor

@honkar-jdk honkar-jdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the manual test verified on all platforms?

@gredler
Copy link
Contributor Author

gredler commented Oct 31, 2024

Is the manual test verified on all platforms?

This bug (JDK-8283664) only covers getting the test back to a runnable state. There is a separate entry (JDK-8148334) for fixing bugs exposed by this test which have not yet been fixed. I did verify that the bugs documented in JDK-8148334 do still exhibit -- so JDK-8148334 should remain open for now.

@gredler
Copy link
Contributor Author

gredler commented Nov 5, 2024

@honkar-jdk I've made the requested changes, is there anything else that should be addressed?

@prrace Would you be able to provide the second review for this PR?

@aivanov-jdk
Copy link
Member

Is the manual test verified on all platforms?

This bug (JDK-8283664) only covers getting the test back to a runnable state. There is a separate entry (JDK-8148334) for fixing bugs exposed by this test which have not yet been fixed. I did verify that the bugs documented in JDK-8148334 do still exhibit -- so JDK-8148334 should remain open for now.

The test may need to be problem-listed against 8148334 as it's known to fail.

@gredler
Copy link
Contributor Author

gredler commented Nov 5, 2024

The test may need to be problem-listed against 8148334 as it's known to fail.

Should that be part of this PR? If so, do I just add this line to test/jdk/ProblemList.txt?

java/awt/print/PrinterJob/PrintTextTest.java 8148334 generic-all

@aivanov-jdk
Copy link
Member

aivanov-jdk commented Nov 5, 2024

The test may need to be problem-listed against 8148334 as it's known to fail.

Should that be part of this PR? If so, do I just add this line to test/jdk/ProblemList.txt?

java/awt/print/PrinterJob/PrintTextTest.java 8148334 generic-all

I think it should. We know the test fails because the printed version differs from the displayed one, there's a bug to track it. Thus, the test should be in the problem list.

Perhaps, the only reason it isn't PL'ed is because the test couldn't be run.

The PL entry line looks good to me.

Copy link
Member

@aivanov-jdk aivanov-jdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

The only things left are problem-listing and updating the switch statement.

@gredler
Copy link
Contributor Author

gredler commented Nov 5, 2024

The only things left are problem-listing and updating the switch statement.

Thanks again for the review, these last points should now be resolved.

Copy link
Member

@aivanov-jdk aivanov-jdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Thank you.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Nov 6, 2024
@gredler
Copy link
Contributor Author

gredler commented Nov 6, 2024

@honkar-jdk Can you approve the PR if there are no further issues from your point of view? Thanks!

Copy link
Contributor

@honkar-jdk honkar-jdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gredler Changes LGTM.
Updated JDK-8148334 OS field to "generic" since the issue is observed on multiple platforms and to match the problemlist entry.

@gredler
Copy link
Contributor Author

gredler commented Nov 6, 2024

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Nov 6, 2024
@openjdk
Copy link

openjdk bot commented Nov 6, 2024

@gredler
Your change (at version 1e8f91f) is now ready to be sponsored by a Committer.

@openjdk openjdk bot removed sponsor Pull request is ready to be sponsored ready Pull request is ready to be integrated labels Nov 7, 2024
@gredler
Copy link
Contributor Author

gredler commented Nov 7, 2024

/integrate

@openjdk
Copy link

openjdk bot commented Nov 7, 2024

@gredler This pull request has not yet been marked as ready for integration.

@gredler gredler requested a review from turbanoff November 7, 2024 10:25
Copy link
Member

@aivanov-jdk aivanov-jdk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you've handled nearly all formatting issues, therefore you should resolve the remaining ones too.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Nov 7, 2024
@gredler
Copy link
Contributor Author

gredler commented Nov 7, 2024

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Nov 7, 2024
@openjdk
Copy link

openjdk bot commented Nov 7, 2024

@gredler
Your change (at version 597ef05) is now ready to be sponsored by a Committer.

@gredler
Copy link
Contributor Author

gredler commented Nov 7, 2024

@honkar-jdk I think this one is ready to go, could you sponsor it?

@honkar-jdk
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Nov 7, 2024

Going to push as commit 84c99fb.
Since your change was applied there have been 183 commits pushed to the master branch:

  • 2c7bea1: 8343772: Expected IAPE not thrown in KDF.getInstance (TCK)
  • fac89f4: 8343493: Perform module checks during MetaspaceShared::map_archives()
  • ccda815: 8342303: Segfault in update_inherited_vtable: AppCDS, old bytecode, and redefineClasses
  • 4f5a241: 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
  • 56c588b: 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
  • d3c042f: 8343770: Build fails due to use of sun.misc.Unsafe in LoopOverRandom
  • 1d117f6: 8343394: Make MemorySessionImpl.state a stable field
  • d2b681d: 8343730: JMX cleanups
  • ac82a8f: 8343610: InOutPathTest jpackage test produces invalid app image on macOS
  • f0b251d: 8343531: Improve print_location for invalid heap pointers
  • ... and 173 more: https://git.openjdk.org/jdk/compare/0853aee3b377cf9f17340a85f600651db42e6999...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Nov 7, 2024
@openjdk openjdk bot closed this Nov 7, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Nov 7, 2024
@openjdk
Copy link

openjdk bot commented Nov 7, 2024

@honkar-jdk @gredler Pushed as commit 84c99fb.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client client-libs-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

4 participants