Skip to content

Feature: Adds Z-Wave Safety Shutoff class of devices & FireAvert shutoff models - #2908

Open
bstewart-cae wants to merge 20 commits into
SmartThingsCommunity:mainfrom
bstewart-cae:feature/add-safety-shutoff
Open

bstewart-cae wants to merge 20 commits into
SmartThingsCommunity:mainfrom
bstewart-cae:feature/add-safety-shutoff

fix: updated category name for gas FireAvert device

0be326a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Test Results failed Dec 3, 2026 in 0s

33 errors, 3 503 pass in 0s

   74 files  ± 0    577 suites  +2   0s ⏱️ ±0s
3 536 tests +18  3 503 ✅ +18  0 💤 ±0  0 ❌ ±0  33 🔥 ±0 
5 597 runs  +29  5 564 ✅ +29  0 💤 ±0  0 ❌ ±0  33 🔥 ±0 

Results for commit 0be326a. ± Comparison against earlier commit 1edd580.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Yale migrate treats slot 0 as a programming code with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "Yale migrate treats slot 0 as a programming code" (3 of 3)
------------------------------------------------------------------------
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    driver_switched:
    added:
    doConfigure:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    lockCredentials:
      updateCredential
      addCredential
      deleteCredential
      deleteAllCredentials
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zigbee-lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler zigbee
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0018, DataType: Uint8, MinPINCodeLength: 0x05 > > > >
DEBUG || Received event with handler zigbee
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0017, DataType: Uint8, MaxPINCodeLength: 0x0A > > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"minCodeLength","state":{"value":5},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler zigbee
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0012, DataType: Uint16, NumberOfPINUsersSupported: 0x0004 > > > >
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"maxCodeLength","state":{"value":10},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler device_lifecycle
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"maxCodes","state":{"value":4},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=2, userName="Programming Code", userType="programmingUser"}, {userIndex=1, userName="Zach", userType="guest"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...s/zigbee-lock/src/test/test_lock_code_slga_migration.lua:179: in main chunk
	[C]: in ?
FAILED
Running test "Yale migrate treats slot 0 as a programming code" (3 of 3)
------------------------------------------------------------------------
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    driver_switched:
    added:
    doConfigure:
    infoChanged:
    driverSwitched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    lockCredentials:
      updateCredential
      addCredential
      deleteCredential
      deleteAllCredentials
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zigbee-lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler zigbee
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0018, DataType: Uint8, MinPINCodeLength: 0x05 > > > >
DEBUG || Received event with handler zigbee
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0017, DataType: Uint8, MaxPINCodeLength: 0x0A > > > >
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"minCodeLength","state":{"value":5},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler zigbee
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x0003, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: DoorLock >, lqi: 0x00, rssi: 0, body_length: 0x0008, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x00, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0012, DataType: Uint16, NumberOfPINUsersSupported: 0x0004 > > > >
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"maxCodeLength","state":{"value":10},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler device_lifecycle
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Found ZigbeeMessageDispatcher handler in zigbee-lock -> legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> emitting event: {"attribute_id":"maxCodes","state":{"value":4},"component_id":"main","visibility":{"displayed":false},"capability_id":"lockCodes"}
DEBUG || _devices_thread device thread event handled
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=2, userName="Programming Code", userType="programmingUser"}, {userIndex=1, userName="Zach", userType="guest"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...s/zigbee-lock/src/test/test_lock_code_slga_migration.lua:179: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetPINCodeResponse for user id 0xFFEE is recorded as the slot 0 programming code and sync continues with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "GetPINCodeResponse for user id 0xFFEE is recorded as the slot 0 programming code and sync continues" (1 of 4)
---------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED
Running test "GetPINCodeResponse for user id 0xFFEE is recorded as the slot 0 programming code and sync continues" (1 of 4)
---------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

GetPINCodeResponse for slot 0 with a non-master type is still recorded as the programming code with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "GetPINCodeResponse for slot 0 with a non-master type is still recorded as the programming code" (2 of 4)
----------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED
Running test "GetPINCodeResponse for slot 0 with a non-master type is still recorded as the programming code" (2 of 4)
----------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

deleteCredential(0) is ignored: no ClearPINCode is sent, the programming code is kept, and a failure is reported with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "deleteCredential(0) is ignored: no ClearPINCode is sent, the programming code is kept, and a failure is reported" (3 of 4)
----------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED
Running test "deleteCredential(0) is ignored: no ClearPINCode is sent, the programming code is kept, and a failure is reported" (3 of 4)
----------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    init:
    added:
    doConfigure:
    driver_switched:
    infoChanged:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lockUsers:
      addUser
      deleteAllUsers
      deleteUser
      updateUser
    refresh:
      refresh
    lock:
      unlock
      lock
    lockCredentials:
      deleteCredential
      updateCredential
      addCredential
      deleteAllCredentials
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...rs/SmartThings/zigbee-lock/src/test/test_zigbee_yale.lua:151: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

programming_event_notification: MASTER_CODE_CHANGED adds a programming user and credential if unknown with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "programming_event_notification: MASTER_CODE_CHANGED adds a programming user and credential if unknown" (29 of 33)
-------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED
Running test "programming_event_notification: MASTER_CODE_CHANGED adds a programming user and credential if unknown" (29 of 33)
-------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

programming_event_notification: MASTER_CODE_CHANGED is a no-op if the credential is already known with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "programming_event_notification: MASTER_CODE_CHANGED is a no-op if the credential is already known" (30 of 33)
---------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED
Running test "programming_event_notification: MASTER_CODE_CHANGED is a no-op if the credential is already known" (30 of 33)
---------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

programming_event_notification: MASTER_CODE_CHANGED promotes a known guest credential's user to programmingUser with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "programming_event_notification: MASTER_CODE_CHANGED promotes a known guest credential's user to programmingUser" (31 of 33)
-----------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {userIndex=1, userName="Guest 1", userType="guest"} to users
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"visibility":{"displayed":false},"component_id":"main","capability_id":"lockUsers","attribute_id":"users","state":{"value":[{"userName":"Guest 1","userIndex":1,"userType":"guest"}]}}
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {credentialIndex=0, credentialName="Guest 1", credentialType="pin", userIndex=1} to credentials
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"visibility":{"displayed":false},"component_id":"main","capability_id":"lockCredentials","attribute_id":"credentials","state":{"value":[{"userIndex":1,"credentialName":"Guest 1","credentialType":"pin","credentialIndex":0}]}}
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED
Running test "programming_event_notification: MASTER_CODE_CHANGED promotes a known guest credential's user to programmingUser" (31 of 33)
-----------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {userIndex=1, userName="Guest 1", userType="guest"} to users
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"visibility":{"displayed":false},"component_id":"main","capability_id":"lockUsers","attribute_id":"users","state":{"value":[{"userName":"Guest 1","userIndex":1,"userType":"guest"}]}}
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {credentialIndex=0, credentialName="Guest 1", credentialType="pin", userIndex=1} to credentials
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"visibility":{"displayed":false},"component_id":"main","capability_id":"lockCredentials","attribute_id":"credentials","state":{"value":[{"userIndex":1,"credentialName":"Guest 1","credentialType":"pin","credentialIndex":0}]}}
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

get_pin_code_response: a programmingUser type syncs as a programming user with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "get_pin_code_response: a programmingUser type syncs as a programming user" (32 of 33)
---------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED
Running test "get_pin_code_response: a programmingUser type syncs as a programming user" (32 of 33)
---------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    infoChanged:
    init:
    added:
    driverSwitched:
    driver_switched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteAllCredentials
      updateCredential
      deleteCredential
      addCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zigbee-lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
WARN  || Device does not support cluster 0x0001 not adding configured attribute
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000003
Manufacturer: Yale Model: YRD256
	[1]: server: DoorLock
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> received lifecycle event: init
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000005

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000005 [0x0003]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000003 [0x0002]> Lazy loaded driver into dispatcher: legacy-handlers.yale
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...artThings/zigbee-lock/src/test/test_zigbee_responses.lua:897: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

deleteAllCredentials: keeps programming code credentials locally when the lock returns PASS with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "deleteAllCredentials: keeps programming code credentials locally when the lock returns PASS" (22 of 24)
---------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    init:
    added:
    infoChanged:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lock:
      unlock
      lock
    lockUsers:
      deleteUser
      addUser
      deleteAllUsers
      updateUser
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	.../zigbee-lock/src/test/test_lock_credentials_commands.lua:844: in main chunk
	[C]: in ?
FAILED
Running test "deleteAllCredentials: keeps programming code credentials locally when the lock returns PASS" (22 of 24)
---------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    init:
    added:
    infoChanged:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lock:
      unlock
      lock
    lockUsers:
      deleteUser
      addUser
      deleteAllUsers
      updateUser
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	.../zigbee-lock/src/test/test_lock_credentials_commands.lua:844: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

updateCredential: a known programming code is sent as PROGRAMMING_USER, based on the credential's stored user with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "updateCredential: a known programming code is sent as PROGRAMMING_USER, based on the credential's stored user" (24 of 24)
---------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    init:
    added:
    infoChanged:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lock:
      unlock
      lock
    lockUsers:
      deleteUser
      addUser
      deleteAllUsers
      updateUser
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	.../zigbee-lock/src/test/test_lock_credentials_commands.lua:844: in main chunk
	[C]: in ?
FAILED
Running test "updateCredential: a known programming code is sent as PROGRAMMING_USER, based on the credential's stored user" (24 of 24)
---------------------------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    doConfigure:
    init:
    added:
    infoChanged:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    refresh:
      refresh
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lock:
      unlock
      lock
    lockUsers:
      deleteUser
      addUser
      deleteAllUsers
      updateUser
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	.../zigbee-lock/src/test/test_lock_credentials_commands.lua:844: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

addUser: rejects the programmingUser userType with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "addUser: rejects the programmingUser userType" (13 of 18)
-----------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Users.addUser arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "addUser: rejects the programmingUser userType" (13 of 18)
-----------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Users.addUser arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

addCredential: rejects the programmingUser userType with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "addCredential: rejects the programmingUser userType" (14 of 18)
-----------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Credentials.addCredential arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "addCredential: rejects the programmingUser userType" (14 of 18)
-----------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Credentials.addCredential arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

addCredential: rejects adding a credential to a programming user with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "addCredential: rejects adding a credential to a programming user" (15 of 18)
------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "addCredential: rejects adding a credential to a programming user" (15 of 18)
------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

updateUser: rejects changing a guest to the programmingUser userType with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "updateUser: rejects changing a guest to the programmingUser userType" (16 of 18)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {userIndex=1, userName="Guest 1", userType="guest"} to users
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"lockUsers","attribute_id":"users","component_id":"main","state":{"value":[{"userIndex":1,"userName":"Guest 1","userType":"guest"}]},"visibility":{"displayed":false}}
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Users.updateUser arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "updateUser: rejects changing a guest to the programmingUser userType" (16 of 18)
----------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> table_helpers: attempting to add entry {userIndex=1, userName="Guest 1", userType="guest"} to users
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> emitting event: {"capability_id":"lockUsers","attribute_id":"users","component_id":"main","state":{"value":[{"userIndex":1,"userName":"Guest 1","userType":"guest"}]},"visibility":{"displayed":false}}
DEBUG || Received event with handler capability
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:263: /home/runner/work/lua_libs/st/capabilities/aware.lua:189: Invalid value for Lock Users.updateUser arg: userType value: "programmingUser"
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/st/thread.lua:88: in function </home/runner/work/lua_libs/st/thread.lua:55>
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/cosock.lua:263: in upvalue 'step_thread'
	/home/runner/work/lua_libs/cosock.lua:371: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

updateUser: rejects changing a programming user to another userType with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "updateUser: rejects changing a programming user to another userType" (17 of 18)
---------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "updateUser: rejects changing a programming user to another userType" (17 of 18)
---------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

updateUser: allows renaming a programming user with error

tests/zigbee-lock_test_output.xml
Raw output
ERROR
Running test "updateUser: allows renaming a programming user" (18 of 18)
------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED
Running test "updateUser: allows renaming a programming user" (18 of 18)
------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}}
TRACE || Setup driver zigbee-lock with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-lock
  default_handlers:
    added:
    driver_switched:
    driverSwitched:
    doConfigure:
    init:
    infoChanged:
  child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Capability handlers:
CapabilityCommandDispatcher: zigbee-lock
  default_handlers:
    lock:
      lock
      unlock
    lockCredentials:
      deleteCredential
      addCredential
      deleteAllCredentials
      updateCredential
    refresh:
      refresh
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
  child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> samsungsds
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zigbee-lock -> yale
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zigbee-lock with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-lock
  default_handlers:
    attr:
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 32
      ZclClusterAttributeValueHandler: cluster: 1, attribute: 33
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 24
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 0
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 18
      ZclClusterAttributeValueHandler: cluster: 257, attribute: 23
    global:
      ZclGlobalCommandHandler: cluster: 257, command: 11
    cluster:
      ZclClusterCommandHandler: cluster: 9, command: 0
      ZclClusterCommandHandler: cluster: 257, command: 32
      ZclClusterCommandHandler: cluster: 257, command: 33
      ZclClusterCommandHandler: cluster: 257, command: 8
      ZclClusterCommandHandler: cluster: 257, command: 5
      ZclClusterCommandHandler: cluster: 257, command: 6
      ZclClusterCommandHandler: cluster: 257, command: 7
    zdo:
  child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> lock-without-codes
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> legacy-handlers -> legacy-handlers.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> samsungsds
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> bad-battery-reporter
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
    ZigbeeMessageDispatcher: zigbee-lock -> yale
      default_handlers:
        attr:
        global:
        cluster:
        zdo:
      child_dispatchers:
        ZigbeeMessageDispatcher: zigbee-lock -> yale -> yale.yale-fingerprint-lock
          default_handlers:
            attr:
            global:
            cluster:
            zdo:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001"]}
INFO  || Starting driver[zigbee-lock] with 1 device IDs
DEBUG || Waiting on init messages
DEBUG || Zigbee Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZigbeeDevice: 00000000-1111-2222-3333-000000000001 [0x0001]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zigbee-lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:163: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...Things/zigbee-lock/src/test/test_lock_users_commands.lua:736: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Migrate maps the Yale programming code slot 251 to a programmingUser user with userIndex 251 with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "Migrate maps the Yale programming code slot 251 to a programmingUser user with userIndex 251" (6 of 7)
--------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    added:
    driverSwitched:
    doConfigure:
    driver_switched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockUsers:
      deleteUser
      updateUser
      deleteAllUsers
      addUser
    lockCredentials:
      deleteCredential
      updateCredential
      deleteAllCredentials
      addCredential
    lockCodes:
      setCode
      reloadAllCodes
      nameSlot
      deleteCode
      updateCodes
      requestCode
    refresh:
      refresh
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zwave_lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> received lifecycle event: init
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x003B Product Type: 0x0002 Product ID: 0x0469
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received lifecycle event: init
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000005
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: legacy-handlers.schlage-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Zach", userType="guest"}, {userIndex=251, userName="Master", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...gs/zwave-lock/src/test/test_lock_code_slga_migration.lua:235: in main chunk
	[C]: in ?
