Skip to content

Failed end-to-end test in CI did not include Propolis logs in output artifacts #4490

Open
@gjcolombo

Description

@gjcolombo

https://buildomat.eng.oxide.computer/wg/0/details/01HEXKACYWF89VM1E9CTJYVV3R/Lpprn4Zt49bMSVdfGonecyoOgVrADSncQ5GrM2n30Tfe2sK4/01HEXKATT657FMT1H9Z7WPQBJB

This end-to-end test run failed waiting for the guest to display its SSH key sigil on its serial console. We'd like to have the Propolis logs in cases like this to see if the host believes the guest did anything untoward. However, the output rules for this job appear to exclude these logs:

BasicConfig {
    output_rules: [
        "%/var/svc/log/oxide-sled-agent:default.log*",
        "%/pool/ext/*/crypt/zone/oxz_*/root/var/svc/log/oxide-*.log*",
        "%/pool/ext/*/crypt/zone/oxz_*/root/var/svc/log/system-illumos-*.log*",
        "%/pool/ext/*/crypt/zone/oxz_ntp_*/root/var/log/chrony/*.log*",
        "!/pool/ext/*/crypt/zone/oxz_propolis-server_*/root/var/svc/log/*.log*",
        "%/pool/ext/*/crypt/debug/global/oxide-sled-agent:default.log.*",
        "%/pool/ext/*/crypt/debug/oxz_*/oxide-*.log.*",
        "%/pool/ext/*/crypt/debug/oxz_*/system-illumos-*.log.*",
        "!/pool/ext/*/crypt/debug/oxz_propolis-server_*/*.log.*",
    ],

Per the Buildomat readme:

To exclude specific files from upload, the ! prefix can be used to signify that "any file that matches this pattern should be ignored, even if it was nominally included by another pattern". Order in the array is not important; a match of any exclusion rule will prevent that file from behing uploaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testing & AnalysisTests & AnalyzersbugSomething that isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions