Closed farshidtz closed 1 year ago
The log files have the snap name but the action looks for logs with the suite name:
https://github.com/canonical/edgex-snap-testing/blob/239169bca8d67a2b30593189a8e97264a3292cca/test/action.yml#L64-L76
https://github.com/canonical/edgex-snap-testing/blob/239169bca8d67a2b30593189a8e97264a3292cca/test/utils/snap.go#L127-L131
The snap name isn't available in the action. Moreover, we never fetch the platform errors. This PR changes the action to look for all log files with a pattern and the matching print errors.
After the change:
The log files have the snap name but the action looks for logs with the suite name:
https://github.com/canonical/edgex-snap-testing/blob/239169bca8d67a2b30593189a8e97264a3292cca/test/action.yml#L64-L76
https://github.com/canonical/edgex-snap-testing/blob/239169bca8d67a2b30593189a8e97264a3292cca/test/utils/snap.go#L127-L131
The snap name isn't available in the action. Moreover, we never fetch the platform errors. This PR changes the action to look for all log files with a pattern and the matching print errors.