Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15777

All test targets to set jvm arg "java.io.tmpdir" according to ${tmp.dir}

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Make all test targets declare the temp directory (java.io.tmpdir) as defined by tmp.dir

      This was originally done in CASSANDRA-7712 but has been eroded over time as the test targets evolved.

      The attached patch moves the

      <jvmarg value="-Djava.io.tmpdir=${tmp.dir}"/>

      into the testmacrohelper macrodef.

      Like CASSANDRA-7712, jenkins agents are filling up their root volumes because of what's left behind under "/tmp"

      The build scripts have already been configured to define the temp directory to be within the jenkins job's workspace: https://github.com/apache/cassandra-builds/commit/33ba1e30ea196180f7d70f8e6ec47fdf6844f3f6#diff-91876f5f158ec50dab9a70cc06c06922

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            e.dimitrova Ekaterina Dimitrova Assign to me
            mck Michael Semb Wever
            Ekaterina Dimitrova
            Berenguer Blasi, Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment