You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dvs] Update README with new flags, options, and known issues (sonic-net#1380)
- Document --keeptb flag
- Add dynamic port option to ./create_vnet.sh
- Add libswsscommon installation issue
Signed-off-by: Danny Allen <[email protected]>
============================= test session starts ==============================
125
+
platform linux -- Python 3.6.9, pytest-4.6.9, py-1.9.0, pluggy-0.13.1
126
+
rootdir: /home/daall/sonic-swss/tests
127
+
plugins: flaky-3.7.0
128
+
collected 25 items
110
129
111
-
You can mitigate this by editing the `DEFAULT_DOCKER_API_VERSION` in `/usr/local/lib/python2.7/dist-packages/docker/constants.py`, or by upgrading to a newer version of Docker CE. See [relevant GitHub discussion](https://github.com/drone/drone/issues/2048).
130
+
test_acl.py Aborted
131
+
```
112
132
133
+
When run with the `-sv` flags we get some more information:
============================= test session starts ==============================
137
+
platform linux -- Python 3.6.9, pytest-4.6.9, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3
138
+
cachedir: .pytest_cache
139
+
rootdir: /home/daall/sonic-swss/tests
140
+
plugins: flaky-3.7.0
141
+
collected 25 items
142
+
143
+
test_acl.py::TestAcl::test_AclTableCreation terminate called after throwing an instance of 'std::runtime_error'
144
+
what(): Sonic database config file doesn't exist at /var/run/redis/sonic-db/database_config.json
145
+
Aborted
146
+
```
147
+
148
+
This indicates that something went wrong with the `libswsscommon` installation. The following should mitigate the issue:
149
+
```
150
+
dpkg -r libswsscommon python3-swsscommon
151
+
dpkg --purge libswsscommon python3-swsscommon
152
+
rm -rf /usr/lib/python3/dist-packages/swsscommon/
153
+
dpkg -i libswsscommon.deb python3-swsscommon.deb
154
+
```
155
+
156
+
- You may encounter the following error message:
157
+
```
158
+
ERROR: Error response from daemon: client is newer than server (client API version: x.xx, server API version: x.xx)
159
+
```
160
+
161
+
You can mitigate this by upgrading to a newer version of Docker CE or editing the `DEFAULT_DOCKER_API_VERSION` in `/usr/local/lib/python3/dist-packages/docker/constants.py`, or by upgrading to a newer version of Docker CE. See [relevant GitHub discussion](https://github.com/drone/drone/issues/2048).
0 commit comments