Skip to content

Profile resolution test for merge functionality fails. #2166

@iMichaela

Description

@iMichaela

Describe the bug

A test of the profile resolution was observed failing.
Further investigation of the bug is necessary to determine if the bug is in the test case of the profile resolver. The analysis must be done in alignment with he written specification of Profile resolution (published as part of the OSCAL pages).

The error is ignored and does not affect the build.

..Context is group with child control
Child control
Tests for match=@opr:id template
ERROR in x:context (under 'Tests for match=@opr:id template'): Context is an empty sequence.
Error on line 12871 column 42 of merge-compiled.xsl:
  XTMM9000  Processing terminated by xsl:message at line 12871 in merge-compiled.xsl
at template scenario9 on line 12810 column 83 of merge-compiled.xsl:
     invoked by xsl:call-template at file:/Users/miorga/Desktop/ALL_PROJECTS/GH/_usnistgov/OSCAL/src/utils/resolver-pipeline/./testing/xspec/merge-compiled.xsl#73
at template main on line 30 column 41 of merge-compiled.xsl:
     invoked by xsl:for-each at file:/Users/miorga/Desktop/ALL_PROJECTS/GH/_usnistgov/OSCAL/src/utils/resolver-pipeline/./testing/xspec/merge-compiled.xsl#46
at template main on line 30 column 41 of merge-compiled.xsl:
Processing terminated by xsl:message at line 12871 in merge-compiled.xsl

*** Error running the test suite
/Users/miorga/Desktop/ALL_PROJECTS/GH/_usnistgov/OSCAL/src/utils/resolver-pipeline/testing/3_merged/merge.xspec,failed

Who is the bug affecting

OSCAL program resolvers

What is affected by this bug

Tooling & API

How do we replicate this issue

Run:

cd build
make test-profile-resolution

Expected behavior (i.e. solution)

The test to pass.

Other comments

No response

Revisions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions