@kangas , this test is in the jsCore test suite. Running the test with `--use-write-commands`  works well for me:

    ./buildscripts/smoke.py --use-write-commands jstests/core/opcounters.js

or

    ./buildscripts/smoke.py --use-write-commands jsCore

Thanks for your review and merge!