Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8203193

upgradeJDK.sh : 'No such file or directory' log message for existing log file

    • x86_64
    • linux, solaris

      When executed script with following arguments:
      --repo JDK/8u152/ --apptop output/ --staging-name tmpo --force-destination-name jdk --log logs/test2.log
      getting 'upgradeJDK.sh: line 931: logs/test2.log: No such file or directory' repeatedly as below:
      [2018-05-15 11:35:13 ] Entering step: postCopyHotspotRC
      [2018-05-15 11:35:13 ] Entering step: postCopyContent
      [2018-05-15 11:35:13 ] PostCopy: Examining jdk.bak for copy-forward content.
      [2018-05-15 11:35:13 ] PostCopy: Using 'jdk.bak' as the source for post-upgrade, copied files
      [2018-05-15 11:35:13 ] PostCopy: Starting 2 copy operations...
      upgradeJDK.sh: line 931: logs/test2.log: No such file or directory
      upgradeJDK.sh: line 931: logs/test2.log: No such file or directory
      upgradeJDK.sh: line 931: logs/test2.log: No such file or directory
      upgradeJDK.sh: line 931: logs/test2.log: No such file or directory
      [2018-05-15 11:35:13 ] PostCopy: Done.

      This is the case when i am upgrading JDK in output directory where one JDK is already installed (output/jdk). PFA log file.

            skodandarama Suman Rajkumaar Kodandarama (Inactive)
            pmangal Priyanka Mangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: