[test][lib] Add duplicate key test

4 jobs for <span class="ref-name">82_duplicate_key_handling</span> in 6 minutes and 7 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
failed #166979
docker-build
build_linux_36

00:03:50

failed #166980
macosx
build_macosx_36

00:06:07

canceled #166929
docker-build
build_linux_36

00:00:14

canceled #166930
macosx
build_macosx_36

00:00:15

 
Name Stage Failure
failed
build_linux_36 Build
  File "/scratch/builds/iJyPBhV4/0/beat/beat.core/miniconda/conda-bld/beat.core_1560753723051/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.6/site-packages/beat/core/stats.py", line 55, in <module>
from . import schema
File "/scratch/builds/iJyPBhV4/0/beat/beat.core/miniconda/conda-bld/beat.core_1560753723051/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.6/site-packages/beat/core/schema/__init__.py", line 46, in <module>
from beat.backend.python.utils import error_on_duplicate_key_hook
ImportError: cannot import name 'error_on_duplicate_key_hook'
Tests failed for beat.core-1.8.1b0-py36h3fd4c5d_80.tar.bz2 - moving package to /scratch/builds/iJyPBhV4/0/beat/beat.core/miniconda/conda-bld/broken
WARNING:conda_build.build:Tests failed for beat.core-1.8.1b0-py36h3fd4c5d_80.tar.bz2 - moving package to /scratch/builds/iJyPBhV4/0/beat/beat.core/miniconda/conda-bld/broken
TESTS FAILED: beat.core-1.8.1b0-py36h3fd4c5d_80.tar.bz2
ERROR: Job failed: exit status 1
failed
build_macosx_36 Build
  File "/Users/gitlab/builds/f6f95b82/0/beat/beat.core/miniconda/conda-bld/beat.core_1560753799814/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/beat/core/stats.py", line 55, in <module>
from . import schema
File "/Users/gitlab/builds/f6f95b82/0/beat/beat.core/miniconda/conda-bld/beat.core_1560753799814/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.6/site-packages/beat/core/schema/__init__.py", line 46, in <module>
from beat.backend.python.utils import error_on_duplicate_key_hook
ImportError: cannot import name 'error_on_duplicate_key_hook'
Tests failed for beat.core-1.8.1b0-py36h3fd4c5d_86.tar.bz2 - moving package to /Users/gitlab/builds/f6f95b82/0/beat/beat.core/miniconda/conda-bld/broken
WARNING:conda_build.build:Tests failed for beat.core-1.8.1b0-py36h3fd4c5d_86.tar.bz2 - moving package to /Users/gitlab/builds/f6f95b82/0/beat/beat.core/miniconda/conda-bld/broken
TESTS FAILED: beat.core-1.8.1b0-py36h3fd4c5d_86.tar.bz2
ERROR: Job failed: exit status 1