-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Software In Loop Simulation Script Not Found #47
Comments
This is almost certainly due to the changes in #39 since I bumped up the It looks like when @couryrr-afs was making the changes in 4fb6194, he forgot this particular @louisg1337 instead of waiting for the whole sprint planning cycle, can you just create a new PR to fix this in the same way as the others? |
Made the obvious changes to replace diff --git a/demo-iso15118-2-ac-plus-ocpp.sh b/demo-iso15118-2-ac-plus-ocpp.sh
index d704df3..9dd5f92 100755
--- a/demo-iso15118-2-ac-plus-ocpp.sh
+++ b/demo-iso15118-2-ac-plus-ocpp.sh
@@ -342,7 +342,7 @@ pushd everest-demo || exit 1
docker compose --project-name everest-ac-demo --file "${DEMO_COMPOSE_FILE_NAME}" up -d --wait
docker cp config-sil-ocpp201-pnc.yaml everest-ac-demo-manager-1:/ext/source/config/config-sil-ocpp201-pnc.yaml
if [[ "$DEMO_VERSION" =~ sp2 || "$DEMO_VERSION" =~ sp3 ]]; then
- docker cp manager/cached_certs_correct_name_emaid.tar.gz everest-ac-demo-manager-1:/workspace/
+ docker cp manager/cached_certs_correct_name_emaid.tar.gz everest-ac-demo-manager-1:/ext/source/
docker exec everest-ac-demo-manager-1 /bin/bash -c "tar xf cached_certs_correct_name_emaid.tar.gz"
echo "Configured everest certs, validating that the chain is set up correctly"
@@ -355,19 +355,19 @@ else
if [[ "$DEMO_VERSION" =~ sp1 ]]; then
echo "Copying device DB, configured to SecurityProfile: 1"
docker cp manager/device_model_storage_maeve_sp1.db \
- everest-ac-demo-manager-1:/workspace/dist/share/everest/modules/OCPP201/device_model_storage.db
+ everest-ac-demo-manager-1:/ext/source/dist/share/everest/modules/OCPP201/device_model_storage.db
elif [[ "$DEMO_VERSION" =~ sp2 ]]; then
echo "Copying device DB, configured to SecurityProfile: 2"
docker cp manager/device_model_storage_maeve_sp2.db \
- everest-ac-demo-manager-1:/workspace/dist/share/everest/modules/OCPP201/device_model_storage.db
+ everest-ac-demo-manager-1:/ext/source/dist/share/everest/modules/OCPP201/device_model_storage.db
elif [[ "$DEMO_VERSION" =~ sp3 ]]; then
echo "Copying device DB, configured to SecurityProfile: 3"
docker cp manager/device_model_storage_maeve_sp3.db \
- everest-ac-demo-manager-1:/workspace/dist/share/everest/modules/OCPP201/device_model_storage.db
+ everest-ac-demo-manager-1:/ext/source/dist/share/everest/modules/OCPP201/device_model_storage.db
fi
fi
if [[ "$DEMO_VERSION" =~ v2.0.1 ]]; then
echo "Starting software in the loop simulation"
- docker exec everest-ac-demo-manager-1 sh /workspace/build/run-scripts/run-sil-ocpp201-pnc.sh
+ docker exec everest-ac-demo-manager-1 sh /ext/source/build/run-scripts/run-sil-ocpp201-pnc.sh
fi |
Issue #1: The patches are not working When I run the script, I get
The commit that we have configured is the same - MAEVE_REPO="https://github.com/thoughtworks/maeve-csms.git"
- MAEVE_BRANCH="b990d0eddf2bf80be8d9524a7b08029fbb305c7d" # patch files are based on this commit
+ CSMS_REPO="https://github.com/thoughtworks/maeve-csms.git"
+ CSMS_BRANCH="b990d0eddf2bf80be8d9524a7b08029fbb305c7d" # patch files are based on this commit
+ CSMS="maeve" The most likely explanation is that we are not resetting properly. @louisg1337 for visibility |
**Issue #2: ** EVerest is not configured properly
And it still connects to SP1.
|
The new location is in
Fixing the paths... |
This should fix EVerest#47 (comment) Testing done: Made a change to copy the everest demo instead of cloning it. ``` $ bash demo-iso15118-2-ac-plus-ocpp.sh -r /.../everest-demo -3 ... HEAD is now at b990d0e fix: make lb depend on services in compose ... Patching the CSMS to enable EVerest organization patching file docker-compose.yml Patching the CSMS to enable local mo root patching file 'config/manager/config.toml' Patching the CSMS to enable local mo root patching file 'manager/handlers/ocpp201/authorize.go' Starting the CSMS ```
This should fix EVerest#47 (comment) Testing done: Made a change to copy the everest demo instead of cloning it. ``` $ bash demo-iso15118-2-ac-plus-ocpp.sh -r /.../everest-demo -3 /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P/maeve-csms /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P HEAD is now at b990d0e fix: make lb depend on services in compose ... Patching the CSMS to enable EVerest organization patching file docker-compose.yml Patching the CSMS to enable local mo root patching file 'config/manager/config.toml' Patching the CSMS to enable local mo root patching file 'manager/handlers/ocpp201/authorize.go' Starting the CSMS ```
This fixes: EVerest#47 (comment) by implementing EVerest#47 (comment) Testing done: - Ran the script - Station was connected to CSMS - Plugged in car with both EIM and PnC, both worked
This should fix EVerest#47 (comment) Testing done: Made a change to copy the everest demo instead of cloning it. ``` $ bash demo-iso15118-2-ac-plus-ocpp.sh -r /.../everest-demo -3 /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P/maeve-csms /var/folders/y5/cx3cfzrd2q116myv9ly86sw1rnlmdj/T/tmp.4wcbFf1P HEAD is now at b990d0e fix: make lb depend on services in compose ... Patching the CSMS to enable EVerest organization patching file docker-compose.yml Patching the CSMS to enable local mo root patching file 'config/manager/config.toml' Patching the CSMS to enable local mo root patching file 'manager/handlers/ocpp201/authorize.go' Starting the CSMS ``` Signed-off-by: Shankari <[email protected]>
This fixes: EVerest#47 (comment) by implementing EVerest#47 (comment) Testing done: - Ran the script - Station was connected to CSMS - Plugged in car with both EIM and PnC, both worked Signed-off-by: Shankari <[email protected]>
After the newest changes to
everest-demo/main
last night (found here), running thedemo-iso15118-2-ac-plus-ocpp.sh
command now returns this error:The text was updated successfully, but these errors were encountered: