Pull request #187 opened 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 ejlee3 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh8580886731680239997.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh15076023330313402978.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11296640110044703948.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4883125887246765906.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11506640607191368637.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10296915249629631348.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-116993’ Running on prd-ubuntu20.04-docker-8c-8g-116995 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-187 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Merge succeeded, producing 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a Checking out Revision 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a (PR-187) > git config core.sparsecheckout # timeout=10 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T22:43:05.435Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T22:43:05.608Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T22:43:05.704Z] ========================================================= [2022-10-25T22:43:05.704Z] EdgeX Global Pipelines Version Info [2022-10-25T22:43:05.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:43:06.440Z] ------------------- [2022-10-25T22:43:06.440Z] stable info: [2022-10-25T22:43:06.440Z] ------------------- [2022-10-25T22:43:06.440Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T22:43:06.440Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:43:06.440Z] Message: update stable to v1.0.243 [2022-10-25T22:43:07.013Z] ------------------- [2022-10-25T22:43:07.013Z] experimental info: [2022-10-25T22:43:07.013Z] ------------------- [2022-10-25T22:43:07.013Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T22:43:07.013Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:43:07.013Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T22:43:07.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-25T22:43:07.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-25T22:43:07.445Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T22:43:07.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T22:43:07.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T22:43:07.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T22:43:07.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T22:43:07.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T22:43:07.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T22:43:07.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T22:43:07.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T22:43:07.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-25T22:43:07.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T22:43:07.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T22:43:07.910Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:43:07.952Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:43:07.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:43:08.038Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:43:08.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T22:43:08.117Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T22:43:08.162Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-25T22:43:08.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-25T22:43:08.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T22:43:08.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T22:43:08.317Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T22:43:08.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T22:43:08.393Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T22:43:08.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-10-25T22:43:08.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-10-25T22:43:08.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-10-25T22:43:08.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo [2022-10-25T22:43:08.577Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9513422 [Pipeline] echo [2022-10-25T22:43:08.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:43:08.723Z] provisioning config files... [2022-10-25T22:43:08.736Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config6973120742240174322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:43:09.097Z] ---> docker-login.sh [2022-10-25T22:43:09.097Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:43:09.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:09.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:09.360Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:09.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:09.360Z] [2022-10-25T22:43:09.360Z] Login Succeeded [2022-10-25T22:43:09.360Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:43:09.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:09.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:09.620Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:09.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:09.620Z] [2022-10-25T22:43:09.620Z] Login Succeeded [2022-10-25T22:43:09.620Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:43:09.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:09.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:09.621Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:09.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:09.621Z] [2022-10-25T22:43:09.621Z] Login Succeeded [2022-10-25T22:43:09.621Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:43:09.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:09.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:09.621Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:09.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:09.621Z] [2022-10-25T22:43:09.621Z] Login Succeeded [2022-10-25T22:43:09.621Z] docker.io [2022-10-25T22:43:09.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:10.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:10.142Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:10.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:10.142Z] [2022-10-25T22:43:10.142Z] Login Succeeded [2022-10-25T22:43:10.142Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:43:10.167Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T22:43:10.808Z] + git rev-list -1 --merges 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a~1..9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo [2022-10-25T22:43:10.856Z] -----------> git rev-list -1 --merges 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a~1..9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [false] [Pipeline] sh [2022-10-25T22:43:11.167Z] + git log --format=format:%s -1 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo [2022-10-25T22:43:11.207Z] ========================================================= [2022-10-25T22:43:11.207Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T22:43:11.207Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:43:11.624Z] + git log --format=format:%s -1 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] echo [2022-10-25T22:43:11.660Z] [semverPrep] GIT_COMMIT: 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-25T22:43:11.689Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T22:43:12.060Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T22:43:12.060Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T22:43:12.060Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T22:43:12.060Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T22:43:12.060Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T22:43:12.060Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T22:43:12.060Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:43:12.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:43:12.467Z] [2022-10-25T22:43:12.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:43:12.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:43:12.855Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T22:43:12.855Z] b85a868b505f: Pulling fs layer [2022-10-25T22:43:12.855Z] e2be974225ed: Pulling fs layer [2022-10-25T22:43:12.855Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T22:43:12.855Z] 988bab9f4d93: Pulling fs layer [2022-10-25T22:43:12.855Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T22:43:12.855Z] eaf3925da568: Pulling fs layer [2022-10-25T22:43:12.855Z] bab4dde63d76: Pulling fs layer [2022-10-25T22:43:12.855Z] bde34c3a00c8: Pulling fs layer [2022-10-25T22:43:12.855Z] b352a97aabf1: Pulling fs layer [2022-10-25T22:43:12.855Z] 4872d77fe225: Pulling fs layer [2022-10-25T22:43:12.855Z] 5851b861e8e6: Pulling fs layer [2022-10-25T22:43:12.855Z] 1469e6f7b9e6: Waiting [2022-10-25T22:43:12.855Z] bab4dde63d76: Waiting [2022-10-25T22:43:12.855Z] eaf3925da568: Waiting [2022-10-25T22:43:12.855Z] bde34c3a00c8: Waiting [2022-10-25T22:43:12.855Z] b352a97aabf1: Waiting [2022-10-25T22:43:12.855Z] 5851b861e8e6: Waiting [2022-10-25T22:43:12.855Z] 4872d77fe225: Waiting [2022-10-25T22:43:12.855Z] e2be974225ed: Download complete [2022-10-25T22:43:12.855Z] 988bab9f4d93: Download complete [2022-10-25T22:43:13.116Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T22:43:13.116Z] 339a4e72a1f5: Download complete [2022-10-25T22:43:13.116Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T22:43:13.116Z] 1469e6f7b9e6: Download complete [2022-10-25T22:43:13.116Z] eaf3925da568: Verifying Checksum [2022-10-25T22:43:13.116Z] eaf3925da568: Download complete [2022-10-25T22:43:13.116Z] bde34c3a00c8: Download complete [2022-10-25T22:43:13.116Z] b352a97aabf1: Download complete [2022-10-25T22:43:13.116Z] 4872d77fe225: Verifying Checksum [2022-10-25T22:43:13.116Z] 4872d77fe225: Download complete [2022-10-25T22:43:13.116Z] 5851b861e8e6: Verifying Checksum [2022-10-25T22:43:13.116Z] 5851b861e8e6: Download complete [2022-10-25T22:43:13.116Z] b85a868b505f: Verifying Checksum [2022-10-25T22:43:13.116Z] b85a868b505f: Download complete [2022-10-25T22:43:13.375Z] bab4dde63d76: Verifying Checksum [2022-10-25T22:43:13.375Z] bab4dde63d76: Download complete [2022-10-25T22:43:14.767Z] b85a868b505f: Pull complete [2022-10-25T22:43:14.767Z] e2be974225ed: Pull complete [2022-10-25T22:43:15.029Z] 339a4e72a1f5: Pull complete [2022-10-25T22:43:15.029Z] 988bab9f4d93: Pull complete [2022-10-25T22:43:15.291Z] 1469e6f7b9e6: Pull complete [2022-10-25T22:43:15.551Z] eaf3925da568: Pull complete [2022-10-25T22:43:17.461Z] bab4dde63d76: Pull complete [2022-10-25T22:43:17.461Z] bde34c3a00c8: Pull complete [2022-10-25T22:43:17.461Z] b352a97aabf1: Pull complete [2022-10-25T22:43:17.723Z] 4872d77fe225: Pull complete [2022-10-25T22:43:17.723Z] 5851b861e8e6: Pull complete [2022-10-25T22:43:17.723Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T22:43:17.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:43:17.723Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:43:17.947Z] prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container [2022-10-25T22:43:17.971Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T22:43:19.407Z] $ docker top 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 -eo pid,comm [2022-10-25T22:43:19.468Z] 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-10-25T22:43:19.468Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T22:43:19.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:43:19.590Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:43:19.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:43:19.713Z] $ docker exec 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent [2022-10-25T22:43:19.825Z] SSH_AUTH_SOCK=/tmp/ssh-IsBk9mKpCs32/agent.32 [2022-10-25T22:43:19.825Z] SSH_AGENT_PID=38 [2022-10-25T22:43:19.832Z] Running ssh-add (command line suppressed) [2022-10-25T22:43:19.932Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_12096355743068722338.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_12096355743068722338.key) [2022-10-25T22:43:19.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:43:20.283Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T22:43:20.303Z] $ docker exec --env ******** --env ******** 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent -k [2022-10-25T22:43:20.413Z] unset SSH_AUTH_SOCK; [2022-10-25T22:43:20.415Z] unset SSH_AGENT_PID; [2022-10-25T22:43:20.415Z] echo Agent pid 38 killed; [2022-10-25T22:43:20.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T22:43:20.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:43:20.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:43:20.632Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:43:20.631Z] $ docker exec 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent [2022-10-25T22:43:20.749Z] SSH_AUTH_SOCK=/tmp/ssh-AivQx0pVFYQV/agent.70 [2022-10-25T22:43:20.749Z] SSH_AGENT_PID=76 [2022-10-25T22:43:20.753Z] Running ssh-add (command line suppressed) [2022-10-25T22:43:20.850Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6911272941044962703.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6911272941044962703.key) [2022-10-25T22:43:20.872Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:43:21.199Z] + git semver init [2022-10-25T22:43:21.460Z] 2022-10-25 22:43:21,379 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T22:43:21.460Z] 2022-10-25 22:43:21,380 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-25T22:43:21.460Z] 2022-10-25 22:43:21,380 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-25T22:43:21.460Z] 2022-10-25 22:43:21,381 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-187/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-187, universal_newlines=False, shell=None, istream=None) [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,423 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-187/.git/info/exclude [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,424 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 with force:False [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,424 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,428 [execute] INFO git cat-file --batch-check [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,436 [execute] INFO git cat-file --batch [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,436 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:43:22.843Z] 2022-10-25 22:43:22,442 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-25T22:43:22.843Z] 0.0.0 [Pipeline] } [2022-10-25T22:43:22.864Z] $ docker exec --env ******** --env ******** 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 ssh-agent -k [2022-10-25T22:43:22.975Z] unset SSH_AUTH_SOCK; [2022-10-25T22:43:22.975Z] unset SSH_AGENT_PID; [2022-10-25T22:43:22.975Z] echo Agent pid 76 killed; [2022-10-25T22:43:22.988Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T22:43:23.399Z] + git semver [Pipeline] } [2022-10-25T22:43:23.677Z] $ docker stop --time=1 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 [2022-10-25T22:43:25.003Z] $ docker rm -f 53462c9927b65903adc7acfccf27671ab4021c1f4cdff64dd78e42e0e40eacf3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:43:25.411Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T22:43:25.637Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T22:43:25.654Z] [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-10-25T22:43:26.171Z] provisioning config files... [2022-10-25T22:43:26.181Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config18071632450294477600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:43:26.521Z] ---> docker-login.sh [2022-10-25T22:43:26.521Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:43:26.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:26.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:26.521Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:26.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:26.521Z] [2022-10-25T22:43:26.521Z] Login Succeeded [2022-10-25T22:43:26.521Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:43:26.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:26.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:26.521Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:26.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:26.521Z] [2022-10-25T22:43:26.521Z] Login Succeeded [2022-10-25T22:43:26.521Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:43:26.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:26.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:26.780Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:26.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:26.780Z] [2022-10-25T22:43:26.780Z] Login Succeeded [2022-10-25T22:43:26.780Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:43:26.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:26.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:26.780Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:26.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:26.780Z] [2022-10-25T22:43:26.780Z] Login Succeeded [2022-10-25T22:43:26.780Z] docker.io [2022-10-25T22:43:27.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:43:27.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:43:27.300Z] Configure a credential helper to remove this warning. See [2022-10-25T22:43:27.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:43:27.300Z] [2022-10-25T22:43:27.300Z] Login Succeeded [2022-10-25T22:43:27.300Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:43:27.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:43:27.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:43:27.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:43:27.586Z] ========================================================= [2022-10-25T22:43:27.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T22:43:27.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:43:28.057Z] + 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-10-25T22:43:28.057Z] Sending build context to Docker daemon 21.49MB [2022-10-25T22:43:28.057Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:43:28.057Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T22:43:28.324Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T22:43:28.325Z] 213ec9aee27d: Pulling fs layer [2022-10-25T22:43:28.325Z] 4583459ba037: Pulling fs layer [2022-10-25T22:43:28.325Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T22:43:28.325Z] 53926ce57604: Pulling fs layer [2022-10-25T22:43:28.325Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T22:43:28.325Z] 30f14e443154: Pulling fs layer [2022-10-25T22:43:28.325Z] 801331c1e519: Pulling fs layer [2022-10-25T22:43:28.325Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T22:43:28.325Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T22:43:28.325Z] 99cc6dd402b0: Waiting [2022-10-25T22:43:28.325Z] 7d9ed39f4882: Waiting [2022-10-25T22:43:28.325Z] 801331c1e519: Waiting [2022-10-25T22:43:28.325Z] 21b2b0c7a3f4: Waiting [2022-10-25T22:43:28.325Z] 93c1e223e6f2: Download complete [2022-10-25T22:43:28.325Z] 4583459ba037: Verifying Checksum [2022-10-25T22:43:28.325Z] 4583459ba037: Download complete [2022-10-25T22:43:28.325Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T22:43:28.325Z] 21b2b0c7a3f4: Download complete [2022-10-25T22:43:28.325Z] 30f14e443154: Verifying Checksum [2022-10-25T22:43:28.325Z] 30f14e443154: Download complete [2022-10-25T22:43:28.325Z] 213ec9aee27d: Download complete [2022-10-25T22:43:28.325Z] 801331c1e519: Verifying Checksum [2022-10-25T22:43:28.325Z] 801331c1e519: Download complete [2022-10-25T22:43:28.589Z] 213ec9aee27d: Pull complete [2022-10-25T22:43:28.589Z] 4583459ba037: Pull complete [2022-10-25T22:43:28.589Z] 93c1e223e6f2: Pull complete [2022-10-25T22:43:28.851Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T22:43:28.851Z] 7d9ed39f4882: Download complete [2022-10-25T22:43:29.111Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T22:43:29.111Z] 99cc6dd402b0: Download complete [2022-10-25T22:43:29.111Z] 53926ce57604: Verifying Checksum [2022-10-25T22:43:29.111Z] 53926ce57604: Download complete [2022-10-25T22:43:33.306Z] 53926ce57604: Pull complete [2022-10-25T22:43:33.306Z] 21b2b0c7a3f4: Pull complete [2022-10-25T22:43:33.306Z] 30f14e443154: Pull complete [2022-10-25T22:43:33.306Z] 801331c1e519: Pull complete [2022-10-25T22:43:35.204Z] 99cc6dd402b0: Pull complete [2022-10-25T22:43:36.137Z] 7d9ed39f4882: Pull complete [2022-10-25T22:43:36.137Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T22:43:36.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T22:43:36.137Z] ---> 1dedd983c030 [2022-10-25T22:43:36.137Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:43:38.057Z] ---> Running in 7d832298198f [2022-10-25T22:43:38.057Z] Removing intermediate container 7d832298198f [2022-10-25T22:43:38.057Z] ---> 644b58efd23e [2022-10-25T22:43:38.057Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:43:38.057Z] ---> Running in 60a9d42560d0 [2022-10-25T22:43:38.317Z] Removing intermediate container 60a9d42560d0 [2022-10-25T22:43:38.317Z] ---> cf54131e11c9 [2022-10-25T22:43:38.317Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:43:38.317Z] ---> Running in 4e1934dc7099 [2022-10-25T22:43:38.317Z] Removing intermediate container 4e1934dc7099 [2022-10-25T22:43:38.317Z] ---> 6a6b4b84119c [2022-10-25T22:43:38.317Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:43:38.576Z] ---> Running in 2716ec49af27 [2022-10-25T22:43:38.576Z] Removing intermediate container 2716ec49af27 [2022-10-25T22:43:38.576Z] ---> 1e625a26d62f [2022-10-25T22:43:38.576Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-25T22:43:38.576Z] ---> Running in 0cafc81d33ea [2022-10-25T22:43:38.576Z] Removing intermediate container 0cafc81d33ea [2022-10-25T22:43:38.576Z] ---> 44508df959bb [2022-10-25T22:43:38.576Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:43:38.835Z] ---> Running in d3068a64ef9d [2022-10-25T22:43:39.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:43:39.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:43:39.352Z] OK: 211 MiB in 51 packages [2022-10-25T22:43:39.610Z] Removing intermediate container d3068a64ef9d [2022-10-25T22:43:39.610Z] ---> 6cc3c148fd1f [2022-10-25T22:43:39.610Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-25T22:43:39.610Z] ---> Running in 08241a956b6b [2022-10-25T22:43:39.869Z] Removing intermediate container 08241a956b6b [2022-10-25T22:43:39.869Z] ---> c0093037021e [2022-10-25T22:43:39.869Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T22:43:39.869Z] ---> 26efbbcb1a9f [2022-10-25T22:43:39.869Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:43:40.129Z] ---> Running in cbbbc3990ec9 [2022-10-25T22:43:41.015Z] Still waiting to schedule task [2022-10-25T22:43:41.015Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116994’ is offline [2022-10-25T22:43:58.223Z] Removing intermediate container cbbbc3990ec9 [2022-10-25T22:43:58.223Z] ---> 8a2b8e402e09 [2022-10-25T22:43:58.223Z] Step 12/13 : COPY . . [2022-10-25T22:43:58.483Z] ---> 679a09e685c2 [2022-10-25T22:43:58.483Z] Step 13/13 : RUN ${MAKE} [2022-10-25T22:43:58.483Z] ---> Running in 7df3142f4a73 [2022-10-25T22:43:58.743Z] noop [2022-10-25T22:43:59.002Z] Removing intermediate container 7df3142f4a73 [2022-10-25T22:43:59.002Z] ---> 2b62dc9a842e [2022-10-25T22:43:59.261Z] Successfully built 2b62dc9a842e [2022-10-25T22:43:59.261Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:43:59.705Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:43:59.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:43:59.863Z] prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container [2022-10-25T22:43:59.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** ci-base-image-x86_64 cat [2022-10-25T22:44:00.263Z] $ docker top 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:44:00.662Z] + go version [2022-10-25T22:44:00.662Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T22:44:00.689Z] $ docker stop --time=1 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b [2022-10-25T22:44:01.984Z] $ docker rm -f 6641b30984723def9797bec0b6efef77385f2fedbf17b0b488368162067e821b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:44:02.715Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:44:02.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:44:02.857Z] prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container [2022-10-25T22:44:02.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** ci-base-image-x86_64 cat [2022-10-25T22:44:03.243Z] $ docker top 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:44:03.644Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:44:04.080Z] + make test [2022-10-25T22:44:04.080Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T22:44:04.339Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T22:44:14.307Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T22:44:16.207Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-10-25T22:44:16.207Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T22:44:16.207Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.396s coverage: 86.5% of statements [2022-10-25T22:44:24.318Z] 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-10-25T22:44:24.318Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T22:44:26.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T22:44:26.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T22:44:26.850Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T22:44:26.888Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T22:44:26.912Z] $ docker stop --time=1 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b [2022-10-25T22:44:28.705Z] $ docker rm -f 9e806135bd8d8aa6dda23578828e971919b6193d466e8150e0b3715ad9eec42b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:44:29.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T22:44:29.290Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T22:44:29.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T22:44:30.168Z] + ls -al . [2022-10-25T22:44:30.168Z] total 244 [2022-10-25T22:44:30.168Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:44 . [2022-10-25T22:44:30.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:42 .. [2022-10-25T22:44:30.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:44 .git [2022-10-25T22:44:30.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:43 .github [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 22:43 .gitignore [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:43 .golangci.yml [2022-10-25T22:44:30.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:43 .semver [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 22:43 Attribution.txt [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 22:43 CHANGELOG.md [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 25 22:43 Dockerfile [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:43 GOVERNANCE.md [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 22:43 Jenkinsfile [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 22:43 LICENSE [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 22:43 Makefile [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 22:43 OWNERS.md [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 22:43 README.md [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:43 VERSION [2022-10-25T22:44:30.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:43 bin [2022-10-25T22:44:30.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:43 cmd [2022-10-25T22:44:30.168Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 22:44 coverage.out [2022-10-25T22:44:30.168Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:43 doc [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 25 22:43 go.mod [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 25 22:43 go.sum [2022-10-25T22:44:30.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:43 internal [2022-10-25T22:44:30.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:43 snap [2022-10-25T22:44:30.168Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:44:30.561Z] + 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=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a --label arch=amd64 --label version=0.0.0 . [2022-10-25T22:44:30.561Z] Sending build context to Docker daemon 21.57MB [2022-10-25T22:44:30.561Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:44:30.561Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T22:44:30.561Z] ---> 2b62dc9a842e [2022-10-25T22:44:30.561Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:44:30.823Z] ---> Running in 89140d56269d [2022-10-25T22:44:30.823Z] Removing intermediate container 89140d56269d [2022-10-25T22:44:30.823Z] ---> 28111642b54a [2022-10-25T22:44:30.823Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:44:30.823Z] ---> Running in 4ea215bc60a7 [2022-10-25T22:44:31.081Z] Removing intermediate container 4ea215bc60a7 [2022-10-25T22:44:31.081Z] ---> 277f41237232 [2022-10-25T22:44:31.081Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:44:31.081Z] ---> Running in 11ea2392ceaa [2022-10-25T22:44:31.081Z] Removing intermediate container 11ea2392ceaa [2022-10-25T22:44:31.081Z] ---> 2f91e22be784 [2022-10-25T22:44:31.081Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:44:31.340Z] ---> Running in eb1e2ccc90ff [2022-10-25T22:44:31.340Z] Removing intermediate container eb1e2ccc90ff [2022-10-25T22:44:31.340Z] ---> e70dfa725251 [2022-10-25T22:44:31.340Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-25T22:44:31.340Z] ---> Running in d74fbbddd01e [2022-10-25T22:44:31.340Z] Removing intermediate container d74fbbddd01e [2022-10-25T22:44:31.340Z] ---> 7edfcdf97d63 [2022-10-25T22:44:31.340Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:44:31.340Z] ---> Running in 6bd8eaa61273 [2022-10-25T22:44:31.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:44:31.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:44:32.167Z] OK: 211 MiB in 51 packages [2022-10-25T22:44:32.425Z] Removing intermediate container 6bd8eaa61273 [2022-10-25T22:44:32.425Z] ---> c616b2fcf7b8 [2022-10-25T22:44:32.425Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-25T22:44:32.425Z] ---> Running in 5d29b092faaa [2022-10-25T22:44:32.683Z] Removing intermediate container 5d29b092faaa [2022-10-25T22:44:32.683Z] ---> 5adc9b6fce1f [2022-10-25T22:44:32.683Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T22:44:32.683Z] ---> 44002ab43f68 [2022-10-25T22:44:32.683Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:44:32.683Z] ---> Running in 724c40916d01 [2022-10-25T22:44:33.616Z] Removing intermediate container 724c40916d01 [2022-10-25T22:44:33.616Z] ---> c962ac76d102 [2022-10-25T22:44:33.616Z] Step 12/26 : COPY . . [2022-10-25T22:44:33.874Z] ---> 61333fb250c2 [2022-10-25T22:44:33.874Z] Step 13/26 : RUN ${MAKE} [2022-10-25T22:44:33.874Z] ---> Running in 7d5cfb855e2c [2022-10-25T22:44:34.133Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T22:44:56.077Z] Removing intermediate container 7d5cfb855e2c [2022-10-25T22:44:56.077Z] ---> 7aab74fdfee1 [2022-10-25T22:44:56.077Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T22:44:56.077Z] 3.16: Pulling from library/alpine [2022-10-25T22:44:56.077Z] 213ec9aee27d: Already exists [2022-10-25T22:44:56.077Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T22:44:56.077Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T22:44:56.077Z] ---> 9c6f07244728 [2022-10-25T22:44:56.077Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T22:44:56.077Z] ---> Running in 9644e21b041d [2022-10-25T22:44:56.077Z] Removing intermediate container 9644e21b041d [2022-10-25T22:44:56.077Z] ---> 99cb5f9066e9 [2022-10-25T22:44:56.077Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T22:44:56.077Z] ---> Running in 5c705111f305 [2022-10-25T22:44:56.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:44:56.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:44:56.077Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T22:44:56.077Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T22:44:56.077Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T22:44:56.077Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T22:44:56.077Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T22:44:56.077Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T22:44:56.077Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:44:56.077Z] OK: 8 MiB in 20 packages [2022-10-25T22:44:56.077Z] Removing intermediate container 5c705111f305 [2022-10-25T22:44:56.077Z] ---> 0f1d9c0e753a [2022-10-25T22:44:56.077Z] Step 17/26 : WORKDIR / [2022-10-25T22:44:56.077Z] ---> Running in 6af328d41f54 [2022-10-25T22:44:56.077Z] Removing intermediate container 6af328d41f54 [2022-10-25T22:44:56.077Z] ---> 5beb66196a6f [2022-10-25T22:44:56.077Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T22:44:56.383Z] ---> f01e60e619f7 [2022-10-25T22:44:56.383Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T22:44:56.383Z] ---> 4718312e3b89 [2022-10-25T22:44:56.383Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T22:44:56.641Z] ---> 94ae0a182d8a [2022-10-25T22:44:56.641Z] Step 21/26 : EXPOSE 59984 [2022-10-25T22:44:56.641Z] ---> Running in 2fc25361df9d [2022-10-25T22:44:56.641Z] Removing intermediate container 2fc25361df9d [2022-10-25T22:44:56.641Z] ---> 3da177a856a9 [2022-10-25T22:44:56.641Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T22:44:56.641Z] ---> Running in 6302ec3389ea [2022-10-25T22:44:56.900Z] Removing intermediate container 6302ec3389ea [2022-10-25T22:44:56.900Z] ---> fe32a70d26cf [2022-10-25T22:44:56.900Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T22:44:56.900Z] ---> Running in 9da06026b9b3 [2022-10-25T22:44:56.900Z] Removing intermediate container 9da06026b9b3 [2022-10-25T22:44:56.900Z] ---> 96d7c0c2b16a [2022-10-25T22:44:56.900Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T22:44:56.900Z] ---> Running in 1d7b4028fd70 [2022-10-25T22:44:57.159Z] Removing intermediate container 1d7b4028fd70 [2022-10-25T22:44:57.159Z] ---> 349bb7342c77 [2022-10-25T22:44:57.159Z] Step 25/26 : LABEL git_sha=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [2022-10-25T22:44:57.159Z] ---> Running in bdc79257ccf4 [2022-10-25T22:44:57.159Z] Removing intermediate container bdc79257ccf4 [2022-10-25T22:44:57.159Z] ---> 7a3c3aa23e75 [2022-10-25T22:44:57.159Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T22:44:57.159Z] ---> Running in d4b938fee7f6 [2022-10-25T22:44:57.418Z] Removing intermediate container d4b938fee7f6 [2022-10-25T22:44:57.418Z] ---> 82dd8b49861a [2022-10-25T22:44:57.418Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T22:44:57.418Z] Successfully built 82dd8b49861a [2022-10-25T22:44:57.418Z] 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-10-25T22:44:58.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:44:58.259Z] [2022-10-25T22:44:58.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:44:58.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:44:58.640Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T22:44:58.640Z] 5eb5b503b376: Pulling fs layer [2022-10-25T22:44:58.640Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T22:44:58.640Z] ec43610c2a17: Pulling fs layer [2022-10-25T22:44:58.640Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T22:44:58.640Z] 33b1e0a273af: Pulling fs layer [2022-10-25T22:44:58.640Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T22:44:58.640Z] 2f39f015ded8: Pulling fs layer [2022-10-25T22:44:58.640Z] 3a2ae6a8a46f: Waiting [2022-10-25T22:44:58.640Z] 33b1e0a273af: Waiting [2022-10-25T22:44:58.640Z] 5d3b04190fa2: Waiting [2022-10-25T22:44:58.640Z] 2f39f015ded8: Waiting [2022-10-25T22:44:58.640Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T22:44:58.640Z] 5c69ac0246d0: Download complete [2022-10-25T22:44:58.640Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T22:44:58.640Z] 3a2ae6a8a46f: Download complete [2022-10-25T22:44:58.640Z] 33b1e0a273af: Verifying Checksum [2022-10-25T22:44:58.900Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T22:44:58.900Z] 5d3b04190fa2: Download complete [2022-10-25T22:44:58.900Z] ec43610c2a17: Verifying Checksum [2022-10-25T22:44:58.900Z] ec43610c2a17: Download complete [2022-10-25T22:44:58.900Z] 5eb5b503b376: Verifying Checksum [2022-10-25T22:44:58.900Z] 5eb5b503b376: Download complete [2022-10-25T22:44:59.467Z] 2f39f015ded8: Verifying Checksum [2022-10-25T22:44:59.467Z] 2f39f015ded8: Download complete [2022-10-25T22:45:00.032Z] 5eb5b503b376: Pull complete [2022-10-25T22:45:00.032Z] 5c69ac0246d0: Pull complete [2022-10-25T22:45:00.597Z] ec43610c2a17: Pull complete [2022-10-25T22:45:00.597Z] 3a2ae6a8a46f: Pull complete [2022-10-25T22:45:00.855Z] 33b1e0a273af: Pull complete [2022-10-25T22:45:00.855Z] 5d3b04190fa2: Pull complete [2022-10-25T22:45:05.046Z] 2f39f015ded8: Pull complete [2022-10-25T22:45:05.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T22:45:05.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:45:05.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:45:05.263Z] prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container [2022-10-25T22:45:05.293Z] $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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-lftools-log-publisher:latest cat [2022-10-25T22:45:07.157Z] $ docker top 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:45:07.593Z] ---> job-cost.sh [2022-10-25T22:45:07.593Z] lf-activate-venv: SKIPPING [2022-10-25T22:45:07.593Z] INFO: No Stack... [2022-10-25T22:45:07.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T22:45:08.417Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T22:45:08.732Z] + cat /w/workspace/undry_device-onvif-camera_PR-187/archives/cost.csv [2022-10-25T22:45:08.732Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T22:45:08.772Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [2022-10-25T22:45:08.776Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] did not exist. Created. [2022-10-25T22:45:08.776Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T22:45:09.163Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T22:45:09.214Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T22:45:09.237Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T22:45:09.303Z] $ docker stop --time=1 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 [2022-10-25T22:45:10.480Z] $ docker rm -f 3560f5c31ed6423e7b59295848620e6927633937d50e3652d35aee2155c46773 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T22:45:12.779Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116996 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] ws [2022-10-25T22:45:12.818Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-10-25T22:45:12.891Z] The recommended git tool is: git [2022-10-25T22:45:17.905Z] using credential edgex-jenkins-ssh [2022-10-25T22:45:17.919Z] Cloning the remote Git repository [2022-10-25T22:45:17.958Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T22:45:18.035Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-10-25T22:45:18.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T22:45:18.175Z] > git --version # timeout=10 [2022-10-25T22:45:18.197Z] > git --version # 'git version 2.25.1' [2022-10-25T22:45:18.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:45:18.237Z] Verifying host key using known hosts file [2022-10-25T22:45:18.423Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:45:18.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:45:19.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T22:45:19.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:45:21.392Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [2022-10-25T22:45:20.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-25T22:45:20.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-25T22:45:20.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:45:20.681Z] Verifying host key using known hosts file [2022-10-25T22:45:20.687Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:45:20.703Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T22:45:21.406Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:45:21.427Z] > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 [2022-10-25T22:45:21.754Z] Merge succeeded, producing 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [2022-10-25T22:45:21.755Z] Checking out Revision 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a (PR-187) [2022-10-25T22:45:21.652Z] > git remote # timeout=10 [2022-10-25T22:45:21.671Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T22:45:21.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:45:21.692Z] Verifying host key using known hosts file [2022-10-25T22:45:21.697Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T22:45:21.710Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-25T22:45:21.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T22:45:21.757Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:45:21.773Z] > git checkout -f 9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a # timeout=10 [2022-10-25T22:45:25.483Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [2022-10-25T22:45:25.532Z] > git --version # timeout=10 [2022-10-25T22:45:25.550Z] > git --version # 'git version 2.25.1' [2022-10-25T22:45:25.562Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:45:26.640Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T22:45:26.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T22:45:26.640Z] Dload Upload Total Spent Left Speed [2022-10-25T22:45:26.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-10-25T22:45:27.409Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T22:45:27.753Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T22:45:27.753Z] sudo tee /etc/docker/daemon.new [2022-10-25T22:45:27.753Z] { [2022-10-25T22:45:27.753Z] "registry-mirrors": [ [2022-10-25T22:45:27.753Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T22:45:27.753Z] ], [2022-10-25T22:45:27.753Z] "bip": "10.250.0.254/24", [2022-10-25T22:45:27.753Z] "hosts": [ [2022-10-25T22:45:27.753Z] "tcp://0.0.0.0:5555", [2022-10-25T22:45:27.753Z] "unix:///var/run/docker.sock" [2022-10-25T22:45:27.753Z] ], [2022-10-25T22:45:27.754Z] "mtu": 1458, [2022-10-25T22:45:27.754Z] "selinux-enabled": true, [2022-10-25T22:45:27.754Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T22:45:27.754Z] } [Pipeline] sh [2022-10-25T22:45:28.096Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T22:45:28.444Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:45:46.768Z] provisioning config files... [2022-10-25T22:45:46.794Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8169852715911261218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:45:47.206Z] ---> docker-login.sh [2022-10-25T22:45:47.206Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:45:47.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:45:47.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:45:47.795Z] Configure a credential helper to remove this warning. See [2022-10-25T22:45:47.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:45:47.795Z] [2022-10-25T22:45:47.795Z] Login Succeeded [2022-10-25T22:45:47.795Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:45:48.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:45:48.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:45:48.331Z] Configure a credential helper to remove this warning. See [2022-10-25T22:45:48.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:45:48.331Z] [2022-10-25T22:45:48.331Z] Login Succeeded [2022-10-25T22:45:48.331Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:45:48.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:45:48.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:45:48.600Z] Configure a credential helper to remove this warning. See [2022-10-25T22:45:48.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:45:48.600Z] [2022-10-25T22:45:48.600Z] Login Succeeded [2022-10-25T22:45:48.600Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:45:48.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:45:48.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:45:48.871Z] Configure a credential helper to remove this warning. See [2022-10-25T22:45:48.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:45:48.871Z] [2022-10-25T22:45:48.871Z] Login Succeeded [2022-10-25T22:45:48.871Z] docker.io [2022-10-25T22:45:49.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:45:49.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:45:49.404Z] Configure a credential helper to remove this warning. See [2022-10-25T22:45:49.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:45:49.404Z] [2022-10-25T22:45:49.404Z] Login Succeeded [2022-10-25T22:45:49.404Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:45:49.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:45:49.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:45:49.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:45:49.744Z] ========================================================= [2022-10-25T22:45:49.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T22:45:49.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:45:50.224Z] + 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-10-25T22:45:50.810Z] Sending build context to Docker daemon 14.79MB [2022-10-25T22:45:50.810Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:45:50.810Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T22:45:50.810Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T22:45:50.810Z] 9b18e9b68314: Pulling fs layer [2022-10-25T22:45:50.810Z] d32db5db7311: Pulling fs layer [2022-10-25T22:45:50.810Z] d0c4b47475fc: Pulling fs layer [2022-10-25T22:45:50.810Z] 5831b945b038: Pulling fs layer [2022-10-25T22:45:50.810Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T22:45:50.810Z] e10730c5d714: Pulling fs layer [2022-10-25T22:45:50.810Z] 5dd5c2283517: Pulling fs layer [2022-10-25T22:45:50.810Z] d5ac0230b979: Pulling fs layer [2022-10-25T22:45:50.810Z] e10730c5d714: Waiting [2022-10-25T22:45:50.810Z] 5dd5c2283517: Waiting [2022-10-25T22:45:50.810Z] 5831b945b038: Waiting [2022-10-25T22:45:50.810Z] 86bbec2aaacd: Waiting [2022-10-25T22:45:50.810Z] d5ac0230b979: Waiting [2022-10-25T22:45:50.810Z] d0c4b47475fc: Verifying Checksum [2022-10-25T22:45:50.810Z] d0c4b47475fc: Download complete [2022-10-25T22:45:50.810Z] d32db5db7311: Verifying Checksum [2022-10-25T22:45:50.810Z] d32db5db7311: Download complete [2022-10-25T22:45:50.810Z] 86bbec2aaacd: Download complete [2022-10-25T22:45:50.810Z] e10730c5d714: Verifying Checksum [2022-10-25T22:45:50.810Z] e10730c5d714: Download complete [2022-10-25T22:45:50.810Z] 9b18e9b68314: Verifying Checksum [2022-10-25T22:45:50.810Z] 9b18e9b68314: Download complete [2022-10-25T22:45:52.243Z] d5ac0230b979: Verifying Checksum [2022-10-25T22:45:52.243Z] d5ac0230b979: Download complete [2022-10-25T22:45:52.835Z] 5dd5c2283517: Verifying Checksum [2022-10-25T22:45:52.835Z] 5dd5c2283517: Download complete [2022-10-25T22:45:53.425Z] 9b18e9b68314: Pull complete [2022-10-25T22:45:53.426Z] 5831b945b038: Verifying Checksum [2022-10-25T22:45:53.426Z] 5831b945b038: Download complete [2022-10-25T22:45:53.699Z] d32db5db7311: Pull complete [2022-10-25T22:45:53.972Z] d0c4b47475fc: Pull complete [2022-10-25T22:46:06.313Z] 5831b945b038: Pull complete [2022-10-25T22:46:06.313Z] 86bbec2aaacd: Pull complete [2022-10-25T22:46:06.313Z] e10730c5d714: Pull complete [2022-10-25T22:46:11.675Z] 5dd5c2283517: Pull complete [2022-10-25T22:46:13.627Z] d5ac0230b979: Pull complete [2022-10-25T22:46:13.627Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T22:46:13.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T22:46:13.627Z] ---> 59b3b1a385d4 [2022-10-25T22:46:13.627Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:46:15.042Z] ---> Running in 63485079fd6d [2022-10-25T22:46:15.628Z] Removing intermediate container 63485079fd6d [2022-10-25T22:46:15.628Z] ---> eaee597b193c [2022-10-25T22:46:15.628Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:46:15.628Z] ---> Running in 8c93b190da66 [2022-10-25T22:46:15.897Z] Removing intermediate container 8c93b190da66 [2022-10-25T22:46:15.897Z] ---> bf1577735f19 [2022-10-25T22:46:15.897Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:46:15.897Z] ---> Running in cd1cf1c4d920 [2022-10-25T22:46:16.859Z] Removing intermediate container cd1cf1c4d920 [2022-10-25T22:46:16.859Z] ---> 8b102be6f04b [2022-10-25T22:46:16.859Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:46:16.859Z] ---> Running in 4d9b33538504 [2022-10-25T22:46:17.127Z] Removing intermediate container 4d9b33538504 [2022-10-25T22:46:17.127Z] ---> c1cdd880cfe3 [2022-10-25T22:46:17.127Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-25T22:46:17.127Z] ---> Running in 8d8fd5b8bb7f [2022-10-25T22:46:17.394Z] Removing intermediate container 8d8fd5b8bb7f [2022-10-25T22:46:17.394Z] ---> c8dca012f42f [2022-10-25T22:46:17.394Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:46:17.664Z] ---> Running in 274172f50177 [2022-10-25T22:46:18.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:46:18.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:46:19.859Z] OK: 221 MiB in 51 packages [2022-10-25T22:46:20.449Z] Removing intermediate container 274172f50177 [2022-10-25T22:46:20.449Z] ---> c997e4c572cf [2022-10-25T22:46:20.449Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-25T22:46:20.719Z] ---> Running in 35e2de92fc03 [2022-10-25T22:46:20.986Z] Removing intermediate container 35e2de92fc03 [2022-10-25T22:46:20.986Z] ---> e133a48ea8bd [2022-10-25T22:46:20.986Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T22:46:21.574Z] ---> e8002461d043 [2022-10-25T22:46:21.574Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:46:21.574Z] ---> Running in 6bdf9b935043 [2022-10-25T22:47:17.991Z] Removing intermediate container 6bdf9b935043 [2022-10-25T22:47:17.991Z] ---> 55430573f07c [2022-10-25T22:47:17.991Z] Step 12/13 : COPY . . [2022-10-25T22:47:17.991Z] ---> 42c52a4b8a57 [2022-10-25T22:47:17.991Z] Step 13/13 : RUN ${MAKE} [2022-10-25T22:47:17.991Z] ---> Running in 7bc01473a793 [2022-10-25T22:47:17.991Z] noop [2022-10-25T22:47:17.991Z] Removing intermediate container 7bc01473a793 [2022-10-25T22:47:17.991Z] ---> 481ab3a490c9 [2022-10-25T22:47:17.991Z] Successfully built 481ab3a490c9 [2022-10-25T22:47:17.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:47:18.472Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:47:18.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:47:18.744Z] prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container [2022-10-25T22:47:18.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-25T22:47:19.961Z] $ docker top 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:47:20.841Z] + go version [2022-10-25T22:47:20.841Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T22:47:20.878Z] $ docker stop --time=1 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 [2022-10-25T22:47:22.457Z] $ docker rm -f 1099c62814047e5551358c8ed50ae7b7eae0e6ad2189ef31801e9ba250ef0e18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:47:23.308Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:47:23.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:47:23.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container [2022-10-25T22:47:23.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-10-25T22:47:24.734Z] $ docker top ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:47:25.268Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:47:25.649Z] + make test [2022-10-25T22:47:25.915Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T22:47:27.860Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-25T22:49:04.523Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-25T22:49:04.523Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.197s coverage: 28.2% of statements [2022-10-25T22:49:04.523Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-25T22:49:22.731Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.217s coverage: 86.5% of statements [2022-10-25T22:49:22.731Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T22:49:22.731Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T22:49:49.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T22:49:49.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T22:49:49.418Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T22:49:49.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T22:49:49.492Z] $ docker stop --time=1 ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c [2022-10-25T22:49:52.836Z] $ docker rm -f ba513806e129a750a13af6c5e28c3fb3e9f020e6b7eca6e3d9b71cb617e0ad6c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:49:53.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T22:49:53.986Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T22:49:54.633Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:49:55.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T22:49:55.569Z] + ls -al . [2022-10-25T22:49:55.569Z] total 240 [2022-10-25T22:49:55.569Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:47 . [2022-10-25T22:49:55.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 .. [2022-10-25T22:49:55.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:45 .git [2022-10-25T22:49:55.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:45 .github [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 22:45 .gitignore [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 22:45 .golangci.yml [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 22:45 Attribution.txt [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 22:45 CHANGELOG.md [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 25 22:45 Dockerfile [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:45 GOVERNANCE.md [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 22:45 Jenkinsfile [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 22:45 LICENSE [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 22:45 Makefile [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 22:45 OWNERS.md [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 22:45 README.md [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:43 VERSION [2022-10-25T22:49:55.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:45 bin [2022-10-25T22:49:55.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:45 cmd [2022-10-25T22:49:55.569Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 22:49 coverage.out [2022-10-25T22:49:55.569Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 22:45 doc [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 25 22:45 go.mod [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 25 22:45 go.sum [2022-10-25T22:49:55.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 internal [2022-10-25T22:49:55.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:45 snap [2022-10-25T22:49:55.569Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:49:55.982Z] + 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=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a --label arch=arm64 --label version=0.0.0 . [2022-10-25T22:49:56.574Z] Sending build context to Docker daemon 14.87MB [2022-10-25T22:49:56.840Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:49:56.840Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T22:49:56.840Z] ---> 481ab3a490c9 [2022-10-25T22:49:56.840Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:49:56.840Z] ---> Running in acb29b8ac632 [2022-10-25T22:49:57.107Z] Removing intermediate container acb29b8ac632 [2022-10-25T22:49:57.107Z] ---> 2f2e51dbbb2d [2022-10-25T22:49:57.107Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:49:57.376Z] ---> Running in b6be355c33d7 [2022-10-25T22:49:57.647Z] Removing intermediate container b6be355c33d7 [2022-10-25T22:49:57.647Z] ---> 611ff32e7935 [2022-10-25T22:49:57.647Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:49:57.647Z] ---> Running in 84edd85524a4 [2022-10-25T22:49:57.920Z] Removing intermediate container 84edd85524a4 [2022-10-25T22:49:57.920Z] ---> c8224c655b18 [2022-10-25T22:49:57.920Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:49:57.920Z] ---> Running in b64bdcba347e [2022-10-25T22:49:58.504Z] Removing intermediate container b64bdcba347e [2022-10-25T22:49:58.504Z] ---> b72e8de8626e [2022-10-25T22:49:58.504Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-25T22:49:58.504Z] ---> Running in ad6b29742928 [2022-10-25T22:49:58.773Z] Removing intermediate container ad6b29742928 [2022-10-25T22:49:58.773Z] ---> 3bce54826cdf [2022-10-25T22:49:58.773Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:49:58.773Z] ---> Running in 5269a0760323 [2022-10-25T22:49:59.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:50:00.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:50:01.097Z] OK: 221 MiB in 51 packages [2022-10-25T22:50:02.084Z] Removing intermediate container 5269a0760323 [2022-10-25T22:50:02.084Z] ---> bff4ecb00a17 [2022-10-25T22:50:02.084Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-25T22:50:02.084Z] ---> Running in 60e649875bc9 [2022-10-25T22:50:02.365Z] Removing intermediate container 60e649875bc9 [2022-10-25T22:50:02.365Z] ---> 8bb4c850124b [2022-10-25T22:50:02.365Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T22:50:03.002Z] ---> 1f922207b072 [2022-10-25T22:50:03.002Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:50:03.002Z] ---> Running in 387a9f0fcbce [2022-10-25T22:50:05.619Z] Removing intermediate container 387a9f0fcbce [2022-10-25T22:50:05.619Z] ---> 0b080dc8a0a8 [2022-10-25T22:50:05.619Z] Step 12/26 : COPY . . [2022-10-25T22:50:07.035Z] ---> d7a4f2dd13b5 [2022-10-25T22:50:07.035Z] Step 13/26 : RUN ${MAKE} [2022-10-25T22:50:07.306Z] ---> Running in 53d4f96dd261 [2022-10-25T22:50:08.283Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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.46" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-25T22:52:30.015Z] Removing intermediate container 53d4f96dd261 [2022-10-25T22:52:30.015Z] ---> 0089e2ce4507 [2022-10-25T22:52:30.015Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T22:52:30.967Z] 3.16: Pulling from library/alpine [2022-10-25T22:52:30.967Z] 9b18e9b68314: Already exists [2022-10-25T22:52:31.233Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T22:52:31.233Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T22:52:31.233Z] ---> a6215f271958 [2022-10-25T22:52:31.233Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-25T22:52:31.233Z] ---> Running in c361793d46fc [2022-10-25T22:52:31.498Z] Removing intermediate container c361793d46fc [2022-10-25T22:52:31.498Z] ---> 153567039532 [2022-10-25T22:52:31.498Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T22:52:31.498Z] ---> Running in 60fbf2ee6fdc [2022-10-25T22:52:32.464Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:52:32.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:52:33.693Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T22:52:33.962Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T22:52:33.962Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T22:52:33.962Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T22:52:33.962Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T22:52:33.962Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T22:52:33.962Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:52:33.962Z] OK: 8 MiB in 20 packages [2022-10-25T22:52:34.929Z] Removing intermediate container 60fbf2ee6fdc [2022-10-25T22:52:34.929Z] ---> efa59a7dba5b [2022-10-25T22:52:34.929Z] Step 17/26 : WORKDIR / [2022-10-25T22:52:34.929Z] ---> Running in 3a8cec692be3 [2022-10-25T22:52:35.198Z] Removing intermediate container 3a8cec692be3 [2022-10-25T22:52:35.198Z] ---> 9c54482462b2 [2022-10-25T22:52:35.198Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-25T22:52:36.600Z] ---> 4aeceeb7a43c [2022-10-25T22:52:36.600Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-25T22:52:37.181Z] ---> fcce03fbed01 [2022-10-25T22:52:37.181Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-25T22:52:37.448Z] ---> 57c96b77111c [2022-10-25T22:52:37.448Z] Step 21/26 : EXPOSE 59984 [2022-10-25T22:52:37.715Z] ---> Running in bd4700a82b63 [2022-10-25T22:52:37.982Z] Removing intermediate container bd4700a82b63 [2022-10-25T22:52:37.982Z] ---> 895f3a50bb5e [2022-10-25T22:52:37.982Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-25T22:52:37.982Z] ---> Running in a9ed5a1b3a31 [2022-10-25T22:52:38.252Z] Removing intermediate container a9ed5a1b3a31 [2022-10-25T22:52:38.252Z] ---> 46d9e4e81b47 [2022-10-25T22:52:38.252Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T22:52:38.252Z] ---> Running in 7372f3786180 [2022-10-25T22:52:38.523Z] Removing intermediate container 7372f3786180 [2022-10-25T22:52:38.523Z] ---> 4d1d23bda115 [2022-10-25T22:52:38.523Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T22:52:38.789Z] ---> Running in 0e5123c51c89 [2022-10-25T22:52:39.055Z] Removing intermediate container 0e5123c51c89 [2022-10-25T22:52:39.055Z] ---> 31ae072c64b7 [2022-10-25T22:52:39.055Z] Step 25/26 : LABEL git_sha=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [2022-10-25T22:52:39.055Z] ---> Running in 3ed632edd2a1 [2022-10-25T22:52:39.322Z] Removing intermediate container 3ed632edd2a1 [2022-10-25T22:52:39.322Z] ---> 2985931f308c [2022-10-25T22:52:39.322Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T22:52:39.322Z] ---> Running in 0dcba99741de [2022-10-25T22:52:39.591Z] Removing intermediate container 0dcba99741de [2022-10-25T22:52:39.591Z] ---> b6778837c91d [2022-10-25T22:52:39.591Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T22:52:39.591Z] Successfully built b6778837c91d [2022-10-25T22:52:39.591Z] 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-10-25T22:52:40.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:52:40.385Z] [2022-10-25T22:52:40.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:52:40.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:52:40.782Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T22:52:40.782Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T22:52:40.782Z] 04944245beec: Pulling fs layer [2022-10-25T22:52:40.782Z] 699f458cf7ca: Pulling fs layer [2022-10-25T22:52:40.782Z] 765212b225bb: Pulling fs layer [2022-10-25T22:52:40.782Z] f23df028b6ca: Pulling fs layer [2022-10-25T22:52:40.782Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T22:52:40.782Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T22:52:40.782Z] 765212b225bb: Waiting [2022-10-25T22:52:40.782Z] f23df028b6ca: Waiting [2022-10-25T22:52:40.782Z] d65c8cfc05b1: Waiting [2022-10-25T22:52:40.782Z] 2437ff75d9bd: Waiting [2022-10-25T22:52:41.051Z] 04944245beec: Verifying Checksum [2022-10-25T22:52:41.051Z] 04944245beec: Download complete [2022-10-25T22:52:41.051Z] 765212b225bb: Download complete [2022-10-25T22:52:41.051Z] f23df028b6ca: Download complete [2022-10-25T22:52:41.051Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T22:52:41.052Z] d65c8cfc05b1: Download complete [2022-10-25T22:52:41.334Z] 699f458cf7ca: Verifying Checksum [2022-10-25T22:52:41.334Z] 699f458cf7ca: Download complete [2022-10-25T22:52:41.605Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T22:52:41.605Z] 8998bd30e6a1: Download complete [2022-10-25T22:52:44.196Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T22:52:44.196Z] 2437ff75d9bd: Download complete [2022-10-25T22:52:45.610Z] 8998bd30e6a1: Pull complete [2022-10-25T22:52:45.876Z] 04944245beec: Pull complete [2022-10-25T22:52:47.279Z] 699f458cf7ca: Pull complete [2022-10-25T22:52:47.550Z] 765212b225bb: Pull complete [2022-10-25T22:52:48.136Z] f23df028b6ca: Pull complete [2022-10-25T22:52:48.407Z] d65c8cfc05b1: Pull complete [2022-10-25T22:53:03.393Z] 2437ff75d9bd: Pull complete [2022-10-25T22:53:03.393Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T22:53:03.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:53:03.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:53:03.715Z] prd-ubuntu20.04-docker-arm64-4c-16g-116996 does not seem to be running inside a container [2022-10-25T22:53:03.780Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat [2022-10-25T22:53:06.148Z] $ docker top 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:06.707Z] ---> job-cost.sh [2022-10-25T22:53:06.973Z] lf-activate-venv: SKIPPING [2022-10-25T22:53:06.973Z] INFO: No Stack... [2022-10-25T22:53:07.237Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T22:53:08.190Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T22:53:08.523Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, [2022-10-25T22:53:08.523Z] -f6 [Pipeline] lock [2022-10-25T22:53:08.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [2022-10-25T22:53:08.608Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] did not exist. Created. [2022-10-25T22:53:08.608Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T22:53:09.019Z] /w/workspace/device-onvif-camera/1@tmp/durable-534f3af8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T22:53:09.362Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T22:53:09.398Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T22:53:09.457Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T22:53:09.471Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T22:53:09.549Z] $ docker stop --time=1 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 [2022-10-25T22:53:11.023Z] $ docker rm -f 3060c1c28a511ef665cdae47dbc08e185269ca6e924548b84ffc0bf43f5e7651 [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-10-25T22:53:11.898Z] provisioning config files... [2022-10-25T22:53:11.905Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config13842532159558801969tmp [Pipeline] { [Pipeline] sh [2022-10-25T22:53:12.233Z] + set +x [2022-10-25T22:53:12.233Z] + curl -s https://codecov.io/bash [2022-10-25T22:53:12.233Z] + bash -s -- [2022-10-25T22:53:12.233Z] [2022-10-25T22:53:12.233Z] _____ _ [2022-10-25T22:53:12.233Z] / ____| | | [2022-10-25T22:53:12.233Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T22:53:12.233Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T22:53:12.233Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T22:53:12.233Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T22:53:12.233Z] Bash-1.0.6 [2022-10-25T22:53:12.233Z] [2022-10-25T22:53:12.233Z] [2022-10-25T22:53:12.233Z] ==> git version 2.25.1 found [2022-10-25T22:53:12.233Z] ==> 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-10-25T22:53:12.233Z] Release-Date: 2020-01-08 [2022-10-25T22:53:12.233Z] 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-10-25T22:53:12.233Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T22:53:12.233Z] ==> Jenkins CI detected. [2022-10-25T22:53:12.233Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-187 [2022-10-25T22:53:12.233Z] project root: . [2022-10-25T22:53:12.233Z] --> token set from env [2022-10-25T22:53:12.233Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T22:53:12.233Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T22:53:12.233Z] ==> Python coveragepy not found [2022-10-25T22:53:12.233Z] ==> Searching for coverage reports in: [2022-10-25T22:53:12.233Z] + . [2022-10-25T22:53:12.233Z] -> Found 1 reports [2022-10-25T22:53:12.233Z] ==> Detecting git/mercurial file structure [2022-10-25T22:53:12.233Z] ==> Reading reports [2022-10-25T22:53:12.233Z] + ./coverage.out bytes=78636 [2022-10-25T22:53:12.233Z] ==> Appending adjustments [2022-10-25T22:53:12.233Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T22:53:12.492Z] + Found adjustments [2022-10-25T22:53:12.492Z] ==> Gzipping contents [2022-10-25T22:53:12.492Z] 12K /tmp/codecov.PwpLif.gz [2022-10-25T22:53:12.492Z] ==> Uploading reports [2022-10-25T22:53:12.492Z] url: https://codecov.io [2022-10-25T22:53:12.492Z] query: branch=PR-187&commit=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-25T22:53:12.492Z] -> Pinging Codecov [2022-10-25T22:53:12.492Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-187&commit=9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-25T22:53:13.060Z] -> Uploading to [2022-10-25T22:53:13.060Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a/0fc8eca3-8678-4fcf-b175-3914c9ff6a51.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T225312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e48528280ea515eb94ef5897f122d9f8e0ff6ac1f9d55259e68fa639445a9bc0 [2022-10-25T22:53:13.060Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T22:53:13.060Z] Dload Upload Total Spent Left Speed [2022-10-25T22:53:13.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10816 0 0 100 10816 0 38628 --:--:-- --:--:-- --:--:-- 38628 [2022-10-25T22:53:13.320Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/9513422c8a074e32cd8ae7fdb12c6ef8845b2a7a [Pipeline] } [2022-10-25T22:53:13.347Z] 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-10-25T22:53:14.998Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-187/archives ] [2022-10-25T22:53:14.998Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-25T22:53:14.998Z] total 16 [2022-10-25T22:53:14.998Z] drwxr-xr-x 3 root root 4096 Oct 25 22:45 . [2022-10-25T22:53:14.998Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:45 .. [2022-10-25T22:53:14.998Z] drwxr-xr-x 2 root root 4096 Oct 25 22:45 cost [2022-10-25T22:53:14.998Z] -rw-r--r-- 1 root root 91 Oct 25 22:45 cost.csv [2022-10-25T22:53:14.998Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-25T22:53:14.998Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-25T22:53:14.998Z] total 16 [2022-10-25T22:53:14.998Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:45 . [2022-10-25T22:53:14.998Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 22:45 .. [2022-10-25T22:53:14.998Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:45 cost [2022-10-25T22:53:14.998Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 25 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:15.326Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:16.211Z] ---> package-listing.sh [2022-10-25T22:53:16.211Z] ++ facter osfamily [2022-10-25T22:53:16.211Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T22:53:16.470Z] + OS_FAMILY=debian [2022-10-25T22:53:16.470Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-187 [2022-10-25T22:53:16.470Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T22:53:16.470Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T22:53:16.470Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T22:53:16.470Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T22:53:16.470Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-25T22:53:16.470Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T22:53:16.470Z] + case "${OS_FAMILY}" in [2022-10-25T22:53:16.470Z] + dpkg -l [2022-10-25T22:53:16.470Z] + grep '^ii' [2022-10-25T22:53:16.470Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T22:53:16.470Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T22:53:16.470Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T22:53:16.470Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-25T22:53:16.470Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-187/archives/ [2022-10-25T22:53:16.470Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-187/archives/ [Pipeline] echo [2022-10-25T22:53:16.500Z] 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T22:53:16.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:53:17.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:53:17.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:53:17.537Z] prd-ubuntu20.04-docker-8c-8g-116995 does not seem to be running inside a container [2022-10-25T22:53:17.553Z] $ 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-187/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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T22:53:17.758Z] $ docker top c35b619281bb1ab00e6f71991819c816f1a65be9e8a0cec0decf20fa0434d5fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:53:18.160Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T22:53:18.465Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T22:53:18.772Z] + ls /var/log/sa-host [2022-10-25T22:53:18.772Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:53:18.899Z] provisioning config files... [2022-10-25T22:53:18.907Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config15205430646347889453tmp [Pipeline] { [Pipeline] echo [2022-10-25T22:53:18.953Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:19.266Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T22:53:19.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:19.697Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T22:53:19.730Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:20.037Z] ---> sudo-logs.sh [2022-10-25T22:53:20.037Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T22:53:20.122Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:20.433Z] ---> job-cost.sh [2022-10-25T22:53:20.433Z] lf-activate-venv: SKIPPING [2022-10-25T22:53:20.433Z] DEBUG: total: 0.2199999988079071 [2022-10-25T22:53:20.433Z] INFO: Retrieving Stack Cost... [2022-10-25T22:53:20.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T22:53:21.258Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T22:53:21.318Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:53:21.622Z] ---> logs-deploy.sh [2022-10-25T22:53:21.622Z] lf-activate-venv: SKIPPING [2022-10-25T22:53:21.622Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-187/1 [2022-10-25T22:53:21.622Z] INFO: archiving workspace using pattern(s): [2022-10-25T22:53:22.557Z] Archives upload complete. [2022-10-25T22:53:22.816Z] INFO: archiving logs to Nexus [2022-10-25T22:53:23.385Z] ---> uname -a: [2022-10-25T22:53:23.385Z] Linux prd-ubuntu20-04-docker-8c-8g-116995 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T22:53:23.385Z] [2022-10-25T22:53:23.385Z]