Skip to content

op-test time synchronization #387

Closed
Closed
@debmc

Description

@debmc

During debug of a hostboot watchdog timeout with openbmc, we needed to accurately correlate the timestamps across a few components. We manually set the openbmc ntp configuration (and have added that to the CI automation for now).

It would be nice to have a synchronize_clocks method early in op-test that at a minimum would set the openbmc ntp and possibly the ipmi sel time, hwclock, os time.

busctl set-property xyz.openbmc_project.Network /xyz/openbmc_project/network/eth0 xyz.openbmc_project.Network.EthernetInterface NTPServers as 1 "216.239.35.4"

busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/time/sync_method xyz.openbmc_project.Time.Synchronization TimeSyncMethod s "xyz.openbmc_project.Time.Synchronization.Method.NTP"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions