Running with gitlab-runner hpd-0.6.0rc4 (3eef00068c3c)
  on developpers uSEJWwwi
section_start:1707239758:prepare_executor
Preparing the "docker" executor
Using Docker executor with image quay.orus.io/odoo/odoo:13.0.git20230608.038354c-5 ...
Using locally found image version due to "if-not-present" pull policy
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Starting service quay.orus.io/docker_mirror/postgres:11-alpine ...
Using locally found image version due to "if-not-present" pull policy
Using docker image sha256:eb575623831df1ea29fb5a74069c49045aca63b962cc50e15e836cbde563c144 for quay.orus.io/docker_mirror/postgres:11-alpine with digest quay.orus.io/docker_mirror/postgres@sha256:03143c4840ecdbdb284e51da2680bbe10d7ffcf4e2d526f0da7f6c5243f010af ...
Waiting for services to be up and running...
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Using locally found image version due to "if-not-present" pull policy
Using docker image sha256:8fc7b6bc15e0ff651f18b2ff726bc33d4a980f7b7338fdbbb5ac4daa82cbeebb for quay.orus.io/odoo/odoo:13.0.git20230608.038354c-5 with digest quay.orus.io/odoo/odoo@sha256:f0f3f6ed0a60a3608fbe0b52b60b0c464649dfc69ed9ddcae36d4e3ad23a5539 ...
section_end:1707239763:prepare_executor
section_start:1707239763:prepare_script
Preparing environment
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Running on runner-usejwwwi-project-1903-concurrent-1 via 03f201a97752...
section_end:1707239765:prepare_script
section_start:1707239765:get_sources
Getting source from version control
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Creating Mercurial repository
requesting all changes
adding changesets
adding manifests
adding file changes
added 4 changesets with 20 changes to 19 files (+1 heads)
new changesets 6d6da068f34c:c9556e31a21b (1 drafts)

Changeset c9556e31a21bd102695fc8f1f0c4b985471a9dd2 is present
Updating to c9556e31a21bd
19 files updated, 0 files merged, 0 files removed, 0 files unresolved
section_end:1707239768:get_sources
section_start:1707239768:restore_cache
Restoring cache
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Checking cache for default-non_protected...
No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. 
Successfully extracted cache
section_end:1707239769:restore_cache
section_start:1707239769:download_artifacts
Downloading artifacts
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Downloading artifacts for cfensure (626739)...
Downloading artifacts from coordinator... ok        id=626739 responseStatus=200 OK token=64_p1t3K
section_end:1707239770:download_artifacts
section_start:1707239770:step_script
Executing "step_script" stage of the job script
Using docker image sha256:8fc7b6bc15e0ff651f18b2ff726bc33d4a980f7b7338fdbbb5ac4daa82cbeebb for quay.orus.io/odoo/odoo:13.0.git20230608.038354c-5 with digest quay.orus.io/odoo/odoo@sha256:f0f3f6ed0a60a3608fbe0b52b60b0c464649dfc69ed9ddcae36d4e3ad23a5539 ...
$ echo $IMAGE_BUILD_DATE
2023-10-24T08:27:39+00:00
$ if [ "$HOME" = /nonexistent ]; then export HOME=$(mktemp -d); fi
$ echo -e "[auth]\norus.prefix=orus.io\norus.username=gitlab-ci-token\norus.password=${CI_JOB_TOKEN}\n" > ~/.hgrc
$ echo -e "machine orus.io\n  login gitlab-ci-token\n password ${CI_JOB_TOKEN}\n\n" > ~/.netrc
$ if [ -d modules ]; # collapsed multi-line command
/builds/xcg/odoo-modules/document_attachment_hr/modules/document_attachment /builds/xcg/odoo-modules/document_attachment_hr
/builds/xcg/odoo-modules/document_attachment_hr
$ if [ -e requirements ]; # collapsed multi-line command
$ if [ -d odoo_patches ]; # collapsed multi-line command
$ pip list | grep "odoo[-_]scripts"

