PTL's is_cray() call fails to detect cray build

Description

Changes made under "https://github.com/PBSPro/pbspro/pull/419" (PP-875) breaks PTL's is_cray() method and it fails to detect if PBS was built for Cray platforms or not.

Cause of the problem is in _log_match(), where we are now setting starttime to current time when it is not set. This makes match_msg() skip the log message that has a timestamp before the starttime (which is not current time). It specifically affects is_cray check because we don't pass any starttime while finding the log message.

I'm raising this ticket as blocker because it breaks existing tests and also I'm unable to run existing cray test to verify

Acceptance Criteria

None

Status

Assignee

Hiren Vadalia

Reporter

Arun Grover

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

Blocker
Configure