Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 59a7980d54f1ac3c06c7b0a6ba74086551540c0b rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 59a7980d54f1ac3c06c7b0a6ba74086551540c0b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16398222636780213129.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17428721253652455562.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7084871440599158892.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16306248017177730942.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4652208656673664947.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22507 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 81921719e6e6c7b552355ec4e405bbddc03a0e6c Checking out Revision 81921719e6e6c7b552355ec4e405bbddc03a0e6c (PR-125) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81921719e6e6c7b552355ec4e405bbddc03a0e6c # timeout=10 Commit message: "Merge commit '59a7980d54f1ac3c06c7b0a6ba74086551540c0b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk db3c4ce6fef191f5a715f5e10ef01fbd122a3127 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-11T10:10:18.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-11T10:10:18.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-11T10:10:18.373Z] ========================================================= [2022-08-11T10:10:18.373Z] EdgeX Global Pipelines Version Info [2022-08-11T10:10:18.373Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:10:19.153Z] ------------------- [2022-08-11T10:10:19.153Z] stable info: [2022-08-11T10:10:19.153Z] ------------------- [2022-08-11T10:10:19.153Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T10:10:19.153Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T10:10:19.153Z] Message: update stable to v1.0.238 [2022-08-11T10:10:19.725Z] ------------------- [2022-08-11T10:10:19.725Z] experimental info: [2022-08-11T10:10:19.725Z] ------------------- [2022-08-11T10:10:19.725Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-11T10:10:19.725Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-11T10:10:19.725Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-11T10:10:19.908Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-11T10:10:19.922Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-11T10:10:19.937Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-11T10:10:19.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-11T10:10:19.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-11T10:10:19.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-11T10:10:19.988Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-11T10:10:19.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-11T10:10:20.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-11T10:10:20.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-11T10:10:20.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-11T10:10:20.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-11T10:10:20.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-11T10:10:20.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-11T10:10:20.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T10:10:20.099Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-11T10:10:20.113Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T10:10:20.125Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-11T10:10:20.136Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-11T10:10:20.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-11T10:10:20.164Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-11T10:10:20.178Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-11T10:10:20.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-11T10:10:20.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-11T10:10:20.216Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-11T10:10:20.227Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-11T10:10:20.239Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-11T10:10:20.250Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-11T10:10:20.268Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-11T10:10:20.284Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-11T10:10:20.297Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81921719e6e6c7b552355ec4e405bbddc03a0e6c [Pipeline] echo [2022-08-11T10:10:20.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8192171 [Pipeline] echo [2022-08-11T10:10:20.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T10:10:20.372Z] provisioning config files... [2022-08-11T10:10:20.387Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6591614024606655708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:10:20.691Z] ---> docker-login.sh [2022-08-11T10:10:20.691Z] nexus3.edgexfoundry.org:10001 [2022-08-11T10:10:20.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:21.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:21.211Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:21.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:21.211Z] [2022-08-11T10:10:21.211Z] Login Succeeded [2022-08-11T10:10:21.211Z] nexus3.edgexfoundry.org:10002 [2022-08-11T10:10:21.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:21.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:21.211Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:21.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:21.211Z] [2022-08-11T10:10:21.211Z] Login Succeeded [2022-08-11T10:10:21.211Z] nexus3.edgexfoundry.org:10003 [2022-08-11T10:10:21.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:21.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:21.471Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:21.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:21.471Z] [2022-08-11T10:10:21.471Z] Login Succeeded [2022-08-11T10:10:21.471Z] nexus3.edgexfoundry.org:10004 [2022-08-11T10:10:21.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:21.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:21.471Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:21.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:21.471Z] [2022-08-11T10:10:21.471Z] Login Succeeded [2022-08-11T10:10:21.471Z] docker.io [2022-08-11T10:10:21.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:21.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:21.993Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:21.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:21.993Z] [2022-08-11T10:10:21.993Z] Login Succeeded [2022-08-11T10:10:21.993Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T10:10:22.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-11T10:10:22.364Z] + git rev-list -1 --merges 81921719e6e6c7b552355ec4e405bbddc03a0e6c~1..81921719e6e6c7b552355ec4e405bbddc03a0e6c [Pipeline] echo [2022-08-11T10:10:22.392Z] -----------> git rev-list -1 --merges 81921719e6e6c7b552355ec4e405bbddc03a0e6c~1..81921719e6e6c7b552355ec4e405bbddc03a0e6c 81921719e6e6c7b552355ec4e405bbddc03a0e6c [2022-08-11T10:10:22.392Z] 81921719e6e6c7b552355ec4e405bbddc03a0e6c [false] [Pipeline] sh [2022-08-11T10:10:22.688Z] + git log --format=format:%s -1 81921719e6e6c7b552355ec4e405bbddc03a0e6c [Pipeline] echo [2022-08-11T10:10:22.703Z] ========================================================= [2022-08-11T10:10:22.703Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-11T10:10:22.703Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T10:10:23.047Z] + git log --format=format:%s -1 81921719e6e6c7b552355ec4e405bbddc03a0e6c [Pipeline] echo [2022-08-11T10:10:23.059Z] [semverPrep] GIT_COMMIT: 81921719e6e6c7b552355ec4e405bbddc03a0e6c, Commit Message: Merge commit '59a7980d54f1ac3c06c7b0a6ba74086551540c0b' into HEAD [Pipeline] echo [2022-08-11T10:10:23.070Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-11T10:10:23.439Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-11T10:10:23.440Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-11T10:10:23.440Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-11T10:10:23.440Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-11T10:10:23.440Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-11T10:10:23.440Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-11T10:10:23.440Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:10:23.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T10:10:23.858Z] [2022-08-11T10:10:23.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:10:24.167Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T10:10:24.167Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-11T10:10:24.167Z] b85a868b505f: Pulling fs layer [2022-08-11T10:10:24.167Z] e2be974225ed: Pulling fs layer [2022-08-11T10:10:24.167Z] 339a4e72a1f5: Pulling fs layer [2022-08-11T10:10:24.167Z] 988bab9f4d93: Pulling fs layer [2022-08-11T10:10:24.167Z] 1469e6f7b9e6: Pulling fs layer [2022-08-11T10:10:24.167Z] eaf3925da568: Pulling fs layer [2022-08-11T10:10:24.167Z] bab4dde63d76: Pulling fs layer [2022-08-11T10:10:24.167Z] bde34c3a00c8: Pulling fs layer [2022-08-11T10:10:24.167Z] b352a97aabf1: Pulling fs layer [2022-08-11T10:10:24.167Z] 4872d77fe225: Pulling fs layer [2022-08-11T10:10:24.167Z] 5851b861e8e6: Pulling fs layer [2022-08-11T10:10:24.167Z] 988bab9f4d93: Waiting [2022-08-11T10:10:24.167Z] 1469e6f7b9e6: Waiting [2022-08-11T10:10:24.167Z] eaf3925da568: Waiting [2022-08-11T10:10:24.167Z] bab4dde63d76: Waiting [2022-08-11T10:10:24.167Z] bde34c3a00c8: Waiting [2022-08-11T10:10:24.167Z] 4872d77fe225: Waiting [2022-08-11T10:10:24.167Z] 5851b861e8e6: Waiting [2022-08-11T10:10:24.167Z] e2be974225ed: Download complete [2022-08-11T10:10:24.167Z] 988bab9f4d93: Verifying Checksum [2022-08-11T10:10:24.167Z] 988bab9f4d93: Download complete [2022-08-11T10:10:24.428Z] 1469e6f7b9e6: Verifying Checksum [2022-08-11T10:10:24.428Z] 1469e6f7b9e6: Download complete [2022-08-11T10:10:24.428Z] eaf3925da568: Verifying Checksum [2022-08-11T10:10:24.428Z] eaf3925da568: Download complete [2022-08-11T10:10:24.428Z] 339a4e72a1f5: Verifying Checksum [2022-08-11T10:10:24.428Z] 339a4e72a1f5: Download complete [2022-08-11T10:10:24.428Z] bde34c3a00c8: Verifying Checksum [2022-08-11T10:10:24.428Z] bde34c3a00c8: Download complete [2022-08-11T10:10:24.428Z] b352a97aabf1: Download complete [2022-08-11T10:10:24.428Z] 4872d77fe225: Verifying Checksum [2022-08-11T10:10:24.428Z] 4872d77fe225: Download complete [2022-08-11T10:10:24.428Z] 5851b861e8e6: Verifying Checksum [2022-08-11T10:10:24.428Z] 5851b861e8e6: Download complete [2022-08-11T10:10:24.428Z] b85a868b505f: Verifying Checksum [2022-08-11T10:10:24.428Z] b85a868b505f: Download complete [2022-08-11T10:10:24.687Z] bab4dde63d76: Download complete [2022-08-11T10:10:26.076Z] b85a868b505f: Pull complete [2022-08-11T10:10:26.076Z] e2be974225ed: Pull complete [2022-08-11T10:10:26.647Z] 339a4e72a1f5: Pull complete [2022-08-11T10:10:26.647Z] 988bab9f4d93: Pull complete [2022-08-11T10:10:26.906Z] 1469e6f7b9e6: Pull complete [2022-08-11T10:10:26.906Z] eaf3925da568: Pull complete [2022-08-11T10:10:28.814Z] bab4dde63d76: Pull complete [2022-08-11T10:10:28.814Z] bde34c3a00c8: Pull complete [2022-08-11T10:10:29.076Z] b352a97aabf1: Pull complete [2022-08-11T10:10:29.076Z] 4872d77fe225: Pull complete [2022-08-11T10:10:29.076Z] 5851b861e8e6: Pull complete [2022-08-11T10:10:29.076Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-11T10:10:29.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-11T10:10:29.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:10:29.178Z] prd-ubuntu20.04-docker-8c-8g-22507 does not seem to be running inside a container [2022-08-11T10:10:29.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-11T10:10:30.708Z] $ docker top c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa -eo pid,comm [2022-08-11T10:10:30.772Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-11T10:10:30.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-11T10:10:30.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T10:10:30.810Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T10:10:30.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T10:10:30.946Z] $ docker exec c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa ssh-agent [2022-08-11T10:10:31.070Z] SSH_AUTH_SOCK=/tmp/ssh-Z2J6tijikVWP/agent.32 [2022-08-11T10:10:31.070Z] SSH_AGENT_PID=38 [2022-08-11T10:10:31.075Z] Running ssh-add (command line suppressed) [2022-08-11T10:10:31.192Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7214410643489953555.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7214410643489953555.key) [2022-08-11T10:10:31.202Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T10:10:31.490Z] + git tag --points-at HEAD [Pipeline] } [2022-08-11T10:10:31.515Z] $ docker exec --env ******** --env ******** c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa ssh-agent -k [2022-08-11T10:10:31.626Z] unset SSH_AUTH_SOCK; [2022-08-11T10:10:31.626Z] unset SSH_AGENT_PID; [2022-08-11T10:10:31.626Z] echo Agent pid 38 killed; [2022-08-11T10:10:31.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-11T10:10:31.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-11T10:10:31.667Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-11T10:10:31.808Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-11T10:10:31.815Z] $ docker exec c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa ssh-agent [2022-08-11T10:10:31.949Z] SSH_AUTH_SOCK=/tmp/ssh-IovwCe82e5qt/agent.71 [2022-08-11T10:10:31.949Z] SSH_AGENT_PID=78 [2022-08-11T10:10:31.955Z] Running ssh-add (command line suppressed) [2022-08-11T10:10:32.076Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7497323948753823935.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7497323948753823935.key) [2022-08-11T10:10:32.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-11T10:10:32.388Z] + git semver init [2022-08-11T10:10:32.660Z] 2022-08-11 10:10:32,582 [run_init] DEBUG init version:0.0.0 force:False [2022-08-11T10:10:32.660Z] 2022-08-11 10:10:32,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-11T10:10:32.660Z] 2022-08-11 10:10:32,583 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-11T10:10:32.660Z] 2022-08-11 10:10:32,583 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,369 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,370 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,375 [execute] INFO git cat-file --batch-check [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,382 [execute] INFO git cat-file --batch [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-11T10:10:33.607Z] 2022-08-11 10:10:33,388 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-11T10:10:33.607Z] 0.0.0 [Pipeline] } [2022-08-11T10:10:33.624Z] $ docker exec --env ******** --env ******** c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa ssh-agent -k [2022-08-11T10:10:33.758Z] unset SSH_AUTH_SOCK; [2022-08-11T10:10:33.758Z] unset SSH_AGENT_PID; [2022-08-11T10:10:33.759Z] echo Agent pid 78 killed; [2022-08-11T10:10:33.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-11T10:10:34.082Z] + git semver [Pipeline] } [2022-08-11T10:10:34.363Z] $ docker stop --time=1 c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa [2022-08-11T10:10:35.666Z] $ docker rm -f c389945f9971f1a05c8f4b6034180c15184cd9c3b946b5bb450c7a2a5e408afa [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T10:10:36.038Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-11T10:10:36.325Z] Stashed 1 file(s) [Pipeline] echo [2022-08-11T10:10:36.328Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T10:10:36.441Z] provisioning config files... [2022-08-11T10:10:36.452Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6720128424140962800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:10:36.752Z] ---> docker-login.sh [2022-08-11T10:10:36.752Z] nexus3.edgexfoundry.org:10001 [2022-08-11T10:10:36.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:36.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:36.752Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:36.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:36.752Z] [2022-08-11T10:10:36.752Z] Login Succeeded [2022-08-11T10:10:36.752Z] nexus3.edgexfoundry.org:10002 [2022-08-11T10:10:36.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:37.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:37.013Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:37.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:37.013Z] [2022-08-11T10:10:37.013Z] Login Succeeded [2022-08-11T10:10:37.013Z] nexus3.edgexfoundry.org:10003 [2022-08-11T10:10:37.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:37.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:37.013Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:37.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:37.013Z] [2022-08-11T10:10:37.013Z] Login Succeeded [2022-08-11T10:10:37.013Z] nexus3.edgexfoundry.org:10004 [2022-08-11T10:10:37.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:37.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:37.273Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:37.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:37.273Z] [2022-08-11T10:10:37.273Z] Login Succeeded [2022-08-11T10:10:37.273Z] docker.io [2022-08-11T10:10:37.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:10:37.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:10:37.534Z] Configure a credential helper to remove this warning. See [2022-08-11T10:10:37.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:10:37.534Z] [2022-08-11T10:10:37.534Z] Login Succeeded [2022-08-11T10:10:37.534Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T10:10:37.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T10:10:37.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T10:10:37.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T10:10:37.686Z] ========================================================= [2022-08-11T10:10:37.686Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-11T10:10:37.686Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:10:38.002Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-11T10:10:38.002Z] Sending build context to Docker daemon 20.48MB [2022-08-11T10:10:38.002Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T10:10:38.002Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-11T10:10:38.269Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-11T10:10:38.269Z] 2408cc74d12b: Pulling fs layer [2022-08-11T10:10:38.269Z] ea60b727a1ce: Pulling fs layer [2022-08-11T10:10:38.269Z] 30c4a7721957: Pulling fs layer [2022-08-11T10:10:38.269Z] 370296b7ddb6: Pulling fs layer [2022-08-11T10:10:38.269Z] 7c6cee850709: Pulling fs layer [2022-08-11T10:10:38.269Z] 39a5fcdaea64: Pulling fs layer [2022-08-11T10:10:38.269Z] d94ebbe4e438: Pulling fs layer [2022-08-11T10:10:38.269Z] bcfd1f05c69d: Pulling fs layer [2022-08-11T10:10:38.269Z] 59ccb84bbe0f: Pulling fs layer [2022-08-11T10:10:38.269Z] 39a5fcdaea64: Waiting [2022-08-11T10:10:38.269Z] d94ebbe4e438: Waiting [2022-08-11T10:10:38.269Z] bcfd1f05c69d: Waiting [2022-08-11T10:10:38.269Z] 370296b7ddb6: Waiting [2022-08-11T10:10:38.269Z] 7c6cee850709: Waiting [2022-08-11T10:10:38.269Z] 59ccb84bbe0f: Waiting [2022-08-11T10:10:38.269Z] 30c4a7721957: Verifying Checksum [2022-08-11T10:10:38.269Z] 30c4a7721957: Download complete [2022-08-11T10:10:38.269Z] ea60b727a1ce: Download complete [2022-08-11T10:10:38.269Z] 7c6cee850709: Verifying Checksum [2022-08-11T10:10:38.269Z] 7c6cee850709: Download complete [2022-08-11T10:10:38.269Z] 39a5fcdaea64: Verifying Checksum [2022-08-11T10:10:38.269Z] 39a5fcdaea64: Download complete [2022-08-11T10:10:38.269Z] 2408cc74d12b: Verifying Checksum [2022-08-11T10:10:38.269Z] 2408cc74d12b: Download complete [2022-08-11T10:10:38.269Z] d94ebbe4e438: Download complete [2022-08-11T10:10:38.532Z] 2408cc74d12b: Pull complete [2022-08-11T10:10:38.532Z] ea60b727a1ce: Pull complete [2022-08-11T10:10:38.532Z] 30c4a7721957: Pull complete [2022-08-11T10:10:38.794Z] 59ccb84bbe0f: Verifying Checksum [2022-08-11T10:10:38.794Z] 59ccb84bbe0f: Download complete [2022-08-11T10:10:39.056Z] 370296b7ddb6: Verifying Checksum [2022-08-11T10:10:39.056Z] 370296b7ddb6: Download complete [2022-08-11T10:10:39.316Z] bcfd1f05c69d: Verifying Checksum [2022-08-11T10:10:39.316Z] bcfd1f05c69d: Download complete [2022-08-11T10:10:43.509Z] 370296b7ddb6: Pull complete [2022-08-11T10:10:43.509Z] 7c6cee850709: Pull complete [2022-08-11T10:10:43.509Z] 39a5fcdaea64: Pull complete [2022-08-11T10:10:43.509Z] d94ebbe4e438: Pull complete [2022-08-11T10:10:45.425Z] bcfd1f05c69d: Pull complete [2022-08-11T10:10:45.996Z] 59ccb84bbe0f: Pull complete [2022-08-11T10:10:45.996Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-11T10:10:45.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-11T10:10:45.996Z] ---> a4fb48ad2a94 [2022-08-11T10:10:45.996Z] Step 3/13 : ARG MAKE="make build" [2022-08-11T10:10:47.913Z] ---> Running in 6dca67a6d7cd [2022-08-11T10:10:47.913Z] Removing intermediate container 6dca67a6d7cd [2022-08-11T10:10:47.913Z] ---> 0f9cc5f23c86 [2022-08-11T10:10:47.913Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T10:10:48.178Z] ---> Running in b8830cb6754b [2022-08-11T10:10:48.178Z] Removing intermediate container b8830cb6754b [2022-08-11T10:10:48.178Z] ---> 76ba58579744 [2022-08-11T10:10:48.178Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T10:10:48.178Z] ---> Running in 275c9f3edfa5 [2022-08-11T10:10:48.178Z] Removing intermediate container 275c9f3edfa5 [2022-08-11T10:10:48.178Z] ---> af03ed72f751 [2022-08-11T10:10:48.178Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-11T10:10:48.440Z] ---> Running in 59305c4227bb [2022-08-11T10:10:48.440Z] Removing intermediate container 59305c4227bb [2022-08-11T10:10:48.440Z] ---> 7caa4b312237 [2022-08-11T10:10:48.440Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T10:10:48.440Z] ---> Running in 453df6bbadde [2022-08-11T10:10:49.012Z] Removing intermediate container 453df6bbadde [2022-08-11T10:10:49.012Z] ---> 0c4094dec0f2 [2022-08-11T10:10:49.012Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T10:10:49.012Z] ---> Running in 222300db0103 [2022-08-11T10:10:49.271Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T10:10:50.217Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T10:10:50.788Z] OK: 211 MiB in 51 packages [2022-08-11T10:10:51.050Z] Removing intermediate container 222300db0103 [2022-08-11T10:10:51.050Z] ---> 47db05fe3f90 [2022-08-11T10:10:51.050Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-11T10:10:51.050Z] ---> Running in 7d8a2f6571e3 [2022-08-11T10:10:51.050Z] Removing intermediate container 7d8a2f6571e3 [2022-08-11T10:10:51.050Z] ---> 5694088efcd2 [2022-08-11T10:10:51.050Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-11T10:10:51.319Z] ---> 3b3997c4fdfc [2022-08-11T10:10:51.319Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T10:10:51.319Z] ---> Running in fd1a71eb6fd1 [2022-08-11T10:10:51.410Z] Still waiting to schedule task [2022-08-11T10:10:51.410Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-11T10:11:13.314Z] Removing intermediate container fd1a71eb6fd1 [2022-08-11T10:11:13.314Z] ---> bc0090df3118 [2022-08-11T10:11:13.314Z] Step 12/13 : COPY . . [2022-08-11T10:11:13.574Z] ---> fa83f258f10e [2022-08-11T10:11:13.574Z] Step 13/13 : RUN ${MAKE} [2022-08-11T10:11:13.574Z] ---> Running in 9685587b154a [2022-08-11T10:11:13.834Z] noop [2022-08-11T10:11:14.405Z] Removing intermediate container 9685587b154a [2022-08-11T10:11:14.405Z] ---> 40380e1cd1b6 [2022-08-11T10:11:14.405Z] Successfully built 40380e1cd1b6 [2022-08-11T10:11:14.405Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:11:14.726Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T10:11:14.726Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:11:14.807Z] prd-ubuntu20.04-docker-8c-8g-22507 does not seem to be running inside a container [2022-08-11T10:11:14.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T10:11:15.314Z] $ docker top e9e35add9436a19c822a90ac114ba5d2f8a120e3817bee650d98ccca8a3fa0c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T10:11:15.682Z] + go version [2022-08-11T10:11:15.682Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-11T10:11:15.697Z] $ docker stop --time=1 e9e35add9436a19c822a90ac114ba5d2f8a120e3817bee650d98ccca8a3fa0c8 [2022-08-11T10:11:17.010Z] $ docker rm -f e9e35add9436a19c822a90ac114ba5d2f8a120e3817bee650d98ccca8a3fa0c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:11:17.396Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-11T10:11:17.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:11:17.478Z] prd-ubuntu20.04-docker-8c-8g-22507 does not seem to be running inside a container [2022-08-11T10:11:17.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-11T10:11:17.909Z] $ docker top 1189e97b01ff45579f7b2f3b1e7eaed0f827f01879c8d9a785ad67e841356e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T10:11:18.258Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-11T10:11:18.557Z] + make test [2022-08-11T10:11:18.557Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T10:11:18.816Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-11T10:11:28.805Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-11T10:11:29.377Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 10.6% of statements [2022-08-11T10:11:29.377Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-11T10:11:32.675Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.295s coverage: 13.8% of statements [2022-08-11T10:11:40.820Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-11T10:11:40.820Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T10:11:44.133Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T10:11:44.133Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T10:11:44.133Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-11T10:11:44.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T10:11:44.429Z] $ docker stop --time=1 1189e97b01ff45579f7b2f3b1e7eaed0f827f01879c8d9a785ad67e841356e2b [2022-08-11T10:11:46.233Z] $ docker rm -f 1189e97b01ff45579f7b2f3b1e7eaed0f827f01879c8d9a785ad67e841356e2b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T10:11:46.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T10:11:46.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-11T10:11:47.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T10:11:47.591Z] + ls -al . [2022-08-11T10:11:47.591Z] total 232 [2022-08-11T10:11:47.591Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 11 10:11 . [2022-08-11T10:11:47.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:10 .. [2022-08-11T10:11:47.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 10:11 .git [2022-08-11T10:11:47.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 10:10 .github [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 10:10 .gitignore [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 10:10 .golangci.yml [2022-08-11T10:11:47.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 10:10 .semver [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 10:10 Attribution.txt [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 10:10 CHANGELOG.md [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 11 10:10 Dockerfile [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 10:10 GOVERNANCE.md [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 10:10 Jenkinsfile [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 10:10 LICENSE [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 10:10 Makefile [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 10:10 OWNERS.md [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 10:10 README.md [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 10:10 VERSION [2022-08-11T10:11:47.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 10:10 bin [2022-08-11T10:11:47.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 10:10 cmd [2022-08-11T10:11:47.591Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 10:11 coverage.out [2022-08-11T10:11:47.591Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 10:10 doc [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 10:10 go.mod [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 10:10 go.sum [2022-08-11T10:11:47.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:10 internal [2022-08-11T10:11:47.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:10 snap [2022-08-11T10:11:47.591Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:11:47.919Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=81921719e6e6c7b552355ec4e405bbddc03a0e6c --label arch=amd64 --label version=0.0.0 . [2022-08-11T10:11:47.919Z] Sending build context to Docker daemon 20.56MB [2022-08-11T10:11:47.919Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T10:11:47.919Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-11T10:11:47.919Z] ---> 40380e1cd1b6 [2022-08-11T10:11:47.919Z] Step 3/27 : ARG MAKE="make build" [2022-08-11T10:11:48.181Z] ---> Running in d59111a876d5 [2022-08-11T10:11:48.181Z] Removing intermediate container d59111a876d5 [2022-08-11T10:11:48.181Z] ---> 4b499a5bc7d9 [2022-08-11T10:11:48.181Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T10:11:48.181Z] ---> Running in ba37c5e4f7b7 [2022-08-11T10:11:48.446Z] Removing intermediate container ba37c5e4f7b7 [2022-08-11T10:11:48.446Z] ---> d89c6cc8c8e6 [2022-08-11T10:11:48.446Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T10:11:48.446Z] ---> Running in 8a8d76c2c8bd [2022-08-11T10:11:48.446Z] Removing intermediate container 8a8d76c2c8bd [2022-08-11T10:11:48.446Z] ---> 04f29082d672 [2022-08-11T10:11:48.446Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-11T10:11:48.446Z] ---> Running in 3ee855f7bf96 [2022-08-11T10:11:48.706Z] Removing intermediate container 3ee855f7bf96 [2022-08-11T10:11:48.706Z] ---> f823fbb43d06 [2022-08-11T10:11:48.706Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T10:11:48.706Z] ---> Running in 876fa192fa84 [2022-08-11T10:11:49.276Z] Removing intermediate container 876fa192fa84 [2022-08-11T10:11:49.276Z] ---> dfe4ed5f9107 [2022-08-11T10:11:49.276Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T10:11:49.276Z] ---> Running in b4ce797e1b0f [2022-08-11T10:11:49.538Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T10:11:50.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T10:11:50.744Z] OK: 211 MiB in 51 packages [2022-08-11T10:11:51.005Z] Removing intermediate container b4ce797e1b0f [2022-08-11T10:11:51.005Z] ---> a91680bfd106 [2022-08-11T10:11:51.005Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-11T10:11:51.266Z] ---> Running in 54d871e05d81 [2022-08-11T10:11:51.266Z] Removing intermediate container 54d871e05d81 [2022-08-11T10:11:51.266Z] ---> 0b14ca1f6d3f [2022-08-11T10:11:51.266Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-11T10:11:51.526Z] ---> 04139772f333 [2022-08-11T10:11:51.526Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T10:11:51.526Z] ---> Running in a86560bf26fc [2022-08-11T10:11:52.097Z] Removing intermediate container a86560bf26fc [2022-08-11T10:11:52.097Z] ---> 3cc3da0c7e87 [2022-08-11T10:11:52.097Z] Step 12/27 : COPY . . [2022-08-11T10:11:52.672Z] ---> 4574a5f685a8 [2022-08-11T10:11:52.672Z] Step 13/27 : RUN ${MAKE} [2022-08-11T10:11:52.672Z] ---> Running in 7c2a264319e5 [2022-08-11T10:11:52.932Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-11T10:12:14.883Z] Removing intermediate container 7c2a264319e5 [2022-08-11T10:12:14.883Z] ---> 6d74945e4fc5 [2022-08-11T10:12:14.883Z] Step 14/27 : FROM alpine:3.16 [2022-08-11T10:12:14.883Z] 3.16: Pulling from library/alpine [2022-08-11T10:12:14.883Z] 213ec9aee27d: Pulling fs layer [2022-08-11T10:12:15.157Z] 213ec9aee27d: Verifying Checksum [2022-08-11T10:12:15.157Z] 213ec9aee27d: Download complete [2022-08-11T10:12:15.157Z] 213ec9aee27d: Pull complete [2022-08-11T10:12:15.157Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T10:12:15.157Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T10:12:15.157Z] ---> 9c6f07244728 [2022-08-11T10:12:15.157Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-11T10:12:15.418Z] ---> Running in 636d9c8ed0cc [2022-08-11T10:12:15.418Z] Removing intermediate container 636d9c8ed0cc [2022-08-11T10:12:15.418Z] ---> 1a8950838839 [2022-08-11T10:12:15.418Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-11T10:12:15.418Z] ---> Running in 1a78c74ad560 [2022-08-11T10:12:15.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-11T10:12:15.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-11T10:12:15.939Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-11T10:12:15.939Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-11T10:12:15.939Z] (3/21) Installing readline (8.1.2-r0) [2022-08-11T10:12:15.939Z] (4/21) Installing bash (5.1.16-r2) [2022-08-11T10:12:16.200Z] Executing bash-5.1.16-r2.post-install [2022-08-11T10:12:16.200Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-11T10:12:16.200Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-11T10:12:16.200Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-11T10:12:16.200Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-11T10:12:16.200Z] (9/21) Installing curl (7.83.1-r2) [2022-08-11T10:12:16.200Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-11T10:12:16.200Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-11T10:12:16.200Z] (12/21) Installing jq (1.6-r1) [2022-08-11T10:12:16.200Z] (13/21) Installing popt (1.18-r0) [2022-08-11T10:12:16.200Z] (14/21) Installing pcre (8.45-r2) [2022-08-11T10:12:16.200Z] (15/21) Installing slang (2.3.2-r0) [2022-08-11T10:12:16.200Z] (16/21) Installing newt (0.52.21-r2) [2022-08-11T10:12:16.200Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T10:12:16.200Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-11T10:12:16.200Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T10:12:16.200Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-11T10:12:16.200Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-11T10:12:16.200Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T10:12:16.200Z] Executing ca-certificates-20220614-r0.trigger [2022-08-11T10:12:16.200Z] OK: 17 MiB in 35 packages [2022-08-11T10:12:17.142Z] Removing intermediate container 1a78c74ad560 [2022-08-11T10:12:17.142Z] ---> a774489129ea [2022-08-11T10:12:17.142Z] Step 17/27 : WORKDIR / [2022-08-11T10:12:17.142Z] ---> Running in bca3c3584c3f [2022-08-11T10:12:17.142Z] Removing intermediate container bca3c3584c3f [2022-08-11T10:12:17.142Z] ---> db3c9e6a4ca2 [2022-08-11T10:12:17.142Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-11T10:12:17.716Z] ---> a006788b3baf [2022-08-11T10:12:17.716Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-11T10:12:17.976Z] ---> e51906cc0299 [2022-08-11T10:12:17.976Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-11T10:12:17.976Z] ---> 071e43f1bcbf [2022-08-11T10:12:17.976Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-11T10:12:18.240Z] ---> 95937a249525 [2022-08-11T10:12:18.240Z] Step 22/27 : EXPOSE 59984 [2022-08-11T10:12:18.240Z] ---> Running in b73f34f976b2 [2022-08-11T10:12:18.240Z] Removing intermediate container b73f34f976b2 [2022-08-11T10:12:18.240Z] ---> d598c90a70d4 [2022-08-11T10:12:18.240Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-11T10:12:18.500Z] ---> Running in 1ebe2ae1ee2e [2022-08-11T10:12:18.500Z] Removing intermediate container 1ebe2ae1ee2e [2022-08-11T10:12:18.500Z] ---> 782944e0151b [2022-08-11T10:12:18.500Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T10:12:18.500Z] ---> Running in 7108511b0fba [2022-08-11T10:12:18.759Z] Removing intermediate container 7108511b0fba [2022-08-11T10:12:18.759Z] ---> 80332bb0d9cd [2022-08-11T10:12:18.759Z] Step 25/27 : LABEL arch=amd64 [2022-08-11T10:12:18.759Z] ---> Running in fbd4affc87f7 [2022-08-11T10:12:18.759Z] Removing intermediate container fbd4affc87f7 [2022-08-11T10:12:18.759Z] ---> 9782ac634002 [2022-08-11T10:12:18.759Z] Step 26/27 : LABEL git_sha=81921719e6e6c7b552355ec4e405bbddc03a0e6c [2022-08-11T10:12:18.759Z] ---> Running in 84991e706cd0 [2022-08-11T10:12:19.019Z] Removing intermediate container 84991e706cd0 [2022-08-11T10:12:19.019Z] ---> 3a26f0b44931 [2022-08-11T10:12:19.019Z] Step 27/27 : LABEL version=0.0.0 [2022-08-11T10:12:19.019Z] ---> Running in 7582a717650c [2022-08-11T10:12:19.019Z] Removing intermediate container 7582a717650c [2022-08-11T10:12:19.019Z] ---> a2756d514d2d [2022-08-11T10:12:19.019Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T10:12:19.019Z] Successfully built a2756d514d2d [2022-08-11T10:12:19.019Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:12:19.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T10:12:19.482Z] [2022-08-11T10:12:19.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:12:19.783Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T10:12:19.783Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-11T10:12:19.783Z] 5eb5b503b376: Pulling fs layer [2022-08-11T10:12:19.783Z] 5c69ac0246d0: Pulling fs layer [2022-08-11T10:12:19.783Z] ec43610c2a17: Pulling fs layer [2022-08-11T10:12:19.783Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-11T10:12:19.783Z] 33b1e0a273af: Pulling fs layer [2022-08-11T10:12:19.783Z] 5d3b04190fa2: Pulling fs layer [2022-08-11T10:12:19.783Z] 2f39f015ded8: Pulling fs layer [2022-08-11T10:12:19.783Z] 33b1e0a273af: Waiting [2022-08-11T10:12:19.783Z] 2f39f015ded8: Waiting [2022-08-11T10:12:19.783Z] 5d3b04190fa2: Waiting [2022-08-11T10:12:19.783Z] 3a2ae6a8a46f: Waiting [2022-08-11T10:12:19.783Z] 5c69ac0246d0: Verifying Checksum [2022-08-11T10:12:19.783Z] 5c69ac0246d0: Download complete [2022-08-11T10:12:19.783Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-11T10:12:19.783Z] 3a2ae6a8a46f: Download complete [2022-08-11T10:12:19.783Z] 33b1e0a273af: Verifying Checksum [2022-08-11T10:12:19.783Z] 33b1e0a273af: Download complete [2022-08-11T10:12:19.783Z] 5d3b04190fa2: Verifying Checksum [2022-08-11T10:12:19.783Z] 5d3b04190fa2: Download complete [2022-08-11T10:12:20.043Z] ec43610c2a17: Verifying Checksum [2022-08-11T10:12:20.043Z] ec43610c2a17: Download complete [2022-08-11T10:12:20.043Z] 5eb5b503b376: Download complete [2022-08-11T10:12:20.614Z] 2f39f015ded8: Download complete [2022-08-11T10:12:21.553Z] 5eb5b503b376: Pull complete [2022-08-11T10:12:21.553Z] 5c69ac0246d0: Pull complete [2022-08-11T10:12:22.120Z] ec43610c2a17: Pull complete [2022-08-11T10:12:22.120Z] 3a2ae6a8a46f: Pull complete [2022-08-11T10:12:22.379Z] 33b1e0a273af: Pull complete [2022-08-11T10:12:22.379Z] 5d3b04190fa2: Pull complete [2022-08-11T10:12:26.491Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22508 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-11T10:12:26.504Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-08-11T10:12:26.556Z] Selected Git installation does not exist. Using Default [2022-08-11T10:12:26.556Z] The recommended git tool is: NONE [2022-08-11T10:12:27.653Z] 2f39f015ded8: Pull complete [2022-08-11T10:12:27.654Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-11T10:12:27.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T10:12:27.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:12:27.749Z] prd-ubuntu20.04-docker-8c-8g-22507 does not seem to be running inside a container [2022-08-11T10:12:27.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T10:12:29.699Z] $ docker top 765a1710d3bc8972c63061e5d6bc48dfd205f7fe7857f87d75e3a293d37fdadb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:12:30.194Z] ---> job-cost.sh [2022-08-11T10:12:30.194Z] lf-activate-venv: SKIPPING [2022-08-11T10:12:30.194Z] INFO: No Stack... [2022-08-11T10:12:30.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T10:12:31.026Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T10:12:31.328Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-11T10:12:31.328Z] + cut -d, -f6 [Pipeline] lock [2022-08-11T10:12:31.343Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [2022-08-11T10:12:31.349Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] did not exist. Created. [2022-08-11T10:12:31.349Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T10:12:31.658Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-11T10:12:31.686Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T10:12:31.692Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T10:12:31.715Z] $ docker stop --time=1 765a1710d3bc8972c63061e5d6bc48dfd205f7fe7857f87d75e3a293d37fdadb [2022-08-11T10:12:32.892Z] $ docker rm -f 765a1710d3bc8972c63061e5d6bc48dfd205f7fe7857f87d75e3a293d37fdadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-11T10:12:33.173Z] using credential edgex-jenkins-ssh [2022-08-11T10:12:33.191Z] Cloning the remote Git repository [2022-08-11T10:12:33.248Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T10:12:33.323Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-08-11T10:12:33.411Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T10:12:33.412Z] > git --version # timeout=10 [2022-08-11T10:12:33.431Z] > git --version # 'git version 2.25.1' [2022-08-11T10:12:33.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T10:12:33.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T10:12:34.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-11T10:12:34.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-11T10:12:35.227Z] Merging remotes/origin/main commit 59a7980d54f1ac3c06c7b0a6ba74086551540c0b into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-11T10:12:35.937Z] Merge succeeded, producing dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c [2022-08-11T10:12:35.938Z] Checking out Revision dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c (PR-125) [2022-08-11T10:12:34.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-11T10:12:34.718Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-11T10:12:34.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T10:12:34.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-11T10:12:35.247Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T10:12:35.266Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-11T10:12:35.477Z] > git remote # timeout=10 [2022-08-11T10:12:35.503Z] > git config --get remote.origin.url # timeout=10 [2022-08-11T10:12:35.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-11T10:12:35.527Z] > git merge 59a7980d54f1ac3c06c7b0a6ba74086551540c0b # timeout=10 [2022-08-11T10:12:35.912Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-11T10:12:35.946Z] > git config core.sparsecheckout # timeout=10 [2022-08-11T10:12:35.963Z] > git checkout -f dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c # timeout=10 [2022-08-11T10:12:40.240Z] Commit message: "Merge commit '59a7980d54f1ac3c06c7b0a6ba74086551540c0b' into HEAD" [2022-08-11T10:12:40.265Z] First time build. Skipping changelog. [2022-08-11T10:12:40.252Z] > git rev-list --no-walk db3c4ce6fef191f5a715f5e10ef01fbd122a3127 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T10:12:41.156Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-11T10:12:41.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T10:12:41.156Z] Dload Upload Total Spent Left Speed [2022-08-11T10:12:41.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 91348 0 --:--:-- --:--:-- --:--:-- 90676 100 12332 100 12332 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh [2022-08-11T10:12:41.913Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-11T10:12:42.251Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-11T10:12:42.252Z] + sudo tee /etc/docker/daemon.new [2022-08-11T10:12:42.252Z] { [2022-08-11T10:12:42.252Z] "registry-mirrors": [ [2022-08-11T10:12:42.252Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-11T10:12:42.252Z] ], [2022-08-11T10:12:42.252Z] "bip": "10.250.0.254/24", [2022-08-11T10:12:42.252Z] "hosts": [ [2022-08-11T10:12:42.252Z] "tcp://0.0.0.0:5555", [2022-08-11T10:12:42.252Z] "unix:///var/run/docker.sock" [2022-08-11T10:12:42.252Z] ], [2022-08-11T10:12:42.252Z] "mtu": 1458, [2022-08-11T10:12:42.252Z] "selinux-enabled": true, [2022-08-11T10:12:42.252Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-11T10:12:42.252Z] } [Pipeline] sh [2022-08-11T10:12:42.599Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-11T10:12:42.938Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T10:13:01.282Z] provisioning config files... [2022-08-11T10:13:01.304Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config945157204650830156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:13:01.661Z] ---> docker-login.sh [2022-08-11T10:13:01.662Z] nexus3.edgexfoundry.org:10001 [2022-08-11T10:13:02.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:13:02.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:13:02.534Z] Configure a credential helper to remove this warning. See [2022-08-11T10:13:02.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:13:02.534Z] [2022-08-11T10:13:02.534Z] Login Succeeded [2022-08-11T10:13:02.534Z] nexus3.edgexfoundry.org:10002 [2022-08-11T10:13:02.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:13:02.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:13:02.809Z] Configure a credential helper to remove this warning. See [2022-08-11T10:13:02.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:13:02.809Z] [2022-08-11T10:13:02.809Z] Login Succeeded [2022-08-11T10:13:02.809Z] nexus3.edgexfoundry.org:10003 [2022-08-11T10:13:03.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:13:03.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:13:03.354Z] Configure a credential helper to remove this warning. See [2022-08-11T10:13:03.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:13:03.354Z] [2022-08-11T10:13:03.354Z] Login Succeeded [2022-08-11T10:13:03.354Z] nexus3.edgexfoundry.org:10004 [2022-08-11T10:13:03.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:13:03.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:13:03.628Z] Configure a credential helper to remove this warning. See [2022-08-11T10:13:03.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:13:03.628Z] [2022-08-11T10:13:03.628Z] Login Succeeded [2022-08-11T10:13:03.902Z] docker.io [2022-08-11T10:13:04.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-11T10:13:04.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-11T10:13:04.447Z] Configure a credential helper to remove this warning. See [2022-08-11T10:13:04.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-11T10:13:04.447Z] [2022-08-11T10:13:04.447Z] Login Succeeded [2022-08-11T10:13:04.447Z] ---> docker-login.sh ends [Pipeline] } [2022-08-11T10:13:04.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-11T10:13:04.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T10:13:05.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-11T10:13:05.024Z] ========================================================= [2022-08-11T10:13:05.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-11T10:13:05.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:13:05.392Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-11T10:13:06.001Z] Sending build context to Docker daemon 14.02MB [2022-08-11T10:13:06.001Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T10:13:06.001Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-11T10:13:06.001Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-11T10:13:06.001Z] b3c136eddcbf: Pulling fs layer [2022-08-11T10:13:06.001Z] c0a3192eca97: Pulling fs layer [2022-08-11T10:13:06.001Z] a050256f5b6f: Pulling fs layer [2022-08-11T10:13:06.001Z] 656be50a0ddc: Pulling fs layer [2022-08-11T10:13:06.001Z] 2bbca73fdf42: Pulling fs layer [2022-08-11T10:13:06.001Z] 46d945488cbd: Pulling fs layer [2022-08-11T10:13:06.001Z] 8a5474983e97: Pulling fs layer [2022-08-11T10:13:06.001Z] 329c88fbcd65: Pulling fs layer [2022-08-11T10:13:06.001Z] 46d945488cbd: Waiting [2022-08-11T10:13:06.001Z] 8a5474983e97: Waiting [2022-08-11T10:13:06.001Z] 2bbca73fdf42: Waiting [2022-08-11T10:13:06.001Z] 656be50a0ddc: Waiting [2022-08-11T10:13:06.001Z] 329c88fbcd65: Waiting [2022-08-11T10:13:06.001Z] a050256f5b6f: Verifying Checksum [2022-08-11T10:13:06.001Z] a050256f5b6f: Download complete [2022-08-11T10:13:06.001Z] c0a3192eca97: Verifying Checksum [2022-08-11T10:13:06.001Z] c0a3192eca97: Download complete [2022-08-11T10:13:06.001Z] 2bbca73fdf42: Verifying Checksum [2022-08-11T10:13:06.001Z] 2bbca73fdf42: Download complete [2022-08-11T10:13:06.001Z] 46d945488cbd: Verifying Checksum [2022-08-11T10:13:06.001Z] 46d945488cbd: Download complete [2022-08-11T10:13:06.001Z] b3c136eddcbf: Download complete [2022-08-11T10:13:06.997Z] b3c136eddcbf: Pull complete [2022-08-11T10:13:07.280Z] 329c88fbcd65: Verifying Checksum [2022-08-11T10:13:07.280Z] 329c88fbcd65: Download complete [2022-08-11T10:13:07.558Z] c0a3192eca97: Pull complete [2022-08-11T10:13:07.836Z] a050256f5b6f: Pull complete [2022-08-11T10:13:08.433Z] 8a5474983e97: Verifying Checksum [2022-08-11T10:13:08.433Z] 8a5474983e97: Download complete [2022-08-11T10:13:09.035Z] 656be50a0ddc: Download complete [2022-08-11T10:13:24.144Z] 656be50a0ddc: Pull complete [2022-08-11T10:13:24.144Z] 2bbca73fdf42: Pull complete [2022-08-11T10:13:24.144Z] 46d945488cbd: Pull complete [2022-08-11T10:13:29.576Z] 8a5474983e97: Pull complete [2022-08-11T10:13:31.026Z] 329c88fbcd65: Pull complete [2022-08-11T10:13:31.026Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-11T10:13:31.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-11T10:13:31.026Z] ---> ff4287adb874 [2022-08-11T10:13:31.026Z] Step 3/13 : ARG MAKE="make build" [2022-08-11T10:13:31.633Z] ---> Running in 5a86eed00d08 [2022-08-11T10:13:31.907Z] Removing intermediate container 5a86eed00d08 [2022-08-11T10:13:31.907Z] ---> 00c056743392 [2022-08-11T10:13:31.907Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T10:13:31.907Z] ---> Running in 6a1303cef767 [2022-08-11T10:13:32.184Z] Removing intermediate container 6a1303cef767 [2022-08-11T10:13:32.184Z] ---> f91784f8639c [2022-08-11T10:13:32.184Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T10:13:32.459Z] ---> Running in 3b5a69223230 [2022-08-11T10:13:32.737Z] Removing intermediate container 3b5a69223230 [2022-08-11T10:13:32.737Z] ---> ebc8313ea060 [2022-08-11T10:13:32.737Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-11T10:13:32.737Z] ---> Running in 8d912bc2d7a0 [2022-08-11T10:13:33.013Z] Removing intermediate container 8d912bc2d7a0 [2022-08-11T10:13:33.013Z] ---> 6583b8780bc2 [2022-08-11T10:13:33.013Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T10:13:33.013Z] ---> Running in ba1882d7b2b8 [2022-08-11T10:13:35.655Z] Removing intermediate container ba1882d7b2b8 [2022-08-11T10:13:35.655Z] ---> 472e2543e481 [2022-08-11T10:13:35.655Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T10:13:35.655Z] ---> Running in 5ddd03606b06 [2022-08-11T10:13:36.641Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T10:13:37.622Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T10:13:38.601Z] OK: 221 MiB in 51 packages [2022-08-11T10:13:39.592Z] Removing intermediate container 5ddd03606b06 [2022-08-11T10:13:39.592Z] ---> d20d8b8a0086 [2022-08-11T10:13:39.592Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-11T10:13:39.592Z] ---> Running in 43452a6144b3 [2022-08-11T10:13:39.592Z] Removing intermediate container 43452a6144b3 [2022-08-11T10:13:39.592Z] ---> 75701c717544 [2022-08-11T10:13:39.592Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-11T10:13:40.203Z] ---> 326a1cd0b105 [2022-08-11T10:13:40.203Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T10:13:40.203Z] ---> Running in fa738fe1e245 [2022-08-11T10:14:36.783Z] Removing intermediate container fa738fe1e245 [2022-08-11T10:14:36.783Z] ---> 0d733cabed4f [2022-08-11T10:14:36.783Z] Step 12/13 : COPY . . [2022-08-11T10:14:36.783Z] ---> df7d5e574c8e [2022-08-11T10:14:36.783Z] Step 13/13 : RUN ${MAKE} [2022-08-11T10:14:36.783Z] ---> Running in 422ad0641155 [2022-08-11T10:14:36.783Z] noop [2022-08-11T10:14:36.783Z] Removing intermediate container 422ad0641155 [2022-08-11T10:14:36.783Z] ---> 8cb2916cc05d [2022-08-11T10:14:36.783Z] Successfully built 8cb2916cc05d [2022-08-11T10:14:36.783Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:14:37.156Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T10:14:37.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:14:37.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-22508 does not seem to be running inside a container [2022-08-11T10:14:37.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T10:14:38.815Z] $ docker top 0b2c11ecdfe7c929029965a7382d1188aa326a3b63017981a0669fd6167a7243 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T10:14:39.740Z] + go version [2022-08-11T10:14:39.740Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-11T10:14:39.776Z] $ docker stop --time=1 0b2c11ecdfe7c929029965a7382d1188aa326a3b63017981a0669fd6167a7243 [2022-08-11T10:14:41.414Z] $ docker rm -f 0b2c11ecdfe7c929029965a7382d1188aa326a3b63017981a0669fd6167a7243 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:14:41.996Z] + docker inspect -f . ci-base-image-arm64 [2022-08-11T10:14:41.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:14:42.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-22508 does not seem to be running inside a container [2022-08-11T10:14:42.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-11T10:14:43.598Z] $ docker top 3bd01787410b6bb10651e7428a9006b8219b1cfa21a56450044b4927ddcfa0bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T10:14:44.507Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-08-11T10:14:45.180Z] + make test [2022-08-11T10:14:45.180Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-11T10:14:47.182Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-11T10:16:09.040Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-11T10:16:15.787Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.125s coverage: 10.6% of statements [2022-08-11T10:16:15.787Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-11T10:16:37.945Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.514s coverage: 13.8% of statements [2022-08-11T10:16:37.945Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-11T10:16:37.945Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-11T10:16:56.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-11T10:16:56.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-11T10:16:56.306Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-11T10:16:56.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-11T10:16:56.354Z] $ docker stop --time=1 3bd01787410b6bb10651e7428a9006b8219b1cfa21a56450044b4927ddcfa0bf [2022-08-11T10:16:58.170Z] $ docker rm -f 3bd01787410b6bb10651e7428a9006b8219b1cfa21a56450044b4927ddcfa0bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-11T10:16:59.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-11T10:16:59.185Z] Warning: overwriting stash ‘coverage-report’ [2022-08-11T10:16:59.830Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-11T10:17:00.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-11T10:17:00.616Z] + ls -al . [2022-08-11T10:17:00.616Z] total 228 [2022-08-11T10:17:00.616Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 11 10:14 . [2022-08-11T10:17:00.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:12 .. [2022-08-11T10:17:00.616Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 11 10:12 .git [2022-08-11T10:17:00.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 10:12 .github [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 11 10:12 .gitignore [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 11 10:12 .golangci.yml [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 11 10:12 Attribution.txt [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 11 10:12 CHANGELOG.md [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 11 10:12 Dockerfile [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 11 10:12 GOVERNANCE.md [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 11 10:12 Jenkinsfile [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 11 10:12 LICENSE [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 11 10:12 Makefile [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 11 10:12 OWNERS.md [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 11 10:12 README.md [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 11 10:10 VERSION [2022-08-11T10:17:00.616Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 11 10:12 bin [2022-08-11T10:17:00.616Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 11 10:12 cmd [2022-08-11T10:17:00.616Z] -rw-r--r-- 1 jenkins jenkins 76856 Aug 11 10:16 coverage.out [2022-08-11T10:17:00.616Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 11 10:12 doc [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 11 10:12 go.mod [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 11 10:12 go.sum [2022-08-11T10:17:00.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:12 internal [2022-08-11T10:17:00.616Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 11 10:12 snap [2022-08-11T10:17:00.616Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 11 10:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:17:01.005Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c --label arch=arm64 --label version=0.0.0 . [2022-08-11T10:17:01.718Z] Sending build context to Docker daemon 14.1MB [2022-08-11T10:17:01.998Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-11T10:17:01.998Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-11T10:17:01.998Z] ---> 8cb2916cc05d [2022-08-11T10:17:01.998Z] Step 3/27 : ARG MAKE="make build" [2022-08-11T10:17:01.998Z] ---> Running in 71bbf4a63fde [2022-08-11T10:17:02.274Z] Removing intermediate container 71bbf4a63fde [2022-08-11T10:17:02.274Z] ---> 4de7313b6364 [2022-08-11T10:17:02.274Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-11T10:17:02.553Z] ---> Running in e9219f3d25a4 [2022-08-11T10:17:02.825Z] Removing intermediate container e9219f3d25a4 [2022-08-11T10:17:02.825Z] ---> f4ce800977c1 [2022-08-11T10:17:02.825Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-11T10:17:02.825Z] ---> Running in 4e09c9fc119a [2022-08-11T10:17:03.098Z] Removing intermediate container 4e09c9fc119a [2022-08-11T10:17:03.098Z] ---> 3e72039e2464 [2022-08-11T10:17:03.098Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-11T10:17:03.098Z] ---> Running in 20b958e12f02 [2022-08-11T10:17:03.695Z] Removing intermediate container 20b958e12f02 [2022-08-11T10:17:03.695Z] ---> 70433806a9b4 [2022-08-11T10:17:03.695Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-11T10:17:03.695Z] ---> Running in 891a05aacae3 [2022-08-11T10:17:05.156Z] Removing intermediate container 891a05aacae3 [2022-08-11T10:17:05.156Z] ---> 6e3871c11509 [2022-08-11T10:17:05.156Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-11T10:17:05.432Z] ---> Running in e78c5c860832 [2022-08-11T10:17:06.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T10:17:07.393Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T10:17:07.989Z] OK: 221 MiB in 51 packages [2022-08-11T10:17:08.966Z] Removing intermediate container e78c5c860832 [2022-08-11T10:17:08.966Z] ---> 6ce9c43505bb [2022-08-11T10:17:08.966Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-11T10:17:08.966Z] ---> Running in bba067467be5 [2022-08-11T10:17:09.241Z] Removing intermediate container bba067467be5 [2022-08-11T10:17:09.241Z] ---> 1438d837294c [2022-08-11T10:17:09.241Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-11T10:17:09.845Z] ---> a72f01c1821b [2022-08-11T10:17:09.845Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-11T10:17:09.845Z] ---> Running in c0c5d717f902 [2022-08-11T10:17:11.830Z] Removing intermediate container c0c5d717f902 [2022-08-11T10:17:11.830Z] ---> 0b0544df8af2 [2022-08-11T10:17:11.830Z] Step 12/27 : COPY . . [2022-08-11T10:17:13.803Z] ---> 9f9eff74d57a [2022-08-11T10:17:13.803Z] Step 13/27 : RUN ${MAKE} [2022-08-11T10:17:13.803Z] ---> Running in 7e1abcb7d62a [2022-08-11T10:17:14.401Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-11T10:19:21.298Z] Removing intermediate container 7e1abcb7d62a [2022-08-11T10:19:21.298Z] ---> 2f24327533ff [2022-08-11T10:19:21.298Z] Step 14/27 : FROM alpine:3.16 [2022-08-11T10:19:21.570Z] 3.16: Pulling from library/alpine [2022-08-11T10:19:21.570Z] 9b18e9b68314: Pulling fs layer [2022-08-11T10:19:21.844Z] 9b18e9b68314: Verifying Checksum [2022-08-11T10:19:21.844Z] 9b18e9b68314: Download complete [2022-08-11T10:19:22.444Z] 9b18e9b68314: Pull complete [2022-08-11T10:19:22.444Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-11T10:19:22.444Z] Status: Downloaded newer image for alpine:3.16 [2022-08-11T10:19:22.444Z] ---> a6215f271958 [2022-08-11T10:19:22.444Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-11T10:19:22.444Z] ---> Running in 9c380ba2ac73 [2022-08-11T10:19:22.721Z] Removing intermediate container 9c380ba2ac73 [2022-08-11T10:19:22.721Z] ---> 8af09c751878 [2022-08-11T10:19:22.721Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-11T10:19:23.000Z] ---> Running in dd8b15b0aad3 [2022-08-11T10:19:23.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-11T10:19:24.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-11T10:19:25.233Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-11T10:19:25.233Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-11T10:19:25.233Z] (3/21) Installing readline (8.1.2-r0) [2022-08-11T10:19:25.233Z] (4/21) Installing bash (5.1.16-r2) [2022-08-11T10:19:25.233Z] Executing bash-5.1.16-r2.post-install [2022-08-11T10:19:25.233Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-11T10:19:25.233Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-11T10:19:25.233Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-11T10:19:25.233Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-11T10:19:25.506Z] (9/21) Installing curl (7.83.1-r2) [2022-08-11T10:19:25.506Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-11T10:19:25.506Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-11T10:19:25.506Z] (12/21) Installing jq (1.6-r1) [2022-08-11T10:19:25.506Z] (13/21) Installing popt (1.18-r0) [2022-08-11T10:19:25.506Z] (14/21) Installing pcre (8.45-r2) [2022-08-11T10:19:25.506Z] (15/21) Installing slang (2.3.2-r0) [2022-08-11T10:19:25.506Z] (16/21) Installing newt (0.52.21-r2) [2022-08-11T10:19:25.506Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-11T10:19:25.506Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-11T10:19:25.506Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-11T10:19:25.506Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-11T10:19:25.506Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-11T10:19:25.506Z] Executing busybox-1.35.0-r17.trigger [2022-08-11T10:19:25.780Z] Executing ca-certificates-20220614-r0.trigger [2022-08-11T10:19:25.780Z] OK: 16 MiB in 35 packages [2022-08-11T10:19:27.757Z] Removing intermediate container dd8b15b0aad3 [2022-08-11T10:19:27.757Z] ---> a29da8536da6 [2022-08-11T10:19:27.757Z] Step 17/27 : WORKDIR / [2022-08-11T10:19:27.757Z] ---> Running in aa96728469e4 [2022-08-11T10:19:27.757Z] Removing intermediate container aa96728469e4 [2022-08-11T10:19:27.757Z] ---> ac9b4fcadd38 [2022-08-11T10:19:27.757Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-11T10:19:29.187Z] ---> f6b0117a4049 [2022-08-11T10:19:29.187Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-11T10:19:29.782Z] ---> ed10570c511e [2022-08-11T10:19:29.782Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-11T10:19:30.374Z] ---> b40df2fe7a42 [2022-08-11T10:19:30.374Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-11T10:19:30.648Z] ---> 0fd1075d7fc5 [2022-08-11T10:19:30.648Z] Step 22/27 : EXPOSE 59984 [2022-08-11T10:19:30.922Z] ---> Running in f264b01ff95d [2022-08-11T10:19:31.195Z] Removing intermediate container f264b01ff95d [2022-08-11T10:19:31.195Z] ---> 66919a82e765 [2022-08-11T10:19:31.195Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-11T10:19:31.195Z] ---> Running in 6c32f2fb9307 [2022-08-11T10:19:31.467Z] Removing intermediate container 6c32f2fb9307 [2022-08-11T10:19:31.467Z] ---> 71631db96a37 [2022-08-11T10:19:31.467Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-11T10:19:31.467Z] ---> Running in 14e3b7dc840d [2022-08-11T10:19:31.750Z] Removing intermediate container 14e3b7dc840d [2022-08-11T10:19:31.750Z] ---> 15f6a0de0d0d [2022-08-11T10:19:31.750Z] Step 25/27 : LABEL arch=arm64 [2022-08-11T10:19:32.025Z] ---> Running in 28419aa6bb96 [2022-08-11T10:19:32.296Z] Removing intermediate container 28419aa6bb96 [2022-08-11T10:19:32.296Z] ---> 27696634d3dd [2022-08-11T10:19:32.296Z] Step 26/27 : LABEL git_sha=dc36e75410f01dfc05f7ec4ca86b46cd53d25d5c [2022-08-11T10:19:32.296Z] ---> Running in 20df56f2100b [2022-08-11T10:19:32.569Z] Removing intermediate container 20df56f2100b [2022-08-11T10:19:32.569Z] ---> 1e59b756a072 [2022-08-11T10:19:32.569Z] Step 27/27 : LABEL version=0.0.0 [2022-08-11T10:19:32.856Z] ---> Running in 7d6930bdb74a [2022-08-11T10:19:33.128Z] Removing intermediate container 7d6930bdb74a [2022-08-11T10:19:33.128Z] ---> 13ab1d394c64 [2022-08-11T10:19:33.128Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-11T10:19:33.128Z] Successfully built 13ab1d394c64 [2022-08-11T10:19:33.128Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:19:33.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T10:19:33.584Z] [2022-08-11T10:19:33.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:19:33.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T10:19:33.928Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-11T10:19:33.928Z] 8998bd30e6a1: Pulling fs layer [2022-08-11T10:19:33.928Z] 04944245beec: Pulling fs layer [2022-08-11T10:19:33.928Z] 699f458cf7ca: Pulling fs layer [2022-08-11T10:19:33.928Z] 765212b225bb: Pulling fs layer [2022-08-11T10:19:33.928Z] f23df028b6ca: Pulling fs layer [2022-08-11T10:19:33.928Z] d65c8cfc05b1: Pulling fs layer [2022-08-11T10:19:33.928Z] 2437ff75d9bd: Pulling fs layer [2022-08-11T10:19:33.928Z] 765212b225bb: Waiting [2022-08-11T10:19:33.928Z] f23df028b6ca: Waiting [2022-08-11T10:19:33.928Z] d65c8cfc05b1: Waiting [2022-08-11T10:19:33.928Z] 2437ff75d9bd: Waiting [2022-08-11T10:19:34.206Z] 04944245beec: Verifying Checksum [2022-08-11T10:19:34.206Z] 04944245beec: Download complete [2022-08-11T10:19:34.206Z] 765212b225bb: Verifying Checksum [2022-08-11T10:19:34.206Z] 765212b225bb: Download complete [2022-08-11T10:19:34.206Z] f23df028b6ca: Download complete [2022-08-11T10:19:34.206Z] d65c8cfc05b1: Download complete [2022-08-11T10:19:34.484Z] 699f458cf7ca: Verifying Checksum [2022-08-11T10:19:34.484Z] 699f458cf7ca: Download complete [2022-08-11T10:19:34.759Z] 8998bd30e6a1: Verifying Checksum [2022-08-11T10:19:34.759Z] 8998bd30e6a1: Download complete [2022-08-11T10:19:36.747Z] 2437ff75d9bd: Verifying Checksum [2022-08-11T10:19:36.747Z] 2437ff75d9bd: Download complete [2022-08-11T10:19:38.728Z] 8998bd30e6a1: Pull complete [2022-08-11T10:19:39.320Z] 04944245beec: Pull complete [2022-08-11T10:19:40.749Z] 699f458cf7ca: Pull complete [2022-08-11T10:19:41.021Z] 765212b225bb: Pull complete [2022-08-11T10:19:41.614Z] f23df028b6ca: Pull complete [2022-08-11T10:19:41.887Z] d65c8cfc05b1: Pull complete [2022-08-11T10:19:56.965Z] 2437ff75d9bd: Pull complete [2022-08-11T10:19:56.965Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-11T10:19:56.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-11T10:19:56.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:19:57.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-22508 does not seem to be running inside a container [2022-08-11T10:19:57.309Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-11T10:19:59.944Z] $ docker top 5c06baabb3f7671791da746a9e0dfdffbbc89803deb22fb93829fd2d35d4ce08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:00.952Z] ---> job-cost.sh [2022-08-11T10:20:00.952Z] lf-activate-venv: SKIPPING [2022-08-11T10:20:00.952Z] INFO: No Stack... [2022-08-11T10:20:01.559Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-11T10:20:02.159Z] INFO: Archiving Costs [Pipeline] sh [2022-08-11T10:20:02.823Z] + cut -d, -f6 [2022-08-11T10:20:02.823Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-08-11T10:20:02.884Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [2022-08-11T10:20:02.890Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] did not exist. Created. [2022-08-11T10:20:02.890Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-11T10:20:03.571Z] /w/workspace/device-onvif-camera/3@tmp/durable-5cc63b6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-11T10:20:04.243Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-11T10:20:04.263Z] Warning: overwriting stash ‘stack-cost’ [2022-08-11T10:20:04.324Z] Stashed 1 file(s) [Pipeline] } [2022-08-11T10:20:04.331Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-11T10:20:04.361Z] $ docker stop --time=1 5c06baabb3f7671791da746a9e0dfdffbbc89803deb22fb93829fd2d35d4ce08 [2022-08-11T10:20:05.895Z] $ docker rm -f 5c06baabb3f7671791da746a9e0dfdffbbc89803deb22fb93829fd2d35d4ce08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-08-11T10:20:06.341Z] provisioning config files... [2022-08-11T10:20:06.351Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7595650177498858160tmp [Pipeline] { [Pipeline] sh [2022-08-11T10:20:06.650Z] + set +x [2022-08-11T10:20:06.650Z] + curl -s https://codecov.io/bash [2022-08-11T10:20:06.650Z] + bash -s -- [2022-08-11T10:20:06.650Z] [2022-08-11T10:20:06.650Z] _____ _ [2022-08-11T10:20:06.650Z] / ____| | | [2022-08-11T10:20:06.650Z] | | ___ __| | ___ ___ _____ __ [2022-08-11T10:20:06.650Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-11T10:20:06.650Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-11T10:20:06.650Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-11T10:20:06.650Z] Bash-1.0.6 [2022-08-11T10:20:06.650Z] [2022-08-11T10:20:06.650Z] [2022-08-11T10:20:06.650Z] ==> git version 2.25.1 found [2022-08-11T10:20:06.650Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-11T10:20:06.650Z] Release-Date: 2020-01-08 [2022-08-11T10:20:06.650Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-11T10:20:06.650Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-11T10:20:06.650Z] ==> Jenkins CI detected. [2022-08-11T10:20:06.650Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-11T10:20:06.650Z] project root: . [2022-08-11T10:20:06.650Z] --> token set from env [2022-08-11T10:20:06.650Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-11T10:20:06.650Z] ==> Running gcov in . (disable via -X gcov) [2022-08-11T10:20:06.650Z] ==> Python coveragepy not found [2022-08-11T10:20:06.650Z] ==> Searching for coverage reports in: [2022-08-11T10:20:06.650Z] + . [2022-08-11T10:20:06.650Z] -> Found 1 reports [2022-08-11T10:20:06.650Z] ==> Detecting git/mercurial file structure [2022-08-11T10:20:06.650Z] ==> Reading reports [2022-08-11T10:20:06.912Z] + ./coverage.out bytes=76856 [2022-08-11T10:20:06.912Z] ==> Appending adjustments [2022-08-11T10:20:06.912Z] https://docs.codecov.io/docs/fixing-reports [2022-08-11T10:20:06.912Z] + Found adjustments [2022-08-11T10:20:06.912Z] ==> Gzipping contents [2022-08-11T10:20:06.912Z] 12K /tmp/codecov.Qzp94d.gz [2022-08-11T10:20:06.912Z] ==> Uploading reports [2022-08-11T10:20:06.912Z] url: https://codecov.io [2022-08-11T10:20:06.912Z] query: branch=PR-125&commit=81921719e6e6c7b552355ec4e405bbddc03a0e6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-11T10:20:06.912Z] -> Pinging Codecov [2022-08-11T10:20:06.912Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=81921719e6e6c7b552355ec4e405bbddc03a0e6c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-11T10:20:07.172Z] -> Uploading to [2022-08-11T10:20:07.172Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-11/F29A59C45E3A92E06B3E522C9905F8EF/81921719e6e6c7b552355ec4e405bbddc03a0e6c/deb10af3-c544-4348-8cde-835700d050de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220811T102007Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=74fc356008c25bdd130fa357c9ce210ffe828a7064425c4e365bec17444b2baa [2022-08-11T10:20:07.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-11T10:20:07.172Z] Dload Upload Total Spent Left Speed [2022-08-11T10:20:07.434Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10418 0 0 100 10418 0 45493 --:--:-- --:--:-- --:--:-- 45692 [2022-08-11T10:20:07.434Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/81921719e6e6c7b552355ec4e405bbddc03a0e6c [Pipeline] } [2022-08-11T10:20:07.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-08-11T10:20:08.187Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-11T10:20:08.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-11T10:20:08.187Z] total 16 [2022-08-11T10:20:08.187Z] drwxr-xr-x 3 root root 4096 Aug 11 10:12 . [2022-08-11T10:20:08.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 10:12 .. [2022-08-11T10:20:08.187Z] drwxr-xr-x 2 root root 4096 Aug 11 10:12 cost [2022-08-11T10:20:08.187Z] -rw-r--r-- 1 root root 91 Aug 11 10:12 cost.csv [2022-08-11T10:20:08.187Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-11T10:20:08.187Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-11T10:20:08.187Z] total 16 [2022-08-11T10:20:08.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 11 10:12 . [2022-08-11T10:20:08.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 11 10:12 .. [2022-08-11T10:20:08.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 11 10:12 cost [2022-08-11T10:20:08.187Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 11 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:08.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:09.348Z] ---> package-listing.sh [2022-08-11T10:20:09.348Z] ++ facter osfamily [2022-08-11T10:20:09.349Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-11T10:20:09.609Z] + OS_FAMILY=debian [2022-08-11T10:20:09.609Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-11T10:20:09.609Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-11T10:20:09.609Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-11T10:20:09.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-11T10:20:09.609Z] + PACKAGES=/tmp/packages_start.txt [2022-08-11T10:20:09.609Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-11T10:20:09.609Z] + PACKAGES=/tmp/packages_end.txt [2022-08-11T10:20:09.609Z] + case "${OS_FAMILY}" in [2022-08-11T10:20:09.609Z] + dpkg -l [2022-08-11T10:20:09.609Z] + grep '^ii' [2022-08-11T10:20:09.609Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-11T10:20:09.609Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-11T10:20:09.609Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-11T10:20:09.609Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-11T10:20:09.609Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-11T10:20:09.609Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-11T10:20:09.621Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-11T10:20:09.904Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-11T10:20:10.471Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-11T10:20:10.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-11T10:20:10.563Z] prd-ubuntu20.04-docker-8c-8g-22507 does not seem to be running inside a container [2022-08-11T10:20:10.603Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-11T10:20:10.877Z] $ docker top 479244bd13facb088ebe76d4efbb95ce17e9c5b32ab01c2ed6bec6c9b2c8210d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-11T10:20:11.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-11T10:20:11.530Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-11T10:20:11.820Z] + ls /var/log/sa-host [2022-08-11T10:20:11.820Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-11T10:20:11.974Z] provisioning config files... [2022-08-11T10:20:11.983Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7758595454889943641tmp [Pipeline] { [Pipeline] echo [2022-08-11T10:20:11.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:12.282Z] ---> create-netrc.sh [Pipeline] } [2022-08-11T10:20:12.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:12.619Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-11T10:20:12.628Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:12.920Z] ---> sudo-logs.sh [2022-08-11T10:20:12.920Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-11T10:20:12.951Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:13.239Z] ---> job-cost.sh [2022-08-11T10:20:13.240Z] lf-activate-venv: SKIPPING [2022-08-11T10:20:13.240Z] DEBUG: total: 0.2199999988079071 [2022-08-11T10:20:13.240Z] INFO: Retrieving Stack Cost... [2022-08-11T10:20:13.810Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-11T10:20:14.072Z] INFO: Archiving Costs [Pipeline] echo [2022-08-11T10:20:14.085Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-11T10:20:14.374Z] ---> logs-deploy.sh [2022-08-11T10:20:14.375Z] lf-activate-venv: SKIPPING [2022-08-11T10:20:14.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/3 [2022-08-11T10:20:14.375Z] INFO: archiving workspace using pattern(s): [2022-08-11T10:20:15.319Z] Archives upload complete. [2022-08-11T10:20:15.580Z] INFO: archiving logs to Nexus