Skip to content

Bump pyinstaller from 5.13.0 to 6.10.0

5f86789
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Bump pyinstaller from 5.13.0 to 6.10.0 #1340

Bump pyinstaller from 5.13.0 to 6.10.0
5f86789
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Sep 10, 2025 in 0s

20 errors, 11 fail, 20 skipped, 1 441 pass in 13m 13s

     21 files       21 suites   13m 13s ⏱️
1 492 tests 1 441 ✔️   20 💤 11  20 🔥
7 142 runs  6 851 ✔️ 234 💤 37  20 🔥

Results for commit 5f86789.

Annotations

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 4 runs failed: test_basic (test_from_source.test_from_source)

reports/pytest-results-3.10-macos-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
scalyr_api_key = '', scalyr_server = 'agent.scalyr.com'
scalyr_api_read_key = ''
server_host = 'test_basic-3.8-ubuntu-22.04-17627740927-1-1757541086'
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'logs': [{'attributes': {'parser': 'json'}, 'path': '/home/runner/scalyr-agent-dev/log/test.log'}], 's...ttributes': {'serverHost': 'test_basic-3.8-ubuntu-22.04-17627740927-1-1757541086'}, 'verify_server_certificate': False}

    def test_basic(
        scalyr_api_key,
        scalyr_server,
        scalyr_api_read_key,
        server_host,
        agent_paths,
        agent_commander,
        default_config,
    ):
        """
        Perform some basic checks to running agent.
        Verify agent log for errors, write test messages to a test log file and check if
        those messages are reached the Scalyr server.
        """
        upload_test_log_path = agent_paths.logs_dir / "test.log"
    
        timeout_tracker = TimeoutTracker(200)
    
        default_config["logs"] = [
            {"path": str(upload_test_log_path), "attributes": {"parser": "json"}}
        ]
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait()

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:73: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 4 runs failed: test_rate_limited (test_from_source.test_from_source)

