Skip to content

Main - #306

Merged
edennihy merged 2 commits into
developfrom
main
Oct 1, 2026
Merged

Main#306
edennihy merged 2 commits into
developfrom
main

Update version history.

7812e13
Select commit
Loading
Failed to load commit list.
LSST-TS Jenkins / Jenkins failed Oct 1, 2026 in 55m 23s

Declarative: Post Actions: warning in 'junit' step

Unit Tests and Coverage Analysis / Shell Script

Error in sh step, with arguments `
set +x
source /home/saluser/.setup_dev.sh || echo loading env failed. Continuing...

    # Update the variables of QT
    # TODO: Remove this in DM-44795
    if [ "true" = "true" ]; then
        export QT_API=PySide6
        export PYTEST_QT_API=PySide6
    fi

        setup -kr .
        scons shebang || echo Failed to generate scons shebang
    
    # We compare to null for bash as the way groovy passes the value
    # is not the same as comparing for an empty string.
    if [ "lsst.ts.standardscripts" = "null" ]; then
        pytest -v
    else
        pytest -v --cov-report html --cov=lsst.ts.standardscripts --junitxml=jenkinsReport/report.xml
    fi
`.
script returned exit code 1
Build log
+ set +x
scons: Reading SConscript files ...
EUPS integration: enabled
Setting up environment to build package 'ts_standardscripts'.
Running pytest with 1 process
pytest: automated test discovery mode enabled.
Detected configuration for python linter flake8
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `shebang'.
scons: done building targets.
============================= test session starts ==============================
platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 -- /opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/bin/python3.13
cachedir: .pytest_cache
PySide6 6.10.2 -- Qt runtime 6.10.2 -- Qt compiled 6.10.2
rootdir: /home/jenkins/workspace/and-Site_ts_standardscripts_main/repo/ts_standardscripts
configfile: pyproject.toml
plugins: anyio-4.14.2, cov-7.1.0, doctestplus-1.7.1, session2file-0.1.11, vcr-1.0.2, xdist-3.8.0, typeguard-4.5.2, asyncio-1.3.0, postgresql-7.0.2, qt-4.5.0, tornasync-0.6.0.post2, xvfb-3.1.1
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... WARNING: AstropyPendingDeprecationWarning: The TestRunner class will be deprecated in a future version.
        Use pytest instead. [astropy.tests.runner]
WARNING: AstropyPendingDeprecationWarning: The TestRunnerBase class will be deprecated in a future version.
        Use pytest instead. [astropy.utils.decorators]
collected 232 items

tests/test_atqueue_script_dir.py::TestATQueueScriptDir::test_atqueue_scripts_path_exists PASSED
tests/test_atqueue_script_dir.py::TestATQueueScriptDir::test_mtqueue_scripts_symlinks_match_scripts_dir PASSED
tests/test_auxtel_executables.py::TestExecutables::test_atpneumatics_checkout %3|1790881114.951|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 1036ms in state CONNECT)
%3|1790881115.916|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 0ms in state CONNECT, 1 identical error(s) suppressed)
%3|1790881123.919|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 0ms in state CONNECT)
%3|1790881127.121|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 3150ms in state CONNECT, 1 identical error(s) suppressed)
%3|1790881152.151|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 7223ms in state CONNECT, 11 identical error(s) suppressed)
%3|1790881162.391|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 7199ms in state CONNECT, 20 identical error(s) suppressed)
%4|1790881185.961|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connection setup timed out in state CONNECT (after 30030ms in state CONNECT)
%3|1790881187.992|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 1056ms in state CONNECT)
%3|1790881188.937|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 0ms in state CONNECT, 1 identical error(s) suppressed)
%4|1790881193.463|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connection setup timed out in state CONNECT (after 30031ms in state CONNECT)
%3|1790881194.471|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 1008ms in state CONNECT)
%3|1790881195.511|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 1039ms in state CONNECT, 1 identical error(s) suppressed)
%3|1790881233.591|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: No route to host (after 15641ms in state CONNECT, 13 identical error(s) suppressed)
%4|1790881238.046|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connection setup timed out in state CONNECT (after 30035ms in state CONNECT)
%3|1790881249.387|FAIL|rdkafka#producer-1| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: Connection refused (after 3423ms in state CONNECT)
%3|1790881253.432|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: Connection refused (after 15385ms in state CONNECT)
%3|1790881253.433|FAIL|rdkafka#producer-2| [thrd:35.85.18.232:9092/bootstrap]: 35.85.18.232:9092/bootstrap: Connect to ipv4#35.85.18.232:9092 failed: Connection refused (after 1ms in state CONNECT, 1 identical error(s) suppressed)
Deleting topics for topic_subname='test_CDU'.
Deleting topic schema from for topic_subname='test_CDU'.
FAILED

=================================== FAILURES ===================================
__________________ TestExecutables.test_atpneumatics_checkout __________________

    @contextlib.contextmanager
    def map_httpcore_exceptions() -> typing.Iterator[None]:
        global HTTPCORE_EXC_MAP
        if len(HTTPCORE_EXC_MAP) == 0:
            HTTPCORE_EXC_MAP = _load_httpcore_exceptions()
        try:
>           yield

/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_transports/default.py:101: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_transports/default.py:250: in handle_request
    resp = self._pool.handle_request(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_sync/connection_pool.py:256: in handle_request
    raise exc from None
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_sync/connection_pool.py:236: in handle_request
    response = connection.handle_request(
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_sync/connection.py:101: in handle_request
    raise exc
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_sync/connection.py:78: in handle_request
    stream = self._connect(request)
             ^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_sync/connection.py:124: in _connect
    stream = self._network_backend.connect_tcp(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_backends/sync.py:207: in connect_tcp
    with map_exceptions(exc_map):
         ^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/contextlib.py:162: in __exit__
    self.gen.throw(value)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

map = {<class 'TimeoutError'>: <class 'httpcore.ConnectTimeout'>, <class 'OSError'>: <class 'httpcore.ConnectError'>}

    @contextlib.contextmanager
    def map_exceptions(map: ExceptionMapping) -> typing.Iterator[None]:
        try:
            yield
        except Exception as exc:  # noqa: PIE786
            for from_exc, to_exc in map.items():
                if isinstance(exc, from_exc):
>                   raise to_exc(exc) from exc
E                   httpcore.ConnectError: [Errno 111] Connection refused

/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpcore/_exceptions.py:14: ConnectError

The above exception was the direct cause of the following exception:
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/asyncio/runners.py:119: in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/asyncio/base_events.py:725: in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
python/lsst/ts/standardscripts/base_script_test_case.py:125: in asyncTearDown
    subjects = schema_registry_client.get_subjects()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/confluent_kafka/schema_registry/_sync/schema_registry_client.py:950: in get_subjects
    return self._rest_client.get('subjects', query)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/confluent_kafka/schema_registry/_sync/schema_registry_client.py:399: in get
    return self.send_request(url, method='GET', query=query)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/confluent_kafka/schema_registry/_sync/schema_registry_client.py:464: in send_request
    raise e
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/confluent_kafka/schema_registry/_sync/schema_registry_client.py:453: in send_request
    response = self.send_http_request(
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/confluent_kafka/schema_registry/_sync/schema_registry_client.py:508: in send_http_request
    response = self.session.request(
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_client.py:825: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_client.py:914: in send
    response = self._send_handling_auth(
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_client.py:942: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_client.py:979: in _send_handling_redirects
    response = self._send_single_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_client.py:1014: in _send_single_request
    response = transport.handle_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_transports/default.py:249: in handle_request
    with map_httpcore_exceptions():
         ^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/contextlib.py:162: in __exit__
    self.gen.throw(value)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @contextlib.contextmanager
    def map_httpcore_exceptions() -> typing.Iterator[None]:
        global HTTPCORE_EXC_MAP
        if len(HTTPCORE_EXC_MAP) == 0:
            HTTPCORE_EXC_MAP = _load_httpcore_exceptions()
        try:
            yield
        except Exception as exc:
            mapped_exc = None
    
            for from_exc, to_exc in HTTPCORE_EXC_MAP.items():
                if not isinstance(exc, from_exc):
                    continue
                # We want to map to the most specific exception we can find.
                # Eg if `exc` is an `httpcore.ReadTimeout`, we want to map to
                # `httpx.ReadTimeout`, not just `httpx.TimeoutException`.
                if mapped_exc is None or issubclass(to_exc, mapped_exc):
                    mapped_exc = to_exc
    
            if mapped_exc is None:  # pragma: no cover
                raise
    
            message = str(exc)
>           raise mapped_exc(message) from exc
E           httpx.ConnectError: [Errno 111] Connection refused

/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/site-packages/httpx/_transports/default.py:118: ConnectError
------------------------------ Captured log call -------------------------------
ERROR    Test:sal_info.py:1293 Error while waiting for consumer group saluser@91f9a6e77a64-Test:0-B-SlPGm09UOnQX-y to be deleted.
Traceback (most recent call last):
  File "/opt/lsst/tssw/ts_salobj/python/lsst/ts/salobj/sal_info.py", line 1284, in _close_kafka
    future.result(timeout=10)
    ~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/concurrent/futures/_base.py", line 462, in result
    raise TimeoutError()
TimeoutError
WARNING  asyncio:base_events.py:2055 Executing <Task finished name='Task-3' coro=<BaseScriptTestCase.asyncTearDown() done, defined at /home/jenkins/workspace/and-Site_ts_standardscripts_main/repo/ts_standardscripts/python/lsst/ts/standardscripts/base_script_test_case.py:69> exception=ConnectError('[Errno 111] Connection refused') created at /opt/lsst/software/stack/conda/envs/lsst-scipipe-13.0.0/lib/python3.13/asyncio/runners.py:101> took 149.041 seconds
=============================== warnings summary ===============================
../../ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:39
  /home/jenkins/workspace/and-Site_ts_standardscripts_main/ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:39: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
    @validator("rows")

../../ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:45
  /home/jenkins/workspace/and-Site_ts_standardscripts_main/ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:45: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
    @validator("cols")

../../ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:51
  /home/jenkins/workspace/and-Site_ts_standardscripts_main/ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:51: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
    @validator("integrationTimeMillis")

../../ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:93
  /home/jenkins/workspace/and-Site_ts_standardscripts_main/ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/roi_spec.py:93: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'flatten'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.13/migration/
    roi: dict[str, ROI] = Field(flatten=True)

../../ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/extras/dm_target_catalog.py:44
  /home/jenkins/workspace/and-Site_ts_standardscripts_main/ci/ts_observatory_control/python/lsst/ts/observatory/control/utils/extras/dm_target_catalog.py:44: UserWarning: Cannot import required libraries. Module will not work.
    warnings.warn("Cannot import required libraries. Module will not work.")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /home/jenkins/workspace/and-Site_ts_standardscripts_main/repo/ts_standardscripts/jenkinsReport/report.xml -
=========================== short test summary info ============================
FAILED tests/test_auxtel_executables.py::TestExecutables::test_atpneumatics_checkout - httpx.ConnectError: [Errno 111] Connection refused
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
============= 1 failed, 2 passed, 5 warnings in 170.71s (0:02:50) ==============

Declarative: Post Actions / Archive JUnit-formatted test results

Warning in junit step.

1 tests failed

Details

  • Declarative: Agent Setup (2.5 sec)
    • Clone extra repos (23 sec)
    • Download git-lfs files (1.2 sec)
    • Install Requirements and Update Branches (1 min 27 sec)
    • Unit Tests and Coverage Analysis (4 min 20 sec)
      Error: script returned exit code 1 - logs
    • Build and Upload documentation (2 sec)
    • Kickoff jobs (1.9 sec)
    • Declarative: Post Actions (3.4 sec)
      Unstable: 1 tests failed - logs