Skip to content

Commit

Permalink
Update tedge plugin specs after c8y-mapper change (#2216)
Browse files Browse the repository at this point in the history
tedgeUrl is now using the device name instead of "main" for the main
device. This change is made on the PR #2108.

Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
Co-authored-by: Didier Wenzek <didier.wenzek@free.fr>
  • Loading branch information
rina23q and didier-wenzek authored Sep 4, 2023
1 parent 90cfc85 commit 3670bdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions docs/src/references/tedge-configuration-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ For example, it subscribes to the following topic for the main device.
tedge mqtt sub 'te/device/main///cmd/config_snapshot/+'
```

When a new config snapshot command with the ID "1234" is published by another component, it appears as follows.
To start a new config snapshot with the ID "1234" on the device named "example", a component has to publish the following message over MQTT:

```sh te2mqtt
tedge mqtt pub -r 'te/device/main///cmd/config_snapshot/1234' '{
"status": "init",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/config_snapshot/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/config_snapshot/mosquitto-1234",
"type": "mosquitto"
}'
```
Expand All @@ -170,7 +170,7 @@ As a result, the operation status update message for the example above looks lik
```sh te2mqtt
tedge mqtt pub -r 'te/device/main///cmd/config_snapshot/1234' '{
"status": "successful",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/config_snapshot/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/config_snapshot/mosquitto-1234",
"type": "mosquitto",
"path": "/etc/mosquitto/mosquitto.conf"
}'
Expand Down Expand Up @@ -207,13 +207,12 @@ For example, it subscribes to the following topic for the main device.
tedge mqtt sub 'te/device/main///cmd/config_update/+'
```

When a new config update command with the ID "1234" is published by another component,
it appears as below.
To start a new config update with the ID "1234" on the device named "example", a component has to publish the following message over MQTT:

```sh te2mqtt
tedge mqtt pub -r 'te/device/main///cmd/config_update/1234' '{
"status": "init",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/config_update/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/config_update/mosquitto-1234",
"remoteUrl": "http://www.my.url",
"type": "mosquitto"
}'
Expand All @@ -239,7 +238,7 @@ As a result, the operation status update message for the example above looks lik
```sh te2mqtt
tedge mqtt pub -r 'te/device/main///cmd/config_update/1234' '{
"status": "successful",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/config_update/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/config_update/mosquitto-1234",
"remoteUrl": "http://www.my.url",
"type": "mosquitto",
"path": "/etc/mosquitto/mosquitto.conf"
Expand Down
6 changes: 3 additions & 3 deletions docs/src/references/tedge-log-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ For example, it subscribes to the following topic for the main device.
tedge mqtt sub 'te/device/main///cmd/log_upload/+'
```

A new log file upload command with the ID "1234" is published by another component as below.
A new log file upload command with the ID "1234" is published for the device named "example" by another component as below.

```sh te2mqtt
tedge mqtt pub -r 'te/device/main///cmd/log_upload/1234' '{
"status": "init",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/log_upload/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/log_upload/mosquitto-1234",
"type": "mosquitto",
"dateFrom": "2013-06-22T17:03:14.000+02:00",
"dateTo": "2013-06-23T18:03:14.000+02:00",
Expand Down Expand Up @@ -111,7 +111,7 @@ Thus, the operation status update message for the above example looks like below
tedge mqtt pub -r 'te/device/main///cmd/log_upload/1234' '{
"status": "failed",
"reason": "The target log file for 'mosquitto' does not exist.",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/main/log_upload/mosquitto-1234",
"tedgeUrl": "http://127.0.0.1:8000/tedge/file-transfer/example/log_upload/mosquitto-1234",
"type": "mosquitto",
"dateFrom": "2013-06-22T17:03:14.000+02:00",
"dateTo": "2013-06-22T18:03:14.000+02:00",
Expand Down

1 comment on commit 3670bdf

@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
241 20 5 261 92.34 51m59.358s

Failed Tests

Name Message ⏱️ Duration Suite
Check health status of tedge-mapper-c8y service on broker stop start Setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] ...+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = ac66aa3bb5b8 Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ....................+++++ .............................................................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 44.218 s Service Monitoring
Supports disconnect then connect /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] ....................................................................+++++ ................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 961ab7d6088f Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ..........................................................+++++ ....+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 45.153 s Test-Commands
It checks MQTT messages using a pattern Setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] ......................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 5c2162657dce Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) .........................................................................................................+++++ .....+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 48.974 s Test-Mqtt
Stop c8y-configuration-plugin Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.083 s Health C8Y-Configuration-Plugin
Update the service file Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.080 s Health C8Y-Configuration-Plugin
Reload systemd files Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.074 s Health C8Y-Configuration-Plugin
Start c8y-configuration-plugin Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.069 s Health C8Y-Configuration-Plugin
Start watchdog service Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.067 s Health C8Y-Configuration-Plugin
Check PID of c8y-configuration-plugin Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.060 s Health C8Y-Configuration-Plugin
Kill the PID Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.050 s Health C8Y-Configuration-Plugin
Recheck PID of c8y-configuration-plugin Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.052 s Health C8Y-Configuration-Plugin
Compare PID change Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.056 s Health C8Y-Configuration-Plugin
Stop watchdog service Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.051 s Health C8Y-Configuration-Plugin
Remove entry from service file Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] .................+++++ ...............+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = 1d7562d31b5c Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........+++++ ................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.065 s Health C8Y-Configuration-Plugin
c8y-log-plugin health status Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] ...................+++++ ........................................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = af0d981e670a Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........................................+++++ .....................................................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.094 s MQTT health endpoints
c8y-configuration-plugin health status Parent suite setup failed: /setup/bootstrap.sh returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] ...................+++++ ........................................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = af0d981e670a Getting CA Private Key Generating RSA private key, 2048 bit long modulus (2 primes) ........................................+++++ .....................................................................+++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = Denial, L = Springfield, O = Dis, CN = client1 Getting CA Private Key Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.114 s MQTT health endpoints
Publish on a local insecure broker Parent suite setup failed: /setup/bootstrap.sh --no-conne... returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] Setting c8y.url to qaenvironment.eu-latest.cumulocity.com Uploading certificate to Cumulocity using tedge stderr: tedge-agent.service is a disabled or a static unit, not starting it. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-configuration-plugin.service → /lib/systemd/system/c8y-configuration-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-log-plugin.service → /lib/systemd/system/c8y-log-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-firmware-plugin.service → /lib/systemd/system/c8y-firmware-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/tedge-watchdog.service → /lib/systemd/system/tedge-watchdog.service. Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.066 s Basic Pub Sub
Publish on a local secure broker Parent suite setup failed: /setup/bootstrap.sh --no-conne... returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] Setting c8y.url to qaenvironment.eu-latest.cumulocity.com Uploading certificate to Cumulocity using tedge stderr: tedge-agent.service is a disabled or a static unit, not starting it. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-configuration-plugin.service → /lib/systemd/system/c8y-configuration-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-log-plugin.service → /lib/systemd/system/c8y-log-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-firmware-plugin.service → /lib/systemd/system/c8y-firmware-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/tedge-watchdog.service → /lib/systemd/system/tedge-watchdog.service. Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.072 s Basic Pub Sub
Publish on a local secure broker with client authentication Parent suite setup failed: /setup/bootstrap.sh --no-conne... returned an unexpected exit code stdout: ---------------------------------------------------------- Initializing ---------------------------------------------------------- Detected version from positional argument. version= Using local dpkg install method as local .deb files were found in folder: . ---------------------------------------------------------- Installing thin-edge.io ---------------------------------------------------------- Executing the setup script for the 'thinedge/tedge-main' repository ... [1K [32m RUN[39;49m: Checking for required executable 'curl' ...[1K [1K [32m OK[39;49m: Checking for required executable 'curl' ... [1K [32m RUN[39;49m: Checking for required executable 'apt-get' ...[1K [ Message content over the limit has been removed. ] Setting c8y.url to qaenvironment.eu-latest.cumulocity.com Uploading certificate to Cumulocity using tedge stderr: tedge-agent.service is a disabled or a static unit, not starting it. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-configuration-plugin.service → /lib/systemd/system/c8y-configuration-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-log-plugin.service → /lib/systemd/system/c8y-log-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/c8y-firmware-plugin.service → /lib/systemd/system/c8y-firmware-plugin.service. Created symlink /etc/systemd/system/multi-user.target.wants/tedge-watchdog.service → /lib/systemd/system/tedge-watchdog.service. Certificate was successfully created Error: failed to upload root certificate Caused by: 0: error sending request for url (https://qaenvironment.eu-latest.cumulocity.com/tenant/tenants/qaenvironment/trusted-certificates): operation timed out 1: operation timed out 0.075 s Basic Pub Sub
Check remote mqtt broker #1773 not enough measurements were found. args=() 33.400 s Remote Mqtt Broker

Please sign in to comment.