[CUBRIDQA-1141] Implement cdc_repl #628
Open
Annotations
3 errors and 17 warnings
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://gh.neting.ccmunity/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
|
|
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java#L3
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:3:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:4:- * Redistribution and use in source and binary forms, with or without
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:5:- * modification, are permitted provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:6:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:7:- * * Redistributions of source code must retain the above copyright notice,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:8:- * this list of conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:9:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:10:- * * Redistributions in binary form must reproduce the above copyright
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:11:- * notice, this list of conditions and the following disclaimer in
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:12:- * the documentation and/or other materials provided with the distribution.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:13:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:14:- * * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:15:- * derived from this software without specific prior written permission.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:16:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:17:- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:18:- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:19:- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:20:- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:21:- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:22:- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:23:- * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:3:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:4:+ * <p>Redistribution and use in source and binary forms, with or without modification, are permitted
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:5:+ * provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:6:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:7:+ * <p>* Redistributions of source code must retain the above copyright notice, this list of
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:8:+ * conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:9:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:10:+ * <p>* Redistributions in binary form must reproduce the above copyright notice, this list of
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java#L27
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:27:-import java.util.ArrayList;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:28:-import java.util.regex.Matcher;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:29:-import java.util.regex.Pattern;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:30:-
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java#L36
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:33:+import java.util.ArrayList;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:34:+import java.util.regex.Matcher;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:35:+import java.util.regex.Pattern;
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java#L39
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:39:- private static int MAX_TRY_WAIT_STATUS = 180;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:40:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:41:- public static void rebuildFinalDatabase(Context context, InstanceManager hostManager, Log log, String... params) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:42:- int maxTry = 5;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:43:- int loop = 1;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:44:- while (maxTry-- > 0) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:45:- try {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:46:- log.println("DATABASE IS DIRTY. REBUILD ... try " + loop);
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:47:- __rebuildDatabase(context, hostManager, log, params);
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:48:- break;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:49:- } catch (Exception e) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:50:- log.println("Rebuild DB Error: " + e.getMessage());
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:51:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:52:- loop ++;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:53:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:54:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:55:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:56:- private static void __rebuildDatabase(Context context, InstanceManager hostManager, Log log, String... params) throws Exception {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:57:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:58:- ArrayList<SSHConnect> allHosts = hostManager.getAllNodeList();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:59:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:60:- StringBuffer s = new StringBuffer();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:61:- s.append(
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:62:- "pkill -u $USER cub;pkill -u $USER cdc_test_helper;ps -u $USER | grep cub | awk '{print $1}' | grep -v PID | xargs -i kill -9 {}; ipcs | grep $USER | awk '{print $2}' | xargs -i ipcrm -m {};sleep 2;cubrid deletedb "
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:63:- + hostManager.getTestDb()).append(";");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:64:- s.append("cd ${CUBRID}/databases/").append(";");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:65:- if (CommonUtils.isEmpty(hostManager.getTestDb()) == false) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:66:- s.append("rm -rf ").append(hostManager.getTestDb().trim() + "*").append(";");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:67:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:68:- s.append("cd ~;");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:69:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:70:- GeneralScriptInput script = new GeneralScriptInput(s.toString());
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:71:- for (SSHConnect ssh : allHosts) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:72:-System.out.println(s.toString());
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:73:-log.println(s.toString());
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CdcReplUtils.java:74:- String result=ssh.execute(script);
CTP/cdc_repl/src/com/navercorp/cubridqa
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java#L3
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:3:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:4:- * Redistribution and use in source and binary forms, with or without
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:5:- * modification, are permitted provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:6:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:7:- * * Redistributions of source code must retain the above copyright notice,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:8:- * this list of conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:9:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:10:- * * Redistributions in binary form must reproduce the above copyright
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:11:- * notice, this list of conditions and the following disclaimer in
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:12:- * the documentation and/or other materials provided with the distribution.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:13:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:14:- * * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:15:- * derived from this software without specific prior written permission.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:16:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:17:- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:18:- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:19:- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:20:- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:21:- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:22:- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:23:- * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:3:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:4:+ * <p>Redistribution and use in source and binary forms, with or without modification, are permitted
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:5:+ * provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:6:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:7:+ * <p>* Redistributions of source code must retain the above copyright notice, this list of
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:8:+ * conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:9:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:10:+ * <p>* Redistributions in binary form must reproduce the above copyright notice, this list of
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:11:+ * conditions and the following disclaimer in the documentation and
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java#L25
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:25:-
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java#L32
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:32:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:33:- private boolean isSame;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:34:- private boolean hasPatch;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:35:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:36:- public int check(String filePath, String masterName, String slaveOrReplicaName, String fileSuffix) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:37:- String masterFile = filePath + "." + masterName + ".dump";
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:38:- String slaveFile = filePath + "." + slaveOrReplicaName + ".dump";
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:39:- String master_slaveOrReplicaDiffFile = filePath + "." + masterName + ".slave1." + fileSuffix;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:40:- String master_slaveOrReplicaDiffFileTemp = master_slaveOrReplicaDiffFile + ".temp";
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:41:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:42:- StringBuilder scripts = new StringBuilder();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:43:- scripts.append("diff '" + masterFile + "' '" + slaveFile + "' > '" + master_slaveOrReplicaDiffFileTemp + "' 2>&1\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:44:- scripts.append("if [ $? -eq 0 ]; then\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:45:- scripts.append(" echo PASS BASE\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:46:- scripts.append("else\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:47:- scripts.append(" if [ -f '"+ master_slaveOrReplicaDiffFile +"' ]; then");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:48:- scripts.append(" diff '" + master_slaveOrReplicaDiffFile + "' '" + master_slaveOrReplicaDiffFileTemp + "'\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:49:- scripts.append(" if [ $? -eq 0 ]; then\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:50:- scripts.append(" echo PASS PATCH\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:51:- scripts.append(" else\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:52:- scripts.append(" echo FAIL PATCH\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:53:- scripts.append(" fi\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:54:- scripts.append(" else\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:55:- scripts.append(" echo FAIL BASE\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:56:- scripts.append(" fi\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:57:- scripts.append("fi\n");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:58:- int shellType = CommonUtils.getShellType(false);
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:59:- String result = LocalInvoker.exec(scripts.toString(), shellType, false);
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:60:- this.isSame = result.indexOf("PASS") != -1;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:61:- this.hasPatch = result.indexOf("PATCH") != -1;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:62:- return isSame ? 0: 1;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:63:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:64:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:65:- public boolean isSame() {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckDiff.java:66:- return this.isSame;
CTP/cdc_repl/src
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java#L3
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:3:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:4:- * Redistribution and use in source and binary forms, with or without
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:5:- * modification, are permitted provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:6:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:7:- * * Redistributions of source code must retain the above copyright notice,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:8:- * this list of conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:9:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:10:- * * Redistributions in binary form must reproduce the above copyright
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:11:- * notice, this list of conditions and the following disclaimer in
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:12:- * the documentation and/or other materials provided with the distribution.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:13:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:14:- * * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:15:- * derived from this software without specific prior written permission.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:16:- *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:17:- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:18:- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:19:- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:20:- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:21:- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:22:- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:23:- * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:3:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:4:+ * <p>Redistribution and use in source and binary forms, with or without modification, are permitted
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:5:+ * provided that the following conditions are met:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:6:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:7:+ * <p>* Redistributions of source code must retain the above copyright notice, this list of
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:8:+ * conditions and the following disclaimer.
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:9:+ *
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:10:+ * <p>* Redistributions in
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java#L28
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:28:-
|
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java#L35
[code-style (indent, astyle, google-java-format)] reported by reviewdog 🐶
Raw Output:
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:35:- Context context;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:36:- SSHConnect ssh;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:37:- String envId;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:38:- String sshTitle;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:39:- Log log;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:40:- boolean finalPass = true;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:41:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:42:- public CheckRequirement(Context context, String envId, SSHConnect ssh) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:43:- this.context = context;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:44:- this.envId = envId;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:45:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:46:- this.log = new Log(CommonUtils.concatFile(context.getCurrentLogDir(), "check_" + envId + ".log"), true, context.isContinueMode());
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:47:- this.finalPass = true;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:48:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:49:- this.ssh = ssh;
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:50:- this.sshTitle = ssh.toString();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:51:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:52:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:53:- public boolean check() throws Exception {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:54:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:55:- log.println("=================== Check " + sshTitle + "============================");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:56:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:57:- checkVariable("JAVA_HOME");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:58:- checkVariable("CTP_HOME");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:59:- checkVariable("CUBRID");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:60:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:61:- checkCommand("java");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:62:- checkCommand("diff");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:63:- checkCommand("wget");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:64:- checkCommand("find");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:65:- checkCommand("cat");
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:66:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:67:- if (context.enableCheckDiskSpace()) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:68:- checkDiskSpace();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:69:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:70:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:71:- if (ssh != null) {
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:72:- ssh.close();
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:73:- }
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:74:-
CTP/cdc_repl/src/com/navercorp/cubridqa/cdc_repl/CheckRequirement.java:75:- if (!finalPass) {
CTP/cdc_repl/src/co
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading