...
- WSL Setup (Linux for Windows) (windows only)
- Docker environment (Docker desktop started in windows)
- Docker image of latest CPS-NCMP (mvn clean install)
- Docker image of latest DMI-Plugin (mvn clean install)
Run CSIT
Navigate to cps/csit directory.
Warning | |||||
---|---|---|---|---|---|
It is recommended to either:
|
...
Code Block |
---|
[OLD] robotframework-selenium2library [NEW] robotframework-selenium2library==3.0.0 |
SyntaxError with Python 3
If your system using python v3 you might get the following exception during robotframework-selenium2library installation:
RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "<string>", line 2, in <module>
...
from ez_setup import use_setuptools
File "/tmp/pip-install-629q8t42/robotframework-selenium2library/src/ez_setup.py", line 106
except pkg_resources.VersionConflict, e:
Solution: Edit the pylibs.txt file under the csit folder in the git repository. Change the robotframework-selenium2library to:
...
Unable to find include-raw-integration-install-robotframework-py3.sh
Code Block |
---|
Cloning into 'ci-management'...
remote: Counting objects: 1, done
remote: Total 33485 (delta 0), reused 33485 (delta 0)
Receiving objects: 100% (33485/33485), 5.32 MiB | 8.69 MiB/s, done.
Resolving deltas: 100% (24180/24180), done.
++ source /tmp/ci-management/jjb/integration/include-raw-integration-install-robotframework-py3.sh
+++ set -eu pipefail
+++ . /root/lf-env.sh
/tmp/ci-management/jjb/integration/include-raw-integration-install-robotframework-py3.sh: line 16: /root/lf-env.sh: No such file or directory
++++ on_exit
++++ rc=1
++++ [[ -n /mnt/c/Users/LeeAnjellaMacabuhay/Documents/userStories/1393/cps/csit ]]
++++ [[ -n /tmp/tmp.ooyImAc0MW-robot-workdir ]]
++++ rsync -av /tmp/tmp.ooyImAc0MW-robot-workdir/ /mnt/c/Users/LeeAnjellaMacabuhay/Documents/userStories/1393/cps/csit/archives/plans/cps
sending incremental file list
./ |
Solution
Path: csit/prepare-csit.sh replace the OLD script with the new one.
Code Block |
---|
[OLD] source /tmp/ci-management/jjb/integration/include-raw-integration-install-robotframework-py3.sh
[NEW] source ${WORKSPACE}/install-robotframework.sh |
System time out of Sync
If there is further issues downloading libraries due to the system date being out of sync with windows issue the following command and run the scripts again.
...