Closed xdxxxdx closed 1 year ago
I tested this on windows. Here are the results:
Test 1 If you run:
echo http://old-nifi-workflow:9012/ngsi/device > ./data/TARGETURL
docker compose up test-message-generator
All works fine.
Test 2
If you run (delete the file ./data/TARGETURL
from test 1 first):
docker compose up test-message-generator
It fails with the message: Error: EISDIR: illegal operation on a directory, read
-- the message you got.
Note that Docker on Windows will create ./data/TARGETURL
as a directory and that is why you see this error.
So, I am pretty sure you forgot to execute that line to create this as a file.
Test 3 If you run (without deleting the directory from test 2):
echo http://old-nifi-workflow:9012/ngsi/device > ./data/TARGETURL
It fails with error: bash: ./data/TARGETURL: Is a directory
-- obviously :slightly_smiling_face:
Test 4 If you run (deleting the directory but without deleting the container):
echo http://old-nifi-workflow:9012/ngsi/device > ./data/TARGETURL
docker compose up test-message-generator
The docker container fails to start with a very long error message because the docker container expects a directory while it is now a file.
Conclusion
Please delete the test message generator container and the directory ./data/TARGETURL
if they exist and run the commands from test 1 (from the README.md file).
TARGETURL file was not properly created.
became un-writable.
Configuration issue on: ghcr.io/informatievlaanderen/test-message-generator:20230502T1217
E2E commit tag for sprint 25: VSDS-LDES-E2E-testing: 50091609d92389b58c6c5c6030c83c77c95a467
Scenario: 1.Follow the test plan https://github.com/Informatievlaanderen/VSDS-LDES-E2E-testing/tree/main/demos/023.nifi-workbench-upgrade
ocker compose --env-file .env up test-message-generator -d
Current result: test-message-generator crashed