FAILED
Running test "Migrate maps the Yale programming code slot 251 to a programmingUser user with userIndex 251" (6 of 7)
--------------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    added:
    driverSwitched:
    doConfigure:
    driver_switched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockUsers:
      deleteUser
      updateUser
      deleteAllUsers
      addUser
    lockCredentials:
      deleteCredential
      updateCredential
      deleteAllCredentials
      addCredential
    lockCodes:
      setCode
      reloadAllCodes
      nameSlot
      deleteCode
      updateCodes
      requestCode
    refresh:
      refresh
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zwave_lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> received lifecycle event: init
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x003B Product Type: 0x0002 Product ID: 0x0469
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received lifecycle event: init
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000005
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: legacy-handlers.schlage-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Zach", userType="guest"}, {userIndex=251, userName="Master", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...gs/zwave-lock/src/test/test_lock_code_slga_migration.lua:235: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

Migrate adds the Yale programming code at slot 251 when the lock answers the slot read with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "Migrate adds the Yale programming code at slot 251 when the lock answers the slot read" (7 of 7)
--------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    added:
    driverSwitched:
    doConfigure:
    driver_switched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockUsers:
      deleteUser
      updateUser
      deleteAllUsers
      addUser
    lockCredentials:
      deleteCredential
      updateCredential
      deleteAllCredentials
      addCredential
    lockCodes:
      setCode
      reloadAllCodes
      nameSlot
      deleteCode
      updateCodes
      requestCode
    refresh:
      refresh
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zwave_lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> received lifecycle event: init
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x003B Product Type: 0x0002 Product ID: 0x0469
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received lifecycle event: init
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000005
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: legacy-handlers.schlage-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received command: {"command":"migrate","capability":"lockCodes","positional_args":[],"args":[]}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":[{"credentialName":"Zach","userIndex":1,"credentialIndex":1,"credentialType":"pin"}]},"visibility":{"displayed":false},"attribute_id":"credentials"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockUsers","state":{"value":[{"userType":"guest","userName":"Zach","userIndex":1}]},"visibility":{"displayed":false},"attribute_id":"users"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":4},"visibility":{"displayed":false},"attribute_id":"minPinCodeLen"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":10},"visibility":{"displayed":false},"attribute_id":"maxPinCodeLen"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":["pin"]},"visibility":{"displayed":false},"attribute_id":"supportedCredentials"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCodes","state":{"value":true},"visibility":{"displayed":false},"attribute_id":"migrated"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="DOOR_LOCK", cmd_id="OPERATION_GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="BATTERY", cmd_id="GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="USER_CODE", cmd_id="USERS_NUMBER_GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={user_identifier=251}, cmd_class="USER_CODE", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\xFB", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Zach", userType="guest"}, {userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...gs/zwave-lock/src/test/test_lock_code_slga_migration.lua:235: in main chunk
	[C]: in ?
FAILED
Running test "Migrate adds the Yale programming code at slot 251 when the lock answers the slot read" (7 of 7)
--------------------------------------------------------------------------------------------------------------
Sending messages on device_lifecycle_channel: {{"00000000-1111-2222-3333-000000000001", "init"}, {"00000000-1111-2222-3333-000000000003", "init"}, {"00000000-1111-2222-3333-000000000005", "init"}}
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    added:
    driverSwitched:
    doConfigure:
    driver_switched:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockUsers:
      deleteUser
      updateUser
      deleteAllUsers
      addUser
    lockCredentials:
      deleteCredential
      updateCredential
      deleteAllCredentials
      addCredential
    lockCodes:
      setCode
      reloadAllCodes
      nameSlot
      deleteCode
      updateCodes
      requestCode
    refresh:
      refresh
    lock:
      lock
      unlock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":["00000000-1111-2222-3333-000000000001","00000000-1111-2222-3333-000000000003","00000000-1111-2222-3333-000000000005"]}
INFO  || Starting driver[zwave_lock] with 3 device IDs
DEBUG || Waiting on init messages
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000001

INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> received lifecycle event: init
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x003B Product Type: 0x0002 Product ID: 0x0469
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received lifecycle event: init
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000001 [01]> Lazy loaded driver into dispatcher: legacy-handlers
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000005
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received lifecycle event: init
DEBUG || Startup process completed
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: legacy-handlers.schlage-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found DeviceLifecycleDispatcher handler in zwave_lock -> legacy-handlers
DEBUG || _devices_thread device thread event handled
DEBUG || Received event with handler capability
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> received command: {"command":"migrate","capability":"lockCodes","positional_args":[],"args":[]}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: legacy-handlers.yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":[{"credentialName":"Zach","userIndex":1,"credentialIndex":1,"credentialType":"pin"}]},"visibility":{"displayed":false},"attribute_id":"credentials"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockUsers","state":{"value":[{"userType":"guest","userName":"Zach","userIndex":1}]},"visibility":{"displayed":false},"attribute_id":"users"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":4},"visibility":{"displayed":false},"attribute_id":"minPinCodeLen"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":10},"visibility":{"displayed":false},"attribute_id":"maxPinCodeLen"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCredentials","state":{"value":["pin"]},"visibility":{"displayed":false},"attribute_id":"supportedCredentials"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> emitting event: {"component_id":"main","capability_id":"lockCodes","state":{"value":true},"visibility":{"displayed":false},"attribute_id":"migrated"}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="DOOR_LOCK", cmd_id="OPERATION_GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="BATTERY", cmd_id="GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={}, cmd_class="USER_CODE", cmd_id="USERS_NUMBER_GET", dst_channels={}, encap="AUTO", payload="", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000005 [01]> sending Z-Wave command: {args={user_identifier=251}, cmd_class="USER_CODE", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\xFB", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Zach", userType="guest"}, {userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...gs/zwave-lock/src/test/test_lock_code_slga_migration.lua:235: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

user_code_report: sync on a Yale reads the programming code slot when it completes with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "user_code_report: sync on a Yale reads the programming code slot when it completes" (6 of 20)
-----------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    driverSwitched:
    doConfigure:
    driver_switched:
    added:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCodes:
      setCode
      reloadAllCodes
      deleteCode
      requestCode
      nameSlot
      updateCodes
    refresh:
      refresh
    lockCredentials:
      addCredential
      deleteAllCredentials
      updateCredential
      deleteCredential
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
    lock:
      unlock
      lock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler unnamed
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received Z-Wave command: {args={user_code="", user_id_status="AVAILABLE", user_identifier=20}, cmd_class="USER_CODE", cmd_id="REPORT", dst_channels={}, encap="AUTO", payload="\x14\x00", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: zwave-alarm-v1-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found ZwaveDispatcher handler in zwave_lock -> yale-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_identifier=251}, cmd_class="USER_CODE", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\xFB", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...SmartThings/zwave-lock/src/test/test_zwave_responses.lua:721: in main chunk
	[C]: in ?
FAILED
Running test "user_code_report: sync on a Yale reads the programming code slot when it completes" (6 of 20)
-----------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    driverSwitched:
    doConfigure:
    driver_switched:
    added:
    init:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCodes:
      setCode
      reloadAllCodes
      deleteCode
      requestCode
      nameSlot
      updateCodes
    refresh:
      refresh
    lockCredentials:
      addCredential
      deleteAllCredentials
      updateCredential
      deleteCredential
    lockUsers:
      addUser
      deleteUser
      updateUser
      deleteAllUsers
    lock:
      unlock
      lock
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler unnamed
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received Z-Wave command: {args={user_code="", user_id_status="AVAILABLE", user_identifier=20}, cmd_class="USER_CODE", cmd_id="REPORT", dst_channels={}, encap="AUTO", payload="\x14\x00", src_channel=0, version=1}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: zwave-alarm-v1-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found ZwaveDispatcher handler in zwave_lock -> yale-lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_identifier=251}, cmd_class="USER_CODE", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\xFB", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...SmartThings/zwave-lock/src/test/test_zwave_responses.lua:721: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

updateCredential: a programming code report during a guest update records the programming code and leaves the update alone with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "updateCredential: a programming code report during a guest update records the programming code and leaves the update alone" (4 of 30)
---------------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler capability
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received command: {"command":"updateCredential","positional_args":[1,1,"pin","5678"],"capability":"lockCredentials","args":{"credentialIndex":1,"userIndex":1,"credentialType":"pin","credentialData":"5678"}}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_code="5678", user_id_status="ENABLED_GRANT_ACCESS", user_identifier=1}, cmd_class="USER_CODE", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x01\x01\x35\x36\x37\x38", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Guest 1", userType="guest"}, {userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "updateCredential: a programming code report during a guest update records the programming code and leaves the update alone" (4 of 30)
---------------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler capability
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received command: {"command":"updateCredential","positional_args":[1,1,"pin","5678"],"capability":"lockCredentials","args":{"credentialIndex":1,"userIndex":1,"credentialType":"pin","credentialData":"5678"}}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_code="5678", user_id_status="ENABLED_GRANT_ACCESS", user_identifier=1}, cmd_class="USER_CODE", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x01\x01\x35\x36\x37\x38", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=1, userName="Guest 1", userType="guest"}, {userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

all user codes deleted at the lock keeps the Yale programming code with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "all user codes deleted at the lock keeps the Yale programming code" (8 of 30)
-------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "all user codes deleted at the lock keeps the Yale programming code" (8 of 30)
-------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

an Alarm v1 all codes deleted report keeps the Yale programming code with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "an Alarm v1 all codes deleted report keeps the Yale programming code" (9 of 30)
---------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "an Alarm v1 all codes deleted report keeps the Yale programming code" (9 of 30)
---------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

new user code event at the Yale programming code slot with no command in progress adds the programming code with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "new user code event at the Yale programming code slot with no command in progress adds the programming code" (16 of 30)
-------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "new user code event at the Yale programming code slot with no command in progress adds the programming code" (16 of 30)
-------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

