What is the problem? (Here is where you provide a complete Traceback.)
The following test, when added to TestElfPointerArraySectionModifier (from #71 ), fails.
async def test_elf_pointer_array_section_modifier_virtual_address(self, elf_resource: Resource):
"""
Test that `ElfPointerArraySectionModifier` results in updates to the children
`ElfVirtualAddress`.
"""
pointer_array_section = await self._unpack_and_get_first_pointer_array_section(elf_resource)
original_values = list(await pointer_array_section.get_entries())
await pointer_array_section.resource.run(
ElfPointerArraySectionAddModifier,
ElfPointerArraySectionAddModifierConfig(skip_list=(), add_value=self.add_value),
)
updated_pointer_array_section = await pointer_array_section.resource.view_as(
ElfPointerArraySection
)
for i, entry in enumerate(await updated_pointer_array_section.get_entries()):
assert entry.value - self.add_value == original_values[i].value
This test appears to fail because the ElfVirtualAddress.value is not updated when the section's entries are retrieved after ElfPointerArraySectionAddModifier is run.
Please provide some information about your environment.
At minimum we would like the following information on your platform and Python environment:
This was first observed when running the make image container on #71.
If you've discovered it, what is the root cause of the problem?
This could possibly be related to the way in which ElfPointerArraySectionAddModifier is implemented: it does not iterate over its children, but rather modifies its own data directly.
How often does the issue happen?
Every time the above-referenced test is run
What is the problem? (Here is where you provide a complete Traceback.)
The following test, when added to
TestElfPointerArraySectionModifier(from #71 ), fails.This test appears to fail because the
ElfVirtualAddress.valueis not updated when the section's entries are retrieved afterElfPointerArraySectionAddModifieris run.Please provide some information about your environment.
At minimum we would like the following information on your platform and Python environment:
This was first observed when running the
make imagecontainer on #71.If you've discovered it, what is the root cause of the problem?
This could possibly be related to the way in which
ElfPointerArraySectionAddModifieris implemented: it does not iterate over its children, but rather modifies its own data directly.How often does the issue happen?
Every time the above-referenced test is run