summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-08-13 13:30:31 +0300
committerPaul Buetow <paul@buetow.org>2023-08-13 13:30:31 +0300
commit161e1cf7f39a8cc964c08297c5bf23df9d1cefc1 (patch)
tree1a7c2ea3dbad70cc42cb9d5d62eed4ad5c19c410
parenteb27b953bda4362f5e487c95eb42fc6475c2afc3 (diff)
add playground stuff
-rw-r--r--playground/Rexfile22
-rw-r--r--playground/openbsd_cron_test.debug.txt766
-rw-r--r--playground/openbsd_cron_test.txt42
3 files changed, 830 insertions, 0 deletions
diff --git a/playground/Rexfile b/playground/Rexfile
new file mode 100644
index 0000000..6fe5f8c
--- /dev/null
+++ b/playground/Rexfile
@@ -0,0 +1,22 @@
+use Rex -feature => ['1.14', 'exec_autodie'];
+use Rex::Logger;
+use Rex::Commands::Cron;
+
+group openbsd_canary => 'blowfish.buetow.org:2';
+
+user 'rex';
+sudo TRUE;
+
+parallelism 5;
+
+desc 'Cron test';
+task 'openbsd_cron_test', group => 'openbsd_canary', sub {
+ cron add => '_gogios', {
+ minute => '5',
+ hour => '*',
+ day_of_month => '*',
+ month => '*',
+ day_of_week => '*',
+ command => '/path/to/your/cronjob',
+ };
+}; \ No newline at end of file
diff --git a/playground/openbsd_cron_test.debug.txt b/playground/openbsd_cron_test.debug.txt
new file mode 100644
index 0000000..30fd1c0
--- /dev/null
+++ b/playground/openbsd_cron_test.debug.txt
@@ -0,0 +1,766 @@
+[paul@earth]~/git/rexfiles/testing% rex -m -d openbsd_cron_test &> openbsd_cron_test.debug.txt
+[2023-07-30 13:36:36] DEBUG - This is Rex version: 1.14.2
+[2023-07-30 13:36:36] DEBUG - Command Line Parameters
+[2023-07-30 13:36:36] DEBUG - m = 1
+[2023-07-30 13:36:36] DEBUG - d = 1
+[2023-07-30 13:36:36] DEBUG - Creating lock-file (Rexfile.lock)
+[2023-07-30 13:36:36] DEBUG - Loading Rexfile
+[2023-07-30 13:36:36] DEBUG - Disabling usage of a tty
+[2023-07-30 13:36:36] DEBUG - Activating autodie.
+[2023-07-30 13:36:36] DEBUG - Using Net::OpenSSH if present.
+[2023-07-30 13:36:36] DEBUG - Add service check.
+[2023-07-30 13:36:36] DEBUG - Setting set() to not append data.
+[2023-07-30 13:36:36] DEBUG - Registering CMDB as template variables.
+[2023-07-30 13:36:36] DEBUG - activating featureset >= 0.51
+[2023-07-30 13:36:36] DEBUG - activating featureset >= 0.40
+[2023-07-30 13:36:36] DEBUG - activating featureset >= 0.35
+[2023-07-30 13:36:36] DEBUG - activating featureset >= 0.31
+[2023-07-30 13:36:36] DEBUG - Enabling exec_autodie
+[2023-07-30 13:36:36] DEBUG - Turning sudo globally on
+[2023-07-30 13:36:36] DEBUG - Creating new distribution class of type: Base
+[2023-07-30 13:36:36] DEBUG - new distribution class of type Rex::TaskList::Base created.
+[2023-07-30 13:36:36] DEBUG - Creating task: openbsd_cron_test
+[2023-07-30 13:36:36] DEBUG - Found Net::OpenSSH and Net::SFTP::Foreign - using it as default
+[2023-07-30 13:36:36] DEBUG - Registering task: openbsd_cron_test
+[2023-07-30 13:36:36] DEBUG - Initializing Logger from parameters found in Rexfile
+[2023-07-30 13:36:36] DEBUG - Returning existing distribution class of type: Rex::TaskList::Base
+[2023-07-30 13:36:36] DEBUG - Returning existing distribution class of type: Rex::TaskList::Base
+[2023-07-30 13:36:36] DEBUG - Waiting for children to finish
+[2023-07-30 13:36:36] INFO - Running task openbsd_cron_test on blowfish.buetow.org:2
+[2023-07-30 13:36:36] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:36] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:36] DEBUG - $VAR1 = '';
+
+[2023-07-30 13:36:36] DEBUG - Auth-Information inside Task:
+[2023-07-30 13:36:36] DEBUG - password => [[%s]]
+[2023-07-30 13:36:36] DEBUG - auth_type => [[try]]
+[2023-07-30 13:36:36] DEBUG - public_key => [[]]
+[2023-07-30 13:36:36] DEBUG - sudo => [[]]
+[2023-07-30 13:36:36] DEBUG - sudo_password => [[**********]]
+[2023-07-30 13:36:36] DEBUG - port => [[]]
+[2023-07-30 13:36:36] DEBUG - user => [[rex]]
+[2023-07-30 13:36:36] DEBUG - private_key => [[]]
+[2023-07-30 13:36:36] DEBUG - Using Net::OpenSSH for connection
+[2023-07-30 13:36:36] DEBUG - Using user: rex
+[2023-07-30 13:36:36] DEBUG - Connecting to blowfish.buetow.org:2 (rex)
+[2023-07-30 13:36:36] DEBUG - get_openssh_opt()
+[2023-07-30 13:36:36] DEBUG - $VAR1 = {};
+
+[2023-07-30 13:36:36] DEBUG - OpenSSH: key_auth or not defined: blowfish.buetow.org:2 - rex
+[2023-07-30 13:36:36] DEBUG - OpenSSH options:
+[2023-07-30 13:36:36] DEBUG - $VAR1 = [
+ 'blowfish.buetow.org',
+ 'user',
+ 'rex',
+ 'port',
+ '2',
+ 'master_opts',
+ [
+ '-o',
+ 'LogLevel=QUIET',
+ '-o',
+ 'ConnectTimeout=2'
+ ],
+ 'default_ssh_opts',
+ $VAR1->[6]
+ ];
+
+[2023-07-30 13:36:36] DEBUG - OpenSSH constructor options:
+[2023-07-30 13:36:36] DEBUG - $VAR1 = {};
+
+[2023-07-30 13:36:36] DEBUG - Trying following auth types:
+[2023-07-30 13:36:36] DEBUG - $VAR1 = [
+ 'key',
+ 'pass'
+ ];
+
+[2023-07-30 13:36:36] DEBUG - Current Error-Code: 0
+[2023-07-30 13:36:36] DEBUG - Connected and authenticated to blowfish.buetow.org.
+[2023-07-30 13:36:37] DEBUG - Successfully authenticated on blowfish.buetow.org:2.
+[2023-07-30 13:36:37] DEBUG - Executing: perl -MFile::Spec -le 'print File::Spec->tmpdir'
+[2023-07-30 13:36:37] DEBUG - Detecting shell...
+[2023-07-30 13:36:37] DEBUG - Searching for shell: zsh
+[2023-07-30 13:36:37] DEBUG - Searching for shell: ksh
+[2023-07-30 13:36:37] DEBUG - Found shell and using: ksh
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {};
+
+[2023-07-30 13:36:37] DEBUG - SSH/executing: LC_ALL=C ; export LC_ALL; perl -MFile::Spec -le 'print File::Spec->tmpdir'
+[2023-07-30 13:36:37] DEBUG - /tmp
+
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: which perl
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S',
+ 'fail_ok' => 1,
+ 'valid_retval' => [
+ 0
+ ]
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which perl '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which perl '
+[2023-07-30 13:36:37] DEBUG - /usr/bin/perl
+
+[2023-07-30 13:36:37] DEBUG - Executing openbsd_cron_test
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: which lsb_release
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S',
+ 'fail_ok' => 1,
+ 'valid_retval' => [
+ 0
+ ]
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which lsb_release '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which lsb_release '
+[2023-07-30 13:36:37] DEBUG - ========= ERR ============
+[2023-07-30 13:36:37] DEBUG - which: lsb_release: Command not found.
+
+[2023-07-30 13:36:37] DEBUG - ========= ERR ============
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: test -d c:/
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d c:/ '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d c:/ '
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: test -e /etc/system-release
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/system-release '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/system-release '
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: test -d /etc/system-release
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/system-release '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/system-release '
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:37] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:37] DEBUG - Sudo: Executing: test -e /etc/debian_version
+[2023-07-30 13:36:37] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:37] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:37] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/debian_version '
+[2023-07-30 13:36:37] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/debian_version '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/debian_version
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/debian_version '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/debian_version '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -e /etc/SuSE-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SuSE-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SuSE-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/SuSE-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SuSE-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SuSE-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -e /etc/SUSE-brand
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SUSE-brand '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SUSE-brand '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/SUSE-brand
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SUSE-brand '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SUSE-brand '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -e /etc/mageia-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/mageia-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/mageia-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/mageia-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/mageia-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/mageia-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -e /etc/fedora-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/fedora-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/fedora-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/fedora-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/fedora-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/fedora-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -e /etc/gentoo-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/gentoo-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/gentoo-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:38] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:38] DEBUG - Sudo: Executing: test -d /etc/gentoo-release
+[2023-07-30 13:36:38] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:38] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:38] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/gentoo-release '
+[2023-07-30 13:36:38] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/gentoo-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -e /etc/altlinux-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/altlinux-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/altlinux-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -d /etc/altlinux-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/altlinux-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/altlinux-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -e /etc/redhat-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/redhat-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/redhat-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -d /etc/redhat-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/redhat-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/redhat-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -e /etc/openwrt_release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/openwrt_release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/openwrt_release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -d /etc/openwrt_release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/openwrt_release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/openwrt_release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -e /etc/arch-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/arch-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/arch-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -d /etc/arch-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/arch-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/arch-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -e /etc/manjaro-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/manjaro-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/manjaro-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: test -d /etc/manjaro-release
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/manjaro-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/manjaro-release '
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:39] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:39] DEBUG - Sudo: Executing: uname -s
+[2023-07-30 13:36:39] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:39] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S',
+ 'fail_ok' => 0,
+ 'valid_retval' => [
+ 0
+ ]
+ };
+
+[2023-07-30 13:36:39] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; uname -s '
+[2023-07-30 13:36:39] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; uname -s '
+[2023-07-30 13:36:40] DEBUG - OpenBSD
+
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: which lsb_release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S',
+ 'fail_ok' => 1,
+ 'valid_retval' => [
+ 0
+ ]
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which lsb_release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:/usr/pkg/sbin; export PATH; which lsb_release '
+[2023-07-30 13:36:40] DEBUG - ========= ERR ============
+[2023-07-30 13:36:40] DEBUG - which: lsb_release: Command not found.
+
+[2023-07-30 13:36:40] DEBUG - ========= ERR ============
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -d c:/
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d c:/ '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d c:/ '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -e /etc/system-release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/system-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/system-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -d /etc/system-release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/system-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/system-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -e /etc/debian_version
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/debian_version '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/debian_version '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -d /etc/debian_version
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/debian_version '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/debian_version '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -e /etc/SuSE-release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SuSE-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SuSE-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -d /etc/SuSE-release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SuSE-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SuSE-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -e /etc/SUSE-brand
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SUSE-brand '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/SUSE-brand '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -d /etc/SUSE-brand
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SUSE-brand '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/SUSE-brand '
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:40] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:40] DEBUG - Sudo: Executing: test -e /etc/mageia-release
+[2023-07-30 13:36:40] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:40] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:40] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/mageia-release '
+[2023-07-30 13:36:40] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/mageia-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -d /etc/mageia-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/mageia-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/mageia-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -e /etc/fedora-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/fedora-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/fedora-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -d /etc/fedora-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/fedora-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/fedora-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -e /etc/gentoo-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/gentoo-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/gentoo-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -d /etc/gentoo-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/gentoo-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/gentoo-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -e /etc/altlinux-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/altlinux-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/altlinux-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -d /etc/altlinux-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/altlinux-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/altlinux-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -e /etc/redhat-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/redhat-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/redhat-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -d /etc/redhat-release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/redhat-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/redhat-release '
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:41] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:41] DEBUG - Sudo: Executing: test -e /etc/openwrt_release
+[2023-07-30 13:36:41] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:41] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:41] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/openwrt_release '
+[2023-07-30 13:36:41] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/openwrt_release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: test -d /etc/openwrt_release
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:42] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/openwrt_release '
+[2023-07-30 13:36:42] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/openwrt_release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: test -e /etc/arch-release
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:42] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/arch-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/arch-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: test -d /etc/arch-release
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:42] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/arch-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/arch-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: test -e /etc/manjaro-release
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:42] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/manjaro-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -e /etc/manjaro-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: test -d /etc/manjaro-release
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'prepend_command' => 'sudo -p \'\' -S'
+ };
+
+[2023-07-30 13:36:42] DEBUG - sudo: exec: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/manjaro-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Interface::Exec::OpenSSH/executing: sudo -p '' -S sh -c 'LC_ALL=C ; export LC_ALL; test -d /etc/manjaro-release '
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (private_key): returning
+[2023-07-30 13:36:42] DEBUG - Rex::Group::Entry::Server (public_key): returning
+[2023-07-30 13:36:42] DEBUG - Sudo: Executing: uname -s
+[2023-07-30 13:36:42] DEBUG - Shell/Bash: Got options:
+[2023-07-30 13:36:42] DEBUG - $VAR1 = {
+ 'valid_retval'