TrueNAS SCALE Angelfish api2.test_426_smb_vss check_shadow_copies test are failing

Description

api2.test_426_smb_vss.test_007_check_shadow_copies[SMB1]

Error Message
AssertionError: []
assert 0 == 1
+0
-1
Stacktrace
request = <FixtureRequest for <Function test_007_check_shadow_copies[SMB1]>>
proto = 'SMB1'

@pytest.mark.dependency(name="SHARE_HAS_SHADOW_COPIES")
@pytest.mark.parametrize('proto', ["SMB1", "SMB2"])
def test_007_check_shadow_copies(request, proto):
"""
This is very basic validation of presence of snapshot
over SMB1 and SMB2/3.
"""
depends(request, ["VSS_USER_CREATED"])
c = SMB()
snaps = c.get_shadow_copies(
host=ip,
share=SMB_NAME,
username=SMB_USER,
password=SMB_PWD,
smb1=(proto == "SMB1")
)
> assert len(snaps) == 1, snaps
E AssertionError: []
E assert 0 == 1
E +0
E -1

api2/test_426_smb_vss.py:219: AssertionError

api2.test_426_smb_vss.test_007_check_shadow_copies[SMB2]

Error Message
AssertionError: []
assert 0 == 1
+0
-1
Stacktrace
request = <FixtureRequest for <Function test_007_check_shadow_copies[SMB2]>>
proto = 'SMB2'

@pytest.mark.dependency(name="SHARE_HAS_SHADOW_COPIES")
@pytest.mark.parametrize('proto', ["SMB1", "SMB2"])
def test_007_check_shadow_copies(request, proto):
"""
This is very basic validation of presence of snapshot
over SMB1 and SMB2/3.
"""
depends(request, ["VSS_USER_CREATED"])
c = SMB()
snaps = c.get_shadow_copies(
host=ip,
share=SMB_NAME,
username=SMB_USER,
password=SMB_PWD,
smb1=(proto == "SMB1")
)
> assert len(snaps) == 1, snaps
E AssertionError: []
E assert 0 == 1
E +0
E -1

api2/test_426_smb_vss.py:219: AssertionError

api2.test_426_smb_vss.test_009_check_shadow_copies_count_after_setup[SMB1]

Error Message
AssertionError: []
assert 0 == 4
+0
-4
Stacktrace
request = <FixtureRequest for <Function test_009_check_shadow_copies_count_after_setup[SMB1]>>
proto = 'SMB1'

@pytest.mark.parametrize('proto', ["SMB1", "SMB2"])
def test_009_check_shadow_copies_count_after_setup(request, proto):
"""
This is very basic validation of presence of snapshot
over SMB1 and SMB2/3.
"""
depends(request, ["VSS_USER_CREATED"])
c = SMB()
snaps = c.get_shadow_copies(
host=ip,
share=SMB_NAME,
username=SMB_USER,
password=SMB_PWD,
smb1=(proto == "SMB1")
)
> assert len(snaps) == 4, snaps
E AssertionError: []
E assert 0 == 4
E +0
E -4

api2/test_426_smb_vss.py:266: AssertionError

api2.test_426_smb_vss.test_009_check_shadow_copies_count_after_setup[SMB2]

Error Message
AssertionError: []
assert 0 == 4
+0
-4
Stacktrace
request = <FixtureRequest for <Function test_009_check_shadow_copies_count_after_setup[SMB2]>>
proto = 'SMB2'

@pytest.mark.parametrize('proto', ["SMB1", "SMB2"])
def test_009_check_shadow_copies_count_after_setup(request, proto):
"""
This is very basic validation of presence of snapshot
over SMB1 and SMB2/3.
"""
depends(request, ["VSS_USER_CREATED"])
c = SMB()
snaps = c.get_shadow_copies(
host=ip,
share=SMB_NAME,
username=SMB_USER,
password=SMB_PWD,
smb1=(proto == "SMB1")
)
> assert len(snaps) == 4, snaps
E AssertionError: []
E assert 0 == 4
E +0
E -4

api2/test_426_smb_vss.py:266: AssertionError

Problem/Justification

None

Impact

None

Activity

Show:

Eric Turgeon 
March 25, 2022 at 11:13 AM

I just looked at the new nightly results and looks like it is fixed now.

Andrew Walker 
March 24, 2022 at 3:00 PM

I don't see this failing in nightlies anymore.

Cannot Reproduce

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created March 18, 2022 at 7:11 PM
Updated July 6, 2022 at 9:00 PM
Resolved March 25, 2022 at 11:13 AM