Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beaker result reporter returns 500 on complex strings in note #177

Open
comps opened this issue May 3, 2024 · 0 comments
Open

Beaker result reporter returns 500 on complex strings in note #177

comps opened this issue May 3, 2024 · 0 comments

Comments

@comps
Copy link
Contributor

comps commented May 3, 2024

...
2024-05-03 07:05:37 runtest.py:92: lib.results.report_plain:182: ERROR / (CalledProcessError: Command '['./automatus.py', 'rule', '--libvirt', 'qemu:///system', 'contest', '--product', 'rhel9', '--remediate-using', 'oscap', 'account_password_pam_faillock_password_auth', 'accounts_password_last_change_is_in_past', 'accounts_password_pam_pwquality_system_auth', 'accounts_passwords_pam_faillock_interval', 'accounts_user_dot_user_ownership', 'audit_access_failed', 'audit_delete_failed_ppc64le', 'audit_ospp_general_ppc64le', 'audit_privileged_commands_reboot', 'audit_rules_dac_modification_umount', 'audit_rules_immutable', 'audit_rules_networkconfig_modification_network_scripts', 'audit_rules_privileged_commands_su', 'audit_rules_time_adjtimex', 'audit_rules_usergroup_modification_opasswd', 'auditd_data_retention_space_left', 'chronyd_or_ntpd_set_maxpoll', 'configure_ssh_crypto_policy', 'dconf_gnome_disable_user_list', 'dir_perms_world_writable_root_owned', 'directory_owner_etc_selinux', 'disallow_bypass_password_sudo', 'file_at_deny_not_exist', 'file_groupowner_cron_deny', 'file_groupowner_etc_motd', 'file_groupownership_sshd_private_key', 'file_owner_efi_grub2_cfg', 'file_owner_etc_sudoers', 'file_permission_user_init_files', 'file_permissions_cron_weekly', 'file_permissions_etc_passwd', 'file_permissions_unauthorized_world_writable', 'grub2_audit_argument', 'grub2_pti_argument', 'journald_forward_to_syslog', 'kernel_config_debug_wx', 'kernel_config_legacy_vsyscall_emulate', 'kernel_config_panic_timeout', 'kernel_config_slab_merge_default', 'kernel_module_firewire-core_disabled', 'mount_option_home_nodev', 'mount_option_tmp_nosuid', 'network_sniffer_disabled', 'package_audispd-plugins_installed', 'package_ftp_removed', 'package_nss-tools_installed', 'package_rsyslog-gnutls_installed', 'package_telnet-server_removed', 'partition_for_tmp', 'rpm_verify_hashes', 'rsyslog_remote_tls_cacert', 'service_auditd_enabled', 'service_snmpd_disabled', 'set_password_hashing_min_rounds_logindefs', 'sshd_do_not_permit_user_env', 'sshd_set_max_sessions', 'sudo_add_use_pty', 'sysctl_fs_protected_regular', 'sysctl_kernel_pid_max', 'sysctl_net_ipv4_conf_all_route_localnet', 'sysctl_net_ipv4_ip_local_port_range', 'sysctl_net_ipv6_conf_default_accept_ra_pinfo', 'use_kerberos_security_all_exports']' returned non-zero exit status 1.)

2024-05-03 07:05:38 runtest.py:92: lib.results.report_beaker:165: reporting to http://$labctl:8000/recipes/16063824/tasks/177221282/results/ failed with 500

We probably need to figure out which characters are not accepted by the Beaker API and trim them from the test name / note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant