Skip to content

[BUG] Fix Integration Test Warnings #334

@Mikefly123

Description

@Mikefly123

Short summary

We're using a few things in our integration test suite that are deprecated.

Steps to reproduce

Run make test-integration with a flight controller board or view the latest integration test logs.

Expected behavior

No warnings!

Actual behavior

We currently see 4 deprecation warnings when running the integration tests. This is not a critical issue, but should be addressed when someone has some time to cleanup our logs and stay current.

Logs / crash output

PROVESFlightControllerReference/test/int/veml6031_test.py:11
  /home/spacelab/actions-runner/_work/proves-core-reference/proves-core-reference/PROVESFlightControllerReference/test/int/veml6031_test.py:11: DeprecationWarning: Ground type system has been migrated to the fprime-gds package, in fprime_gds.common.models.serialize. Change your imports accordingly.
    from fprime.common.models.serialize.numerical_types import F32Type

PROVESFlightControllerReference/test/int/veml6031_test.py:11
  /home/spacelab/actions-runner/_work/proves-core-reference/proves-core-reference/PROVESFlightControllerReference/test/int/veml6031_test.py:11: DeprecationWarning: Numerical types are defined in fprime_gds.common.models.serialize.numerical_types. Change your imports accordingly.
    from fprime.common.models.serialize.numerical_types import F32Type

PROVESFlightControllerReference/test/int/rtc_test.py::test_04_sequence_cancellation_on_time_set
  /home/spacelab/actions-runner/_work/proves-core-reference/proves-core-reference/fprime-venv/lib/python3.13/site-packages/fprime_gds/common/files/helpers.py:152: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    self.__start = datetime.datetime.utcnow()

PROVESFlightControllerReference/test/int/rtc_test.py::test_04_sequence_cancellation_on_time_set
  /home/spacelab/actions-runner/_work/proves-core-reference/proves-core-reference/fprime-venv/lib/python3.13/site-packages/fprime_gds/common/files/helpers.py:206: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).

Target board

RP2350 (Pico 2)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions