phc2sys process exits with status 255
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Douglas Henrique Koerich |
Bug Description
Brief Description
-----------------
phc2sys service terminates with exit code 255 (-1) without any indication of root cause; other PTP services (ts2phc and ptp4l) continue to work without issues
Severity
--------
Major: feature is usable but degraded
Steps to Reproduce
------------------
- Stop the phc2sys service that is using interface "ifaceX" as master clock (-s ifaceX)
- Launch phc2sys program with same configuration (-f, -s, etc.) with debugging messages (-l 7)
- Provoke an instability in the interface "ifaceX" (e.g. iplink set dev ifaceX down/up)
- Wait for program to exit with code=255 and check user.log contains the message "ioctl PTP_SYS_
Expected Behavior
------------------
phc2sys service/program should continue to work
Actual Behavior
----------------
phc2sys service/program terminates with exit code=255
Reproducibility
---------------
Reproducible, but not 100% of times
System Configuration
-------
AIO-DX + worker(s)
Branch/Pull Time/Commit
-------
stx6.0
Last Pass
---------
This scenario has not been tested before.
Timestamp/Logs
--------------
Original logs that started analysis:
2022-07-
2022-07-
2022-07-
2022-07-
Logs from investigation (with steps to reproduce):
worker-0 phc2sys: debug [31190.453] phc-test ioctl PTP_SYS_
Test Activity
-------------
Evaluation
Workaround
----------
By removing "255" from phcsys's systemd configuration the service can at least restart
Changed in starlingx: | |
status: | New → In Progress |
assignee: | nobody → Douglas Henrique Koerich (dkoerich-wr) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.networking |
Fix proposed to branch: master /review. opendev. org/c/starlingx /integ/ +/851437
Review: https:/