reports/pytest-results-3.10-macos-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
scalyr_api_key = '', scalyr_server = 'agent.scalyr.com'
scalyr_api_read_key = ''
server_host = 'test_rate_limited-3.8-ubuntu-22.04-17627740927-1-1757541086'
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'logs': [{'attributes': {'parser': 'json'}, 'path': '/home/runner/scalyr-agent-dev/log/rate_limited_da...es': {'serverHost': 'test_rate_limited-3.8-ubuntu-22.04-17627740927-1-1757541086'}, 'verify_server_certificate': False}

    def test_rate_limited(
        scalyr_api_key,
        scalyr_server,
        scalyr_api_read_key,
        server_host,
        agent_paths,
        agent_commander,
        default_config,
    ):
        """
        Writes 5000 large lines to data.log, then waits until it detects at least one such message in
        Scalyr, then waits a set time before checking how many lines have been uploaded. The intent of this is to test
        rate limiting, and as such the agent must be configured with a rate limiting options.
        """
        upload_test_log_path = agent_paths.logs_dir / "rate_limited_data.log"
    
        timeout_tracker = TimeoutTracker(200)
    
        default_config["logs"] = [
            {"path": str(upload_test_log_path), "attributes": {"parser": "json"}}
        ]
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
        # This value should match the rate limit configured for the agent when running this test
        rate_limit_bytes_per_second = 500000
    
        upload_test_log_path.touch()
    
>       agent_commander.start_and_wait(
            logger=logger,
            env={
                "SCALYR_MAX_SEND_RATE_ENFORCEMENT": "500KB/s",
                "SCALYR_DISABLE_MAX_SEND_RATE_ENFORCEMENT_OVERRIDES": "true",
                "SCALYR_MIN_ALLOWED_REQUEST_SIZE": "100",
                "SCALYR_MAX_ALLOWED_REQUEST_SIZE": "500000",
                "SCALYR_MIN_REQUEST_SPACING_INTERVAL": "0.0",
                "SCALYR_MAX_REQUEST_SPACING_INTERVAL": "0.5",
            },
        )

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:132: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': {'SCALYR_DISABLE_MAX_SEND_RATE_ENFORCEMENT_OVERRIDES': 'true', 'SCALYR_MAX_ALLOWED_REQUEST_SIZE': '500000', 'SCALYR_MAX_REQUEST_SPACING_INTERVAL': '0.5', 'SCALYR_MAX_SEND_RATE_ENFORCEMENT': '500KB/s', ...}}
retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 4 runs failed: test_with_failing_essential_monitor (test_from_source.test_from_source)

reports/pytest-results-3.10-macos-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
scalyr_api_key = '', scalyr_server = 'agent.scalyr.com'
scalyr_api_read_key = ''
server_host = 'test_with_failing_essential_monitor-3.8-ubuntu-22.04-17627740927-1-1757541086'
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'additional_monitor_module_paths': '/home/runner/work/scalyr-agent-2/scalyr-agent-2/tests/end_to_end_tests/test_from_...rver_attributes': {'serverHost': 'test_with_failing_essential_monitor-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}

    @pytest.mark.timeout(40)
    def test_with_failing_essential_monitor(
        scalyr_api_key,
        scalyr_server,
        scalyr_api_read_key,
        server_host,
        agent_paths,
        agent_commander,
        default_config,
    ):
        """
        Check that special 'stop_agent_on_failure' directive in a monitor's config
        make the whole agent fail if the monitor fails too.
        """
        test_monitors_path = pl.Path(__file__).parent / "fixtures"
    
        default_config.update(
            {
                "additional_monitor_module_paths": str(test_monitors_path),
                "monitors": [
                    {
                        "module": "monitors.essential_failing_monitor",
                        "id": "essential",
                        "stop_agent_on_failure": True,
                    }
                ],
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
        logger.info("Starting agent.")
>       agent_commander.start()

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:276: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 4 runs failed: test_with_failing_non_essential_monitors (test_from_source.test_from_source)

reports/pytest-results-3.10-macos-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
scalyr_api_key = '', scalyr_server = 'agent.scalyr.com'
scalyr_api_read_key = ''
server_host = 'test_with_failing_non_essential_monitors-3.8-ubuntu-22.04-17627740927-1-1757541086'
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'additional_monitor_module_paths': '/home/runner/work/scalyr-agent-2/scalyr-agent-2/tests/end_to_end_tests/test_from_...attributes': {'serverHost': 'test_with_failing_non_essential_monitors-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}

    @pytest.mark.timeout(40)
    def test_with_failing_non_essential_monitors(
        scalyr_api_key,
        scalyr_server,
        scalyr_api_read_key,
        server_host,
        agent_paths,
        agent_commander,
        default_config,
    ):
        """
        Test the 'stop_agent_on_failure' option is set to False or default.
        Agent, for the backward compatibility reasons, must not fail with those "non-essential" monitors.
        """
        test_monitors_path = pl.Path(__file__).parent / "fixtures"
    
        default_config.update(
            {
                "additional_monitor_module_paths": str(test_monitors_path),
                "monitors": [
                    {
                        "module": "monitors.essential_failing_monitor",
                        "id": "not_essential",
                        "stop_agent_on_failure": False,
                    },
                    {
                        "module": "monitors.essential_failing_monitor",
                        "id": "not_essential_default",
                    },
                ],
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
        logger.info("Starting agent.")
>       agent_commander.start()

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:349: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_kill[2-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 2, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_kill[2-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 2, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_kill(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
    
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:512: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_kill[1-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 1, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_kill[1-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 1, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_kill(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
    
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:512: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_stop[2-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 2, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_stop[2-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 2, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_stop(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:581: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_stop[1-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 1, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_stop[1-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 1, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_stop(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:581: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_restart[2-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 2, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_restart[2-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 2, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_restart(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:624: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_restart[1-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 1, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_restart[1-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 1, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"], [1, "process"]],
    )
    def test_standalone_agent_restart(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:624: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check warning on line 0 in test_from_source.test_from_source

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 out of 4 runs failed: test_standalone_agent_config_reload[2-process] (test_from_source.test_from_source)

reports/pytest-results-3.10-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.8-ubuntu-agent-source/junit-1.xml [took 0s]
reports/pytest-results-3.9-ubuntu-agent-source/junit-1.xml [took 0s]
Raw output
subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.
agent_paths = AgentPaths(configs_dir=PosixPath('/home/runner/scalyr-agent-dev/config'), logs_dir=PosixPath('/home/runner/scalyr-agen...unner/scalyr-agent-dev/log/agent.log'), agent_config_path=PosixPath('/home/runner/scalyr-agent-dev/config/agent.json'))
agent_commander = <tests.end_to_end_tests.tools.AgentCommander object at 0x7fd034575880>
default_config = {'api_key': '', 'default_sessions_per_worker': 2, 'disable_send_requests': True, 'server_attributes': {'serverHost': 'test_standalone_agent_config_reload[2-process]-3.8-ubuntu-22.04-17627740927-1-1757541086'}, ...}
workers_session_count = 2, workers_type = 'process'

    @pytest.mark.skipif(
        platform.system() == "Darwin", reason="Process workers can be enabled only on Linux"
    )
    @pytest.mark.parametrize(
        ["workers_session_count", "workers_type"],
        [[2, "process"]],
    )
    def test_standalone_agent_config_reload(
        agent_paths,
        agent_commander,
        default_config,
        workers_session_count,
        workers_type,
    ):
        default_config.update(
            {
                "default_sessions_per_worker": workers_session_count,
                "use_multiprocess_workers": workers_type == "process",
                "disable_send_requests": True,
            }
        )
    
        agent_paths.agent_config_path.write_text(json.dumps(default_config))
    
>       agent_commander.start_and_wait(logger=logger)

#x1B[1m#x1B[31mtests/end_to_end_tests/test_from_source/test_from_source.py#x1B[0m:695: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:98: in start_and_wait
    self.start(env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:90: in start
    self._check_call_command(cmd, env=env)
#x1B[1m#x1B[31mtests/end_to_end_tests/tools.py#x1B[0m:66: in _check_call_command
    subprocess.check_call([*self.executable_args, *command_args], **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start'],)
kwargs = {'env': None}, retcode = 1
cmd = ['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']

    def check_call(*popenargs, **kwargs):
        """Run command with arguments.  Wait for command to complete.  If
        the exit code was zero then return, otherwise raise
        CalledProcessError.  The CalledProcessError object will have the
        return code in the returncode attribute.
    
        The arguments are the same as for the call function.  Example:
    
        check_call(["ls", "-l"])
        """
        retcode = call(*popenargs, **kwargs)
        if retcode:
            cmd = kwargs.get("args")
            if cmd is None:
                cmd = popenargs[0]
>           raise CalledProcessError(retcode, cmd)
#x1B[1m#x1B[31mE           subprocess.CalledProcessError: Command '['/home/runner/work/scalyr-agent-2/scalyr-agent-2/.tox/py38-end2end/bin/python', '/home/runner/work/scalyr-agent-2/scalyr-agent-2/scalyr_agent/agent_main.py', 'start']' returned non-zero exit status 1.#x1B[0m

#x1B[1m#x1B[31m/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/subprocess.py#x1B[0m:364: CalledProcessError

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python2 (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python2_host (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python2_ssl_bad_cafile (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python3 (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python3_ssl_bad_cafile (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python3_host (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python2_ssl (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python2_ssl_bad_hostname (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python3_ssl_bad_hostname (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.mysql_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_mysql_python3_ssl (tests.smoke_tests.monitors_test.mysql_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.nginx_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_nginx_python3 (tests.smoke_tests.monitors_test.nginx_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.nginx_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_nginx_python2 (tests.smoke_tests.monitors_test.nginx_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.postgres_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_postgres_python3 (tests.smoke_tests.monitors_test.postgres_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m

Check failure on line 0 in tests.smoke_tests.monitors_test.postgres_test

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_postgres_python2 (tests.smoke_tests.monitors_test.postgres_test) with error

reports/pytest-results-3.8-monitor-smoketests/test-results/junit-1.xml [took 0s]
Raw output
failed on setup with "NameError: 'SCALYR_API_KEY' environment variable must be specified."
#x1B[1m#x1B[31mtests/conftest.py#x1B[0m:109: in agent_environment
    raise NameError(
#x1B[1m#x1B[31mE   NameError: 'SCALYR_API_KEY' environment variable must be specified.#x1B[0m