[notice] A new release of pip is available: 23.3.1 -> 24.0
[notice] To update, run: python3 -m pip install --upgrade pip
odoo-scripts                  20.12.1
$ export ODOO_SCRIPTS_MODULE_LIST_TESTS=${ODOO_SCRIPTS_MODULE_LIST_TESTS-$(basename $PWD)}
$ export ODOO_SCRIPTS_MODULE_LIST=${ODOO_SCRIPTS_MODULE_LIST-$(python$PYTHON_VERSION -c "from ast import literal_eval;from odoo.tools.pycompat import to_text;manifest = literal_eval(to_text(open('__manifest__.py').read()));print(','.join(manifest.get('depends', '')))")}
$ export COVERAGE_SOURCE="odoo.addons.$CI_PROJECT_NAME"
$ export INSTALL_LOG_HANDLER=:WARNING,flanker.addresslib:ERROR
$ do_tests.zsh postgres $POSTGRES_USER odoo --load-language=${LOAD_LANGUAGE-en_US} $ADDONS_PATH $TEST_OPTIONS
[DEBUG] Use default owner (odoo) and unaccent (False)
[DEBUG] Looking for modules to install
[DEBUG] module_list=document_attachment,hr
[DEBUG] module_to_install=document_attachment,hr
[DEBUG] module_list_tests=document_attachment_hr
[DEBUG] Looking value of fail_on_errors
[DEBUG] fail_on_errors=True
[INFO ] Using database host postgres
[INFO ] Using database user odoo
[INFO ] Drop any existing database 'odoo'
[INFO ] Create database 'odoo' with owner odoo
[DEBUG] postgres extensions 
[INFO ] Modules to install: document_attachment,hr
[INFO ] Install those modules
[DEBUG] Reading odoo_type from odoo_scripts configuration
[INFO ] Starting odoo (odoo13) for development
[DEBUG] Trying odoo command odoo
[DEBUG] Odoo command found (odoo)
[DEBUG] Try to find if any db host is specified
[DEBUG] Try to find if any odoo configuration is specified
[DEBUG] Try to find if any addons path is provided
[DEBUG] addons-path is specified, no extra argument added
[INFO ] load-language flag detected, no reading from setup.cfg
[INFO ] Odoo Version: Odoo Server 13.0+g038354cb17dae43b1144d9f96885445e8bdb6002
[DEBUG] command line is: /usr/local/bin/odoo     --log-handler :WARNING --log-handler flanker.addresslib:ERROR -i document_attachment,hr -d odoo --max-cron-threads=0 --stop-after-init --load-language=en_US --addons-path=/builds/xcg/odoo-modules,/builds/xcg/odoo-modules/document_attachment_hr/modules --db_host=postgres --db_user=odoo 
2024-02-06 17:16:14,223 50 WARNING ? odoo.modules.registry: The option --unaccent was given but no unaccent() function was found in database. 
[WARN ] Modules installed (1 WARNING messages)
[INFO ] Run tests on odoo
[INFO ] Using database odoo for tests
[DEBUG] Reading odoo_type from odoo_scripts configuration
[INFO ] Starting odoo (odoo13) for development
[DEBUG] Trying odoo command odoo
[DEBUG] Odoo command found (odoo)
[DEBUG] Try to find if any db host is specified
[DEBUG] Try to find if any odoo configuration is specified
[DEBUG] Try to find if any addons path is provided
[DEBUG] addons-path is specified, no extra argument added
[INFO ] load-language flag detected, no reading from setup.cfg
[INFO ] Odoo Version: Odoo Server 13.0+g038354cb17dae43b1144d9f96885445e8bdb6002
[DEBUG] command line is: coverage run --omit='**/__manifest__.py' --source=odoo.addons.document_attachment_hr --branch /usr/local/bin/odoo    -i document_attachment_hr -d odoo --test-enable --log-level=test --max-cron=0 --workers=0 --stop-after-init --db_host=postgres --db_user=odoo --load-language=en_US --addons-path=/builds/xcg/odoo-modules,/builds/xcg/odoo-modules/document_attachment_hr/modules 
/usr/bin/coverage:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
2024-02-06 17:16:53,366 INFO odoo: Odoo version 13.0+g038354cb17dae43b1144d9f96885445e8bdb6002 
2024-02-06 17:16:53,366 INFO odoo: Using configuration file at /etc/odoo/odoo.conf 
2024-02-06 17:16:53,366 INFO odoo: addons paths: ['/usr/local/lib/python3.8/dist-packages/odoo/addons', '/var/lib/odoo/addons/13.0', '/builds/xcg/odoo-modules', '/builds/xcg/odoo-modules/document_attachment_hr/modules'] 
2024-02-06 17:16:53,367 INFO odoo: database: odoo@postgres:default 
2024-02-06 17:16:53,590 INFO odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf 
2024-02-06 17:16:53,724 INFO odoo.service.server: HTTP service (werkzeug) running on runner-usejwwwi-project-1903-concurrent-1:8069 
2024-02-06 17:16:53,729 WARNING ? odoo.modules.registry: The option --unaccent was given but no unaccent() function was found in database. 
2024-02-06 17:16:53,739 INFO odoo.modules.loading: loading 1 modules... 
2024-02-06 17:16:53,751 INFO odoo.modules.loading: 1 modules loaded in 0.01s, 0 queries 
2024-02-06 17:16:53,902 INFO odoo.modules.loading: updating modules list 
2024-02-06 17:16:53,902 INFO odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2024-02-06 17:16:54,463 INFO odoo.modules.loading: loading 24 modules... 
2024-02-06 17:16:55,026 INFO odoo.modules.registry: module document_attachment_hr: creating or updating database tables 
2024-02-06 17:16:55,240 INFO odoo.modules.loading: Module document_attachment_hr: loading demo 
2024-02-06 17:16:55,263 INFO odoo.modules.loading: 24 modules loaded in 0.80s, 0 queries 
2024-02-06 17:16:55,492 INFO odoo.modules.registry: verifying fields for every extended model 
2024-02-06 17:16:55,764 INFO odoo.modules.loading: Modules loaded. 
2024-02-06 17:16:55,768 INFO odoo.service.server: Starting post tests 
2024-02-06 17:16:55,769 INFO odoo.service.server: All post-tested in 0.00s, 0 queries 
2024-02-06 17:16:55,769 INFO odoo.service.server: Initiating shutdown 
2024-02-06 17:16:55,769 INFO odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2024-02-06 17:16:56,236 INFO odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections  

