You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2020/12/23 06:31:13 UTC

[GitHub] [ignite] ivandasch opened a new pull request #8600: IGNITE-13882 Add parametrization to ducktape install_root and persistence_root

ivandasch opened a new pull request #8600:
URL: https://github.com/apache/ignite/pull/8600


   Thank you for submitting the pull request to the Apache Ignite.
   
   In order to streamline the review of the contribution 
   we ask you to ensure the following steps have been taken:
   
   ### The Contribution Checklist
   - [ ] There is a single JIRA ticket related to the pull request. 
   - [ ] The web-link to the pull request is attached to the JIRA ticket.
   - [ ] The JIRA ticket has the _Patch Available_ state.
   - [ ] The pull request body describes changes that have been made. 
   The description explains _WHAT_ and _WHY_ was made instead of _HOW_.
   - [ ] The pull request title is treated as the final commit message. 
   The following pattern must be used: `IGNITE-XXXX Change summary` where `XXXX` - number of JIRA issue.
   - [ ] A reviewer has been mentioned through the JIRA comments 
   (see [the Maintainers list](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-ReviewProcessandMaintainers)) 
   - [ ] The pull request has been checked by the Teamcity Bot and 
   the `green visa` attached to the JIRA ticket (see [TC.Bot: Check PR](https://mtcga.gridgain.com/prs.html))
   
   ### Notes
   - [How to Contribute](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute)
   - [Coding abbreviation rules](https://cwiki.apache.org/confluence/display/IGNITE/Abbreviation+Rules)
   - [Coding Guidelines](https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines)
   - [Apache Ignite Teamcity Bot](https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+Teamcity+Bot)
   
   If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com _#ignite_ channel.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] anton-vinogradov merged pull request #8600: IGNITE-13882 Add parametrization to ducktape install_root and persistence_root

Posted by GitBox <gi...@apache.org>.
anton-vinogradov merged pull request #8600:
URL: https://github.com/apache/ignite/pull/8600


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [ignite] timoninmaxim commented on a change in pull request #8600: IGNITE-13882 Add parametrization to ducktape install_root and persistence_root

Posted by GitBox <gi...@apache.org>.
timoninmaxim commented on a change in pull request #8600:
URL: https://github.com/apache/ignite/pull/8600#discussion_r548742396



##########
File path: modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
##########
@@ -74,8 +76,22 @@ def config_template(self):
             return IgniteClientConfigTemplate()
         return IgniteServerConfigTemplate()
 
+    def home(self, version=None):

Review comment:
       Let's mark this method and `def module` as private.

##########
File path: modules/ducktests/tests/ignitetest/services/utils/ignite_aware.py
##########
@@ -359,8 +378,13 @@ def __update_node_log_file(self, node):
         """
         Update the node log file.
         """
-        cnt = list(node.account.ssh_capture(f'ls {self.LOGS_DIR} | '
-                                            f'grep -E "^console_[0-9]*.log$" | '
+        cnt = list(node.account.ssh_capture(f'ls {self.log_dir} | '
+                                            f'grep -E "^console(_[0-9]+){{0,1}}.log$" | '
                                             f'wc -l', callback=int))[0]
 
-        node.log_file = self.STDOUT_STDERR_CAPTURE.replace('.log', f'_{cnt + 1}.log')
+        node.log_file = os.path.join(self.log_dir, f"console{'_' + str(cnt) if cnt > 0 else ''}.log")
+
+        if cnt > 0:
+            self.logger.debug(f"rotating logs, now logging to {node.log_file} on {node.name}")
+        else:
+            self.logger.debug(f"logging to {node.log_file} on {node.name}")

Review comment:
       Why did you change that? It was exactly like we discussed in Sergey PR?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org