Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7904107

AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      AgentOut.gmk defines both AgentOut.agentvm.ok and AgentOut.othervm.ok

      The rule accesses the directory only created in AgentOut.agentvm.ok target:
      ---
      $(CAT) $(BUILDTESTDIR)/AgentOut.agentvm/logs-filtered/CompileTest-direct.log \
      $(BUILDTESTDIR)/AgentOut.agentvm/logs-filtered/CompileTest-System.err.log \
      ---[2]

      This causes an intermittent test failures when AgentOut.agentvm.ok is ran after AgentOut.othervm.ok

      [1]https://github.com/openjdk/jtreg/blob/34ccc66ec89651637811678a17d3f810b4ac0780/test/agentout/AgentOut.gmk#L27
      [2] https://github.com/openjdk/jtreg/blob/34ccc66ec89651637811678a17d3f810b4ac0780/test/agentout/AgentOut.gmk#L82

            Unassigned Unassigned
            vpetko Vladimir Petko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: