Skip to content

Commit

Permalink
fix the service measurement (#2299)
Browse files Browse the repository at this point in the history
Signed-off-by: Pradeep Kumar K J <[email protected]>
  • Loading branch information
PradeepKiruvale authored Sep 28, 2023
1 parent 4830b16 commit 506974d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Publish service measurements to te measurement topic with measurement type
Execute Command sudo tedge config set aws.topics "te/+/+/+/+/m/+"
Execute Command sudo systemctl restart tedge-mapper-aws.service
ThinEdgeIO.Service Health Status Should Be Up tedge-mapper-aws
Execute Command tedge mqtt pub te/device/main/service//m/test-type '{"temperature": 10}'
Should Have MQTT Messages aws/td/device:main/m/test-type message_contains="temperature" date_from=${timestamp} minimum=1 maximum=1
Execute Command tedge mqtt pub te/device/main/service/test_service/m/test-type '{"temperature": 10}'
Should Have MQTT Messages aws/td/device:main:service:test_service/m/test-type message_contains="temperature" date_from=${timestamp} minimum=1 maximum=1

Publish child measurements to te measurement topic with measurement type
${timestamp}= Get Unix Timestamp
Expand Down

1 comment on commit 506974d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
298 3 3 301 99.00 51m52.680999999s

Failed Tests

Name Message ⏱️ Duration Suite
Child device config update ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) 46.358 s Child Conf Mgmt Plugin
Check thin-edge monitoring '{"time":"2023-09-28T12:47:17.039999961Z","tcpconns-8883-local":{"tcp_connections-SYN_RECV":0.0,"tcp_connections-CLOSING":0.0,"tcp_connections-TIME_WAIT":2.0,"tcp_connections-LAST_ACK":0.0,"tcp_connections-FIN_WAIT1":0.0,"tcp_connections-SYN_SENT":0.0,"tcp_connections-LISTEN":2.0,"tcp_connections-FIN_WAIT2":0.0,"tcp_connections-CLOSE_WAIT":0.0,"tcp_connections-CLOSED":0.0,"tcp_connections-ESTABLISHED":6.0},"tcpconns-33811-local":{"tcp_connections-CLOSED":0.0,"tcp_connections-TIME_WAIT":0.0,"tcp_connections-LISTEN":1.0,"tcp_connections-CLOSE_WAIT":0.0,"tcp_connections-CLOSING":0.0,"tcp_connections-LAST_ACK":0.0}}' does not contain any of '"memory"', '"cpu"' or '"df-root"' 4.202 s Monitor Device Collectd
Install software via Cumulocity Setup failed: ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) 36.697 s Software

Please sign in to comment.