Hi Davide,
ONOS supports deploying different pipeconfs to different switches.
What you’re seeing is the stratum_bmv2 instance associated to s2 that crashed.
Have you checked the complete stratum_bmv2 log for s2? Perhaps there’s an indication there of what’s wrong with the pipeline configuration you are pushing.
If you are deploying p4-tutorial-pipeconf to s2, be aware that’s an old tutorial. The pre-compiled bmv2.json and p4info files that are part of that pipeconf have been generate using an older version of p4c that works well with the version of BMv2 in the tutorial VM, but it might not be compatible with the more recent version of bmv2 used in mn-stratum.
You can try updating the compiler output for p4-tutorial-pipeconf using this docker image
opennetworking/p4c:stable, which contains a pre-built version of p4c known to work well with mn-stratum and ONOS:
For an example of how to use the docker image, you can refer to this Makefile:
Similarly, make sure to build you P4 program using the same p4c docker image.
Hope it helps.
Carmelo