-
Notifications
You must be signed in to change notification settings - Fork 3
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
cross_rs4s configuration changes #497
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can it be verified here that the controller actually goes through its start-up sequence if other states are accepted?
.github/workflows/cross_rs4s.yaml
Outdated
pull_request: | ||
types: [ opened, reopened, synchronize, labeled ] | ||
schedule: | ||
# schedule runs only on the default branch. time is in UTC. | ||
# * is a special character in YAML so you have to quote this string. | ||
# run every night at 10:00PM UTC. | ||
- cron: '0 22 * * *' | ||
push: | ||
branches: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to run tests on equipment on merges to branches. Instead we run when the tag 'testhub' is set on a PR, and on schedule.
Test are now running (since I added the 'testhub' tag to the PR), but for some reason the controller does not connect, or a process is blocking the address/port:
|
Is this related to a change in this PR or a more general question? I don't see changes in this PR related to the startup sequence. |
Aborting: Site did not connect within 30s ---> I was running another test on the same controller. Startup sequence
|
.github/workflows/cross_rs4s.yaml
Outdated
@@ -19,7 +19,7 @@ jobs: | |||
runs-on: [ self-hosted, Linux, X64, cross-rs4s ] | |||
strategy: | |||
matrix: | |||
core: ['3.1.2', '3.1.3', '3.1.4', '3.1.5', '3.2.0', '3.2.1', '3.2.2'] | |||
core: ['3.2.2', '3.1.2', '3.1.3', '3.1.4', '3.1.5', '3.2.0', '3.2.1'] # test last version first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea to start with the latest, but let's order them all as newest to oldest
@@ -34,8 +34,8 @@ components: | |||
CZ+76000=101DL002: | |||
CZ+76000=101DL003: | |||
items: | |||
plans: [1,2,3,4,5] | |||
traffic_situations: [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test "Traffic Situation is set with M0003" is skipped because no traffic situations configured here. Can some be configured, or does the controller not support this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Controller accepts any traffic situation, behavior is dependent on traffic solution.
I understand traffic situation as some information, which is used to select correct plan.
So it is possible in script(=user traffic logic) use current traffic situation to select different plan.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, traffic situations are something you configure on the device and can switch between, like signals plans. @otterdahl can you confirm this?
Is the controller an RS4S or RS4? |
RSMP works on RS4S and RS4T. RS4 is old, not in production. RS4T is upgraded RS4. |
Could you please squash to either a single commit, or a few relevant commits? |
Core 3.2.2 and 3.2.0 succeeds, but all other versions fail, including 3.2.1 and 3.1.x. Most has these tests failing:
Do you know what's causing some versions to fails? |
I have changed it to single commit. |
@pksoft72 Should we merge this now, and then open new issues for any remaining failing tests? |
You can merge now, I suppose other failing tests should be problem on controller's side. |
Replaced by #504 (same content, but rebased on main). |
@pksoft72 for your information, using githubs online merge tool committed to the main branch of your repo, which was a bit surprising to me. |
No description provided.