programming code report during an addCredential for another slot records the programming code and leaves the add alone with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "programming code report during an addCredential for another slot records the programming code and leaves the add alone" (17 of 30)
------------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler capability
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received command: {"command":"addCredential","positional_args":[0,"guest","pin","5555"],"capability":"lockCredentials","args":{"userType":"guest","userIndex":0,"credentialType":"pin","credentialData":"5555"}}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_code="5555", user_id_status="ENABLED_GRANT_ACCESS", user_identifier=1}, cmd_class="USER_CODE", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x01\x01\x35\x35\x35\x35", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "programming code report during an addCredential for another slot records the programming code and leaves the add alone" (17 of 30)
------------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
DEBUG || Received event with handler capability
DEBUG || Z-Wave Device: 00000000-1111-2222-3333-000000000003
Manufacturer: 0x0129 Product Type: 0x0002 Product ID: 0x0000
	[0]: BATTERY, DOOR_LOCK, USER_CODE, NOTIFICATION
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> received command: {"command":"addCredential","positional_args":[0,"guest","pin","5555"],"capability":"lockCredentials","args":{"userType":"guest","userIndex":0,"credentialType":"pin","credentialData":"5555"}}
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> Lazy loaded driver into dispatcher: yale-lock
DEBUG || Found CapabilityCommandDispatcher handler in zwave_lock
INFO  || <ZwaveDevice: 00000000-1111-2222-3333-000000000003 [01]> sending Z-Wave command: {args={user_code="5555", user_id_status="ENABLED_GRANT_ACCESS", user_identifier=1}, cmd_class="USER_CODE", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x01\x01\x35\x35\x35\x35", src_channel=0, version=1}
DEBUG || _devices_thread device thread event handled
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results

a programming code report during a sync records the programming code and the sync waits for the slot it asked for with error

tests/zwave-lock_test_output.xml
Raw output
ERROR
Running test "a programming code report during a sync records the programming code and the sync waits for the slot it asked for" (18 of 30)
-------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED
Running test "a programming code report during a sync records the programming code and the sync waits for the slot it asked for" (18 of 30)
-------------------------------------------------------------------------------------------------------------------------------------------
TRACE || Setup driver zwave_lock with lifecycle handlers:
DeviceLifecycleDispatcher: zwave_lock
  default_handlers:
    doConfigure:
    init:
    added:
    driver_switched:
    driverSwitched:
  child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        DeviceLifecycleDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Capability handlers:
CapabilityCommandDispatcher: zwave_lock
  default_handlers:
    lockCredentials:
      updateCredential
      deleteCredential
      addCredential
      deleteAllCredentials
    lockUsers:
      deleteAllUsers
      updateUser
      deleteUser
      addUser
    lockCodes:
      updateCodes
      nameSlot
      reloadAllCodes
      setCode
      requestCode
      deleteCode
    lock:
      lock
      unlock
    refresh:
      refresh
  child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    CapabilityCommandDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        CapabilityCommandDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

TRACE || Setup driver zwave_lock with Z-Wave handlers:
ZwaveDispatcher: zwave_lock
  default_handlers:
    SENSOR_BINARY:
      REPORT
    NOTIFICATION:
      REPORT
    DOOR_LOCK:
      OPERATION_REPORT
    USER_CODE:
      REPORT
      USERS_NUMBER_REPORT
    WAKE_UP:
      NOTIFICATION
    BATTERY:
      REPORT
    TIME:
      GET
      DATE_GET
  child_dispatchers:
    ZwaveDispatcher: zwave_lock -> zwave-alarm-v1-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> schlage-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> samsung-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> keywe-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> yale-lock
      default_handlers:
      child_dispatchers:
    ZwaveDispatcher: zwave_lock -> legacy-handlers
      default_handlers:
      child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.zwave-alarm-v1-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.schlage-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.samsung-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.keywe-lock
          default_handlers:
          child_dispatchers:
        ZwaveDispatcher: zwave_lock -> legacy-handlers -> legacy-handlers.yale-lock
          default_handlers:
          child_dispatchers:

DEBUG || Waiting on startupState message
INFO  || received driver startupState: {"device_ids":[]}
INFO  || Starting driver[zwave_lock] with 0 device IDs
DEBUG || Waiting on init messages
DEBUG || Startup process completed
Received unexpected error: /home/runner/work/lua_libs/cosock.lua:391: /home/runner/work/lua_libs/st/capabilities/aware.lua:242: Invalid value for Lock Users.users value: {value={{userIndex=251, userName="Programming Code", userType="programmingUser"}}} error: Given programmingUser for LockUserType. Incorrect string given
stack traceback:
	[C]: in function 'error'
	/home/runner/work/lua_libs/integration_test/mock_socket.lua:91: in function 'integration_test.mock_socket.select'
	/home/runner/work/lua_libs/cosock.lua:391: in function 'cosock.run'
	/home/runner/work/lua_libs/st/driver.lua:1206: in function 'st.driver.run'
	./init.lua:131: in main chunk
	[C]: in function 'require'
	[C]: in function 'xpcall'
	/home/runner/work/lua_libs/integration_test/init.lua:307: in upvalue 'run_configured_test'
	/home/runner/work/lua_libs/integration_test/init.lua:472: in function 'integration_test.run_registered_tests'
	...hings/zwave-lock/src/test/test_lock_programming_code.lua:733: in main chunk
	[C]: in ?
FAILED