diff --git a/lisa/features/serial_console.py b/lisa/features/serial_console.py index e86dd021f2..ff7f4ecf72 100644 --- a/lisa/features/serial_console.py +++ b/lisa/features/serial_console.py @@ -63,6 +63,7 @@ class SerialConsole(Feature): # more NUMA nodes on AMD processors. # The call trace is annoying but does not affect correct operation of the VM. re.compile(r"(.*RIP: 0010:topology_sane.isra.*)$", re.MULTILINE), + re.compile(r".*EFI stub:.*FIRMWARE BUG: kernel image not aligned on 64k boundary.*", re.IGNORECASE), ] # Patterns for extracting error codes from panic messages diff --git a/lisa/microsoft/testsuites/stress/tlb_stress.py b/lisa/microsoft/testsuites/stress/tlb_stress.py index a4289bcf11..c756625934 100644 --- a/lisa/microsoft/testsuites/stress/tlb_stress.py +++ b/lisa/microsoft/testsuites/stress/tlb_stress.py @@ -715,6 +715,7 @@ def _deploy_tlb_program(self) -> None: # Create working directory self.node.execute(f"mkdir -p {self._work}", sudo=True) + self.node.execute(f"chmod 777 {self._work}", sudo=True) # Get the C program from the same directory c_program_path = Path(__file__).parent / "tlb_flush_stress.c" diff --git a/lisa/tools/modprobe.py b/lisa/tools/modprobe.py index 1d3ce0cbee..7d3d33d4a9 100644 --- a/lisa/tools/modprobe.py +++ b/lisa/tools/modprobe.py @@ -194,6 +194,14 @@ def reload( modprobe_reloader_script: CustomScript = self.node.tools[modprobe_reloader_tool] modprobe_reloader_script.run(parameters, sudo=True, shell=True, nohup=True) + original_user = self.node.connection_info.get('username', None) + if original_user: + self.node.execute( + f"chown {original_user}:{original_user} {loop_process_pid_file_name}", + sudo=True, + shell=True, + ) + cat = self.node.tools[Cat] tried_times: int = 0 timer = create_timer()