***** Test results *****
0 failed, 0 error(s) of 0 tests


$ # install anybadge as needed # collapsed multi-line command
/usr/bin/coverage:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
Name                    Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------
__init__.py                 1      0      0      0   100%
models/__init__.py          1      0      0      0   100%
models/hr_employee.py       4      0      0      0   100%
-------------------------------------------------------------------
TOTAL                       6      0      0      0   100%
/usr/bin/coverage:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
section_end:1707239817:step_script
section_start:1707239817:archive_cache
Saving cache for successful job
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Creating cache default-non_protected...
.cache: found 12 matching files and directories    
Archive is up to date!                             
Created cache
section_end:1707239818:archive_cache
section_start:1707239818:upload_artifacts_on_success
Uploading artifacts for successful job
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
Uploading artifacts...
.badges/coverage.svg: found 1 matching files and directories 
Uploading artifacts as "archive" to coordinator... ok  id=626742 responseStatus=201 Created token=64_p1t3K
Uploading artifacts...
coverage.xml: found 1 matching files and directories 
Uploading artifacts as "cobertura" to coordinator... ok  id=626742 responseStatus=201 Created token=64_p1t3K
section_end:1707239820:upload_artifacts_on_success
section_start:1707239820:cleanup_file_variables
Cleaning up file based variables
Using docker image sha256:c71be01339f37994b0e9d696d90124b0c4253a2ba36d5457005e9d2a7662a1ec for quay.orus.io/cc/heptapod-runner-helper:x86_64-3eef00068c3c with digest quay.orus.io/cc/heptapod-runner-helper@sha256:a16d6fe07015da1bb79109ccd7098eb1180cc80651dccf0d6258e1af74c525f1 ...
section_end:1707239820:cleanup_file_variables
Job succeeded