Pull request #164 updated 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 09e68456677e29f0efc0f70ff4b2aa36e54dd0db+eff61ece5709928a9f31d9a775fc6c989cb12ea4 (c3f5ce2de3153c1ab452c4e9cd1b598ae4a11806) 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-ssh9207801890528202290.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh1820386222729518947.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11112986084060428725.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6443162207661637374.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh276920526371442551.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 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 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 Running on prd-ubuntu20.04-docker-8c-8g-1858 in /w/workspace/undry_device-onvif-camera_PR-164 [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-164 # 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eff61ece5709928a9f31d9a775fc6c989cb12ea4 into PR head commit 09e68456677e29f0efc0f70ff4b2aa36e54dd0db Merge succeeded, producing 09e68456677e29f0efc0f70ff4b2aa36e54dd0db Checking out Revision 09e68456677e29f0efc0f70ff4b2aa36e54dd0db (PR-164) > git config core.sparsecheckout # timeout=10 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # 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 eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-28T20:26:44.194Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-28T20:26:44.249Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-28T20:26:44.266Z] ========================================================= [2022-09-28T20:26:44.266Z] EdgeX Global Pipelines Version Info [2022-09-28T20:26:44.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:26:44.995Z] ------------------- [2022-09-28T20:26:44.995Z] stable info: [2022-09-28T20:26:44.995Z] ------------------- [2022-09-28T20:26:44.995Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-28T20:26:44.995Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T20:26:44.995Z] Message: update stable to v1.0.239 > git rev-list --no-walk 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 [2022-09-28T20:26:45.567Z] ------------------- [2022-09-28T20:26:45.567Z] experimental info: [2022-09-28T20:26:45.567Z] ------------------- [2022-09-28T20:26:45.567Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-28T20:26:45.567Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-28T20:26:45.567Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-28T20:26:45.730Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-28T20:26:45.745Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-28T20:26:45.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-28T20:26:45.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-28T20:26:45.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-28T20:26:45.795Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-28T20:26:45.809Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-28T20:26:45.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-28T20:26:45.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-28T20:26:45.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-28T20:26:45.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-28T20:26:45.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-28T20:26:45.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-28T20:26:45.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-28T20:26:45.913Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T20:26:45.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-28T20:26:45.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T20:26:45.950Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-28T20:26:45.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-28T20:26:45.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-28T20:26:45.998Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-28T20:26:46.007Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-28T20:26:46.020Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-28T20:26:46.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-28T20:26:46.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-28T20:26:46.055Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-28T20:26:46.066Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-28T20:26:46.080Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo [2022-09-28T20:26:46.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo [2022-09-28T20:26:46.108Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo [2022-09-28T20:26:46.121Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo [2022-09-28T20:26:46.137Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09e6845 [Pipeline] echo [2022-09-28T20:26:46.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T20:26:46.206Z] provisioning config files... [2022-09-28T20:26:46.219Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config4217995156514624847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:26:46.520Z] ---> docker-login.sh [2022-09-28T20:26:46.520Z] nexus3.edgexfoundry.org:10001 [2022-09-28T20:26:46.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:26:47.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:26:47.041Z] Configure a credential helper to remove this warning. See [2022-09-28T20:26:47.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:26:47.041Z] [2022-09-28T20:26:47.041Z] Login Succeeded [2022-09-28T20:26:47.041Z] nexus3.edgexfoundry.org:10002 [2022-09-28T20:26:47.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:26:47.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:26:47.041Z] Configure a credential helper to remove this warning. See [2022-09-28T20:26:47.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:26:47.041Z] [2022-09-28T20:26:47.041Z] Login Succeeded [2022-09-28T20:26:47.041Z] nexus3.edgexfoundry.org:10003 [2022-09-28T20:26:47.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:26:47.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:26:47.302Z] Configure a credential helper to remove this warning. See [2022-09-28T20:26:47.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:26:47.302Z] [2022-09-28T20:26:47.302Z] Login Succeeded [2022-09-28T20:26:47.302Z] nexus3.edgexfoundry.org:10004 [2022-09-28T20:26:47.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:26:47.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:26:47.302Z] Configure a credential helper to remove this warning. See [2022-09-28T20:26:47.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:26:47.302Z] [2022-09-28T20:26:47.302Z] Login Succeeded [2022-09-28T20:26:47.302Z] docker.io [2022-09-28T20:26:47.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:26:47.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:26:47.824Z] Configure a credential helper to remove this warning. See [2022-09-28T20:26:47.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:26:47.824Z] [2022-09-28T20:26:47.824Z] Login Succeeded [2022-09-28T20:26:47.824Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T20:26:47.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-28T20:26:48.220Z] + git rev-list -1 --merges 09e68456677e29f0efc0f70ff4b2aa36e54dd0db~1..09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo [2022-09-28T20:26:48.258Z] -----------> git rev-list -1 --merges 09e68456677e29f0efc0f70ff4b2aa36e54dd0db~1..09e68456677e29f0efc0f70ff4b2aa36e54dd0db 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [false] [Pipeline] sh [2022-09-28T20:26:48.551Z] + git log --format=format:%s -1 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo [2022-09-28T20:26:48.567Z] ========================================================= [2022-09-28T20:26:48.567Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-28T20:26:48.567Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T20:26:48.892Z] + git log --format=format:%s -1 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo [2022-09-28T20:26:48.905Z] [semverPrep] GIT_COMMIT: 09e68456677e29f0efc0f70ff4b2aa36e54dd0db, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-28T20:26:48.916Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-28T20:26:49.298Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-28T20:26:49.298Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-28T20:26:49.298Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-28T20:26:49.298Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-28T20:26:49.298Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-28T20:26:49.298Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-28T20:26:49.298Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:26:49.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T20:26:49.738Z] [2022-09-28T20:26:49.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:26:50.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T20:26:50.042Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-28T20:26:50.042Z] b85a868b505f: Pulling fs layer [2022-09-28T20:26:50.042Z] e2be974225ed: Pulling fs layer [2022-09-28T20:26:50.042Z] 339a4e72a1f5: Pulling fs layer [2022-09-28T20:26:50.042Z] 988bab9f4d93: Pulling fs layer [2022-09-28T20:26:50.042Z] 1469e6f7b9e6: Pulling fs layer [2022-09-28T20:26:50.042Z] eaf3925da568: Pulling fs layer [2022-09-28T20:26:50.042Z] bab4dde63d76: Pulling fs layer [2022-09-28T20:26:50.042Z] bde34c3a00c8: Pulling fs layer [2022-09-28T20:26:50.042Z] b352a97aabf1: Pulling fs layer [2022-09-28T20:26:50.042Z] 4872d77fe225: Pulling fs layer [2022-09-28T20:26:50.042Z] 5851b861e8e6: Pulling fs layer [2022-09-28T20:26:50.042Z] 988bab9f4d93: Waiting [2022-09-28T20:26:50.042Z] 1469e6f7b9e6: Waiting [2022-09-28T20:26:50.042Z] eaf3925da568: Waiting [2022-09-28T20:26:50.042Z] bab4dde63d76: Waiting [2022-09-28T20:26:50.042Z] bde34c3a00c8: Waiting [2022-09-28T20:26:50.042Z] b352a97aabf1: Waiting [2022-09-28T20:26:50.042Z] 4872d77fe225: Waiting [2022-09-28T20:26:50.042Z] 5851b861e8e6: Waiting [2022-09-28T20:26:50.042Z] e2be974225ed: Verifying Checksum [2022-09-28T20:26:50.042Z] e2be974225ed: Download complete [2022-09-28T20:26:50.042Z] 988bab9f4d93: Verifying Checksum [2022-09-28T20:26:50.042Z] 988bab9f4d93: Download complete [2022-09-28T20:26:50.303Z] 1469e6f7b9e6: Verifying Checksum [2022-09-28T20:26:50.303Z] 1469e6f7b9e6: Download complete [2022-09-28T20:26:50.303Z] eaf3925da568: Verifying Checksum [2022-09-28T20:26:50.303Z] eaf3925da568: Download complete [2022-09-28T20:26:50.303Z] 339a4e72a1f5: Verifying Checksum [2022-09-28T20:26:50.303Z] 339a4e72a1f5: Download complete [2022-09-28T20:26:50.303Z] bde34c3a00c8: Verifying Checksum [2022-09-28T20:26:50.303Z] bde34c3a00c8: Download complete [2022-09-28T20:26:50.303Z] b352a97aabf1: Verifying Checksum [2022-09-28T20:26:50.303Z] b352a97aabf1: Download complete [2022-09-28T20:26:50.303Z] 4872d77fe225: Verifying Checksum [2022-09-28T20:26:50.303Z] 4872d77fe225: Download complete [2022-09-28T20:26:50.303Z] 5851b861e8e6: Verifying Checksum [2022-09-28T20:26:50.303Z] 5851b861e8e6: Download complete [2022-09-28T20:26:50.303Z] b85a868b505f: Verifying Checksum [2022-09-28T20:26:50.303Z] b85a868b505f: Download complete [2022-09-28T20:26:50.562Z] bab4dde63d76: Verifying Checksum [2022-09-28T20:26:50.563Z] bab4dde63d76: Download complete [2022-09-28T20:26:51.501Z] b85a868b505f: Pull complete [2022-09-28T20:26:51.760Z] e2be974225ed: Pull complete [2022-09-28T20:26:52.330Z] 339a4e72a1f5: Pull complete [2022-09-28T20:26:52.330Z] 988bab9f4d93: Pull complete [2022-09-28T20:26:52.589Z] 1469e6f7b9e6: Pull complete [2022-09-28T20:26:52.589Z] eaf3925da568: Pull complete [2022-09-28T20:26:54.495Z] bab4dde63d76: Pull complete [2022-09-28T20:26:54.495Z] bde34c3a00c8: Pull complete [2022-09-28T20:26:54.756Z] b352a97aabf1: Pull complete [2022-09-28T20:26:54.756Z] 4872d77fe225: Pull complete [2022-09-28T20:26:54.756Z] 5851b861e8e6: Pull complete [2022-09-28T20:26:54.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-28T20:26:54.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-28T20:26:54.756Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:26:54.844Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2022-09-28T20:26:54.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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-devops/py-git-semver:0.1.4 cat [2022-09-28T20:26:56.397Z] $ docker top 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 -eo pid,comm [2022-09-28T20:26:56.454Z] 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-09-28T20:26:56.454Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-28T20:26:56.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T20:26:56.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T20:26:56.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T20:26:56.611Z] $ docker exec 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent [2022-09-28T20:26:56.710Z] SSH_AUTH_SOCK=/tmp/ssh-5gNqsZq1z5vr/agent.32 [2022-09-28T20:26:56.710Z] SSH_AGENT_PID=38 [2022-09-28T20:26:56.717Z] Running ssh-add (command line suppressed) [2022-09-28T20:26:56.826Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_12377883361758362134.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_12377883361758362134.key) [2022-09-28T20:26:56.838Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T20:26:57.119Z] + git tag --points-at HEAD [Pipeline] } [2022-09-28T20:26:57.133Z] $ docker exec --env ******** --env ******** 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent -k [2022-09-28T20:26:57.234Z] unset SSH_AUTH_SOCK; [2022-09-28T20:26:57.235Z] unset SSH_AGENT_PID; [2022-09-28T20:26:57.235Z] echo Agent pid 38 killed; [2022-09-28T20:26:57.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-28T20:26:57.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-28T20:26:57.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-28T20:26:57.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-28T20:26:57.390Z] $ docker exec 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent [2022-09-28T20:26:57.507Z] SSH_AUTH_SOCK=/tmp/ssh-wUcjFFCOnpKe/agent.70 [2022-09-28T20:26:57.507Z] SSH_AGENT_PID=76 [2022-09-28T20:26:57.512Z] Running ssh-add (command line suppressed) [2022-09-28T20:26:57.618Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_6808574540003054005.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_6808574540003054005.key) [2022-09-28T20:26:57.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-28T20:26:57.980Z] + git semver init [2022-09-28T20:26:58.238Z] 2022-09-28 20:26:58,138 [run_init] DEBUG init version:0.0.0 force:False [2022-09-28T20:26:58.238Z] 2022-09-28 20:26:58,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-164/.semver [2022-09-28T20:26:58.238Z] 2022-09-28 20:26:58,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-164/.semver [2022-09-28T20:26:58.238Z] 2022-09-28 20:26:58,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-164/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-164, universal_newlines=False, shell=None, istream=None) [2022-09-28T20:26:59.176Z] 2022-09-28 20:26:59,123 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-164/.git/info/exclude [2022-09-28T20:26:59.176Z] 2022-09-28 20:26:59,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 with force:False [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,123 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,128 [execute] INFO git cat-file --batch-check [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,134 [execute] INFO git cat-file --batch [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2022-09-28T20:26:59.177Z] 2022-09-28 20:26:59,140 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 [2022-09-28T20:26:59.177Z] 0.0.0 [Pipeline] } [2022-09-28T20:26:59.189Z] $ docker exec --env ******** --env ******** 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent -k [2022-09-28T20:26:59.295Z] unset SSH_AUTH_SOCK; [2022-09-28T20:26:59.295Z] unset SSH_AGENT_PID; [2022-09-28T20:26:59.295Z] echo Agent pid 76 killed; [2022-09-28T20:26:59.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-28T20:26:59.600Z] + git semver [Pipeline] } [2022-09-28T20:26:59.876Z] $ docker stop --time=1 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 [2022-09-28T20:27:01.258Z] $ docker rm -f 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T20:27:01.604Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-28T20:27:01.771Z] Stashed 1 file(s) [Pipeline] echo [2022-09-28T20:27:01.773Z] [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-09-28T20:27:01.864Z] provisioning config files... [2022-09-28T20:27:01.873Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config16287169059349735700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:27:02.169Z] ---> docker-login.sh [2022-09-28T20:27:02.170Z] nexus3.edgexfoundry.org:10001 [2022-09-28T20:27:02.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:27:02.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:27:02.170Z] Configure a credential helper to remove this warning. See [2022-09-28T20:27:02.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:27:02.170Z] [2022-09-28T20:27:02.170Z] Login Succeeded [2022-09-28T20:27:02.170Z] nexus3.edgexfoundry.org:10002 [2022-09-28T20:27:02.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:27:02.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:27:02.170Z] Configure a credential helper to remove this warning. See [2022-09-28T20:27:02.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:27:02.170Z] [2022-09-28T20:27:02.170Z] Login Succeeded [2022-09-28T20:27:02.170Z] nexus3.edgexfoundry.org:10003 [2022-09-28T20:27:02.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:27:02.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:27:02.429Z] Configure a credential helper to remove this warning. See [2022-09-28T20:27:02.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:27:02.429Z] [2022-09-28T20:27:02.429Z] Login Succeeded [2022-09-28T20:27:02.429Z] nexus3.edgexfoundry.org:10004 [2022-09-28T20:27:02.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:27:02.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:27:02.429Z] Configure a credential helper to remove this warning. See [2022-09-28T20:27:02.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:27:02.429Z] [2022-09-28T20:27:02.429Z] Login Succeeded [2022-09-28T20:27:02.429Z] docker.io [2022-09-28T20:27:02.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:27:02.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:27:02.948Z] Configure a credential helper to remove this warning. See [2022-09-28T20:27:02.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:27:02.948Z] [2022-09-28T20:27:02.948Z] Login Succeeded [2022-09-28T20:27:02.948Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T20:27:02.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T20:27:03.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T20:27:03.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T20:27:03.030Z] ========================================================= [2022-09-28T20:27:03.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-28T20:27:03.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:27:03.359Z] + 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-09-28T20:27:03.359Z] Sending build context to Docker daemon 20.77MB [2022-09-28T20:27:03.359Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T20:27:03.359Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-28T20:27:03.618Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-28T20:27:03.618Z] 2408cc74d12b: Pulling fs layer [2022-09-28T20:27:03.618Z] ea60b727a1ce: Pulling fs layer [2022-09-28T20:27:03.618Z] 30c4a7721957: Pulling fs layer [2022-09-28T20:27:03.618Z] 370296b7ddb6: Pulling fs layer [2022-09-28T20:27:03.618Z] 7c6cee850709: Pulling fs layer [2022-09-28T20:27:03.618Z] 39a5fcdaea64: Pulling fs layer [2022-09-28T20:27:03.618Z] d94ebbe4e438: Pulling fs layer [2022-09-28T20:27:03.618Z] bcfd1f05c69d: Pulling fs layer [2022-09-28T20:27:03.618Z] 59ccb84bbe0f: Pulling fs layer [2022-09-28T20:27:03.618Z] bcfd1f05c69d: Waiting [2022-09-28T20:27:03.618Z] 39a5fcdaea64: Waiting [2022-09-28T20:27:03.618Z] 59ccb84bbe0f: Waiting [2022-09-28T20:27:03.618Z] d94ebbe4e438: Waiting [2022-09-28T20:27:03.618Z] 370296b7ddb6: Waiting [2022-09-28T20:27:03.618Z] 7c6cee850709: Waiting [2022-09-28T20:27:03.618Z] 30c4a7721957: Download complete [2022-09-28T20:27:03.618Z] ea60b727a1ce: Verifying Checksum [2022-09-28T20:27:03.618Z] ea60b727a1ce: Download complete [2022-09-28T20:27:03.618Z] 7c6cee850709: Download complete [2022-09-28T20:27:03.618Z] 39a5fcdaea64: Verifying Checksum [2022-09-28T20:27:03.618Z] 39a5fcdaea64: Download complete [2022-09-28T20:27:03.618Z] 2408cc74d12b: Verifying Checksum [2022-09-28T20:27:03.618Z] 2408cc74d12b: Download complete [2022-09-28T20:27:03.618Z] d94ebbe4e438: Download complete [2022-09-28T20:27:03.618Z] 2408cc74d12b: Pull complete [2022-09-28T20:27:03.881Z] ea60b727a1ce: Pull complete [2022-09-28T20:27:03.881Z] 30c4a7721957: Pull complete [2022-09-28T20:27:04.142Z] 59ccb84bbe0f: Verifying Checksum [2022-09-28T20:27:04.142Z] 59ccb84bbe0f: Download complete [2022-09-28T20:27:04.142Z] bcfd1f05c69d: Verifying Checksum [2022-09-28T20:27:04.142Z] bcfd1f05c69d: Download complete [2022-09-28T20:27:04.399Z] 370296b7ddb6: Verifying Checksum [2022-09-28T20:27:04.399Z] 370296b7ddb6: Download complete [2022-09-28T20:27:08.582Z] 370296b7ddb6: Pull complete [2022-09-28T20:27:08.582Z] 7c6cee850709: Pull complete [2022-09-28T20:27:08.582Z] 39a5fcdaea64: Pull complete [2022-09-28T20:27:08.582Z] d94ebbe4e438: Pull complete [2022-09-28T20:27:10.483Z] bcfd1f05c69d: Pull complete [2022-09-28T20:27:11.419Z] 59ccb84bbe0f: Pull complete [2022-09-28T20:27:11.419Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-28T20:27:11.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-28T20:27:11.419Z] ---> a4fb48ad2a94 [2022-09-28T20:27:11.419Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-28T20:27:13.343Z] ---> Running in 7a76427adf25 [2022-09-28T20:27:13.343Z] Removing intermediate container 7a76427adf25 [2022-09-28T20:27:13.343Z] ---> 6a808e1b4ba1 [2022-09-28T20:27:13.343Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-28T20:27:13.343Z] ---> Running in 9d25d6cfdf5d [2022-09-28T20:27:13.343Z] Removing intermediate container 9d25d6cfdf5d [2022-09-28T20:27:13.343Z] ---> c2689503556c [2022-09-28T20:27:13.343Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T20:27:13.343Z] ---> Running in 7fefbada624c [2022-09-28T20:27:13.343Z] Removing intermediate container 7fefbada624c [2022-09-28T20:27:13.343Z] ---> 3f3d9a2228bf [2022-09-28T20:27:13.343Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T20:27:13.605Z] ---> Running in a8f540760e47 [2022-09-28T20:27:13.605Z] Removing intermediate container a8f540760e47 [2022-09-28T20:27:13.605Z] ---> 8d24f72f8882 [2022-09-28T20:27:13.605Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-28T20:27:13.605Z] ---> Running in 7d2e80f11e3f [2022-09-28T20:27:13.864Z] Removing intermediate container 7d2e80f11e3f [2022-09-28T20:27:13.864Z] ---> e5cb1c85cae4 [2022-09-28T20:27:13.864Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T20:27:13.864Z] ---> Running in 17e506be504d [2022-09-28T20:27:14.432Z] Removing intermediate container 17e506be504d [2022-09-28T20:27:14.432Z] ---> 7eda930318da [2022-09-28T20:27:14.432Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T20:27:14.432Z] ---> Running in 085b01a195a8 [2022-09-28T20:27:14.691Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T20:27:15.628Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T20:27:15.887Z] OK: 211 MiB in 51 packages [2022-09-28T20:27:16.459Z] Removing intermediate container 085b01a195a8 [2022-09-28T20:27:16.459Z] ---> 11f1e9618d42 [2022-09-28T20:27:16.459Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-28T20:27:16.459Z] ---> Running in 5a7037d12cfb [2022-09-28T20:27:16.459Z] Removing intermediate container 5a7037d12cfb [2022-09-28T20:27:16.459Z] ---> b0f123b8a294 [2022-09-28T20:27:16.459Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-28T20:27:16.459Z] ---> f969afe492cb [2022-09-28T20:27:16.459Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T20:27:16.718Z] ---> Running in 3b75fb2ceafb [2022-09-28T20:27:16.839Z] Still waiting to schedule task [2022-09-28T20:27:16.839Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-28T20:27:38.662Z] Removing intermediate container 3b75fb2ceafb [2022-09-28T20:27:38.662Z] ---> 265fae760235 [2022-09-28T20:27:38.662Z] Step 13/14 : COPY . . [2022-09-28T20:27:38.662Z] ---> 79af191901a9 [2022-09-28T20:27:38.662Z] Step 14/14 : RUN ${MAKE} [2022-09-28T20:27:38.662Z] ---> Running in 6f6943c61270 [2022-09-28T20:27:38.662Z] noop [2022-09-28T20:27:38.662Z] Removing intermediate container 6f6943c61270 [2022-09-28T20:27:38.662Z] ---> a21710674b77 [2022-09-28T20:27:38.662Z] Successfully built a21710674b77 [2022-09-28T20:27:38.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:27:38.974Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T20:27:38.974Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:27:39.049Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2022-09-28T20:27:39.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T20:27:39.468Z] $ docker top 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T20:27:39.813Z] + go version [2022-09-28T20:27:39.813Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-28T20:27:39.827Z] $ docker stop --time=1 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa [2022-09-28T20:27:41.165Z] $ docker rm -f 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:27:41.566Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-28T20:27:41.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:27:41.637Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2022-09-28T20:27:41.669Z] $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-28T20:27:42.030Z] $ docker top 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T20:27:42.371Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] fileExists [Pipeline] sh [2022-09-28T20:27:42.662Z] + make test [2022-09-28T20:27:42.662Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T20:27:43.228Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T20:27:55.425Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T20:27:55.425Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.2% of statements [2022-09-28T20:27:55.425Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T20:27:55.425Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.458s coverage: 86.5% of statements [2022-09-28T20:28:03.545Z] 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-09-28T20:28:03.545Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T20:28:07.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T20:28:07.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T20:28:07.724Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T20:28:07.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T20:28:07.748Z] $ docker stop --time=1 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 [2022-09-28T20:28:09.466Z] $ docker rm -f 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T20:28:09.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T20:28:09.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-28T20:28:10.452Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T20:28:10.735Z] + ls -al . [2022-09-28T20:28:10.735Z] total 236 [2022-09-28T20:28:10.735Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 20:27 . [2022-09-28T20:28:10.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 .. [2022-09-28T20:28:10.735Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 20:27 .git [2022-09-28T20:28:10.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:26 .github [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 20:26 .gitignore [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 20:26 .golangci.yml [2022-09-28T20:28:10.735Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 20:26 .semver [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 20:26 Attribution.txt [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 20:26 CHANGELOG.md [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 20:26 Dockerfile [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 20:26 GOVERNANCE.md [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 20:26 Jenkinsfile [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 20:26 LICENSE [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 20:26 Makefile [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 20:26 OWNERS.md [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 20:26 README.md [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 20:27 VERSION [2022-09-28T20:28:10.735Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 20:26 bin [2022-09-28T20:28:10.735Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:26 cmd [2022-09-28T20:28:10.735Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 20:27 coverage.out [2022-09-28T20:28:10.735Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 20:26 doc [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 20:26 go.mod [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 20:26 go.sum [2022-09-28T20:28:10.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 internal [2022-09-28T20:28:10.735Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 snap [2022-09-28T20:28:10.735Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:28:11.035Z] + 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=09e68456677e29f0efc0f70ff4b2aa36e54dd0db --label arch=amd64 --label version=0.0.0 . [2022-09-28T20:28:11.035Z] Sending build context to Docker daemon 20.84MB [2022-09-28T20:28:11.035Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T20:28:11.035Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-28T20:28:11.035Z] ---> a21710674b77 [2022-09-28T20:28:11.035Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-09-28T20:28:11.035Z] ---> Running in 2816fa9b4a25 [2022-09-28T20:28:11.294Z] Removing intermediate container 2816fa9b4a25 [2022-09-28T20:28:11.294Z] ---> 97ad0dcd218f [2022-09-28T20:28:11.294Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-28T20:28:11.294Z] ---> Running in 61f83db02af6 [2022-09-28T20:28:11.294Z] Removing intermediate container 61f83db02af6 [2022-09-28T20:28:11.294Z] ---> 7afab57f7cf3 [2022-09-28T20:28:11.294Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T20:28:11.294Z] ---> Running in 1bb587cfea89 [2022-09-28T20:28:11.552Z] Removing intermediate container 1bb587cfea89 [2022-09-28T20:28:11.552Z] ---> c19b09e6db1e [2022-09-28T20:28:11.552Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T20:28:11.552Z] ---> Running in c53fea794729 [2022-09-28T20:28:11.552Z] Removing intermediate container c53fea794729 [2022-09-28T20:28:11.552Z] ---> c43f3a1df048 [2022-09-28T20:28:11.552Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-09-28T20:28:11.552Z] ---> Running in a09afbfe4215 [2022-09-28T20:28:11.552Z] Removing intermediate container a09afbfe4215 [2022-09-28T20:28:11.552Z] ---> 5849f718cc8d [2022-09-28T20:28:11.552Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T20:28:11.811Z] ---> Running in ce84aa026943 [2022-09-28T20:28:12.378Z] Removing intermediate container ce84aa026943 [2022-09-28T20:28:12.378Z] ---> e4de86b7352b [2022-09-28T20:28:12.378Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T20:28:12.378Z] ---> Running in 3e2010c6cc0d [2022-09-28T20:28:12.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T20:28:13.215Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T20:28:13.783Z] OK: 211 MiB in 51 packages [2022-09-28T20:28:14.042Z] Removing intermediate container 3e2010c6cc0d [2022-09-28T20:28:14.042Z] ---> 682ffd497baf [2022-09-28T20:28:14.042Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-09-28T20:28:14.042Z] ---> Running in c9bcc0ce3ffd [2022-09-28T20:28:14.042Z] Removing intermediate container c9bcc0ce3ffd [2022-09-28T20:28:14.042Z] ---> 4a4de2c2bece [2022-09-28T20:28:14.042Z] Step 11/27 : COPY go.mod vendor* ./ [2022-09-28T20:28:14.301Z] ---> 8034489ae30a [2022-09-28T20:28:14.301Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T20:28:14.301Z] ---> Running in 0897f8a0e441 [2022-09-28T20:28:14.872Z] Removing intermediate container 0897f8a0e441 [2022-09-28T20:28:14.872Z] ---> da99b305db3b [2022-09-28T20:28:14.872Z] Step 13/27 : COPY . . [2022-09-28T20:28:15.438Z] ---> e4b5dee00423 [2022-09-28T20:28:15.438Z] Step 14/27 : RUN ${MAKE} [2022-09-28T20:28:15.438Z] ---> Running in f247ce62229a [2022-09-28T20:28:15.695Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T20:28:37.607Z] Removing intermediate container f247ce62229a [2022-09-28T20:28:37.607Z] ---> 5b19c156f40b [2022-09-28T20:28:37.607Z] Step 15/27 : FROM alpine:3.16 [2022-09-28T20:28:37.607Z] 3.16: Pulling from library/alpine [2022-09-28T20:28:37.607Z] 213ec9aee27d: Pulling fs layer [2022-09-28T20:28:37.607Z] 213ec9aee27d: Verifying Checksum [2022-09-28T20:28:37.607Z] 213ec9aee27d: Download complete [2022-09-28T20:28:37.607Z] 213ec9aee27d: Pull complete [2022-09-28T20:28:37.607Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T20:28:37.607Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T20:28:37.607Z] ---> 9c6f07244728 [2022-09-28T20:28:37.607Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T20:28:37.607Z] ---> Running in d3a9ad9a569b [2022-09-28T20:28:37.607Z] Removing intermediate container d3a9ad9a569b [2022-09-28T20:28:37.607Z] ---> ed2125bcf1c0 [2022-09-28T20:28:37.607Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-28T20:28:37.607Z] ---> Running in d2e987c5ffb9 [2022-09-28T20:28:37.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-28T20:28:37.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-28T20:28:37.865Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-28T20:28:37.865Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T20:28:37.865Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-28T20:28:37.865Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T20:28:37.865Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-28T20:28:37.865Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-28T20:28:37.865Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T20:28:37.865Z] OK: 8 MiB in 20 packages [2022-09-28T20:28:38.432Z] Removing intermediate container d2e987c5ffb9 [2022-09-28T20:28:38.432Z] ---> 6260109f2a2e [2022-09-28T20:28:38.432Z] Step 18/27 : WORKDIR / [2022-09-28T20:28:38.432Z] ---> Running in 659109dd4b7f [2022-09-28T20:28:38.432Z] Removing intermediate container 659109dd4b7f [2022-09-28T20:28:38.432Z] ---> dfd2fea1e5ef [2022-09-28T20:28:38.432Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T20:28:38.997Z] ---> 00f483c7890e [2022-09-28T20:28:38.997Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T20:28:38.997Z] ---> 8de83f7854ca [2022-09-28T20:28:38.997Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T20:28:39.255Z] ---> ee2fe68016a0 [2022-09-28T20:28:39.255Z] Step 22/27 : EXPOSE 59984 [2022-09-28T20:28:39.255Z] ---> Running in 1bcbf26ca382 [2022-09-28T20:28:39.255Z] Removing intermediate container 1bcbf26ca382 [2022-09-28T20:28:39.255Z] ---> 1890578f3535 [2022-09-28T20:28:39.255Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T20:28:39.255Z] ---> Running in ac5e8c9e6f39 [2022-09-28T20:28:39.513Z] Removing intermediate container ac5e8c9e6f39 [2022-09-28T20:28:39.513Z] ---> 0e91ea9510dc [2022-09-28T20:28:39.513Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T20:28:39.513Z] ---> Running in 6972feab73de [2022-09-28T20:28:39.513Z] Removing intermediate container 6972feab73de [2022-09-28T20:28:39.513Z] ---> f75802341b4c [2022-09-28T20:28:39.513Z] Step 25/27 : LABEL arch=amd64 [2022-09-28T20:28:39.513Z] ---> Running in 26c0c00817e8 [2022-09-28T20:28:39.513Z] Removing intermediate container 26c0c00817e8 [2022-09-28T20:28:39.513Z] ---> 5855d5cb533b [2022-09-28T20:28:39.513Z] Step 26/27 : LABEL git_sha=09e68456677e29f0efc0f70ff4b2aa36e54dd0db [2022-09-28T20:28:39.513Z] ---> Running in 698ceb30fb4e [2022-09-28T20:28:39.780Z] Removing intermediate container 698ceb30fb4e [2022-09-28T20:28:39.780Z] ---> c7455ef6dec2 [2022-09-28T20:28:39.780Z] Step 27/27 : LABEL version=0.0.0 [2022-09-28T20:28:39.780Z] ---> Running in 8034d2a8117a [2022-09-28T20:28:39.780Z] Removing intermediate container 8034d2a8117a [2022-09-28T20:28:39.780Z] ---> ce2dad059d04 [2022-09-28T20:28:39.780Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T20:28:39.780Z] Successfully built ce2dad059d04 [2022-09-28T20:28:39.780Z] 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-09-28T20:28:40.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T20:28:40.200Z] [2022-09-28T20:28:40.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:28:40.495Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T20:28:40.495Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-28T20:28:40.495Z] 5eb5b503b376: Pulling fs layer [2022-09-28T20:28:40.495Z] 5c69ac0246d0: Pulling fs layer [2022-09-28T20:28:40.495Z] ec43610c2a17: Pulling fs layer [2022-09-28T20:28:40.495Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-28T20:28:40.495Z] 33b1e0a273af: Pulling fs layer [2022-09-28T20:28:40.495Z] 5d3b04190fa2: Pulling fs layer [2022-09-28T20:28:40.495Z] 2f39f015ded8: Pulling fs layer [2022-09-28T20:28:40.495Z] 3a2ae6a8a46f: Waiting [2022-09-28T20:28:40.495Z] 33b1e0a273af: Waiting [2022-09-28T20:28:40.495Z] 5d3b04190fa2: Waiting [2022-09-28T20:28:40.495Z] 2f39f015ded8: Waiting [2022-09-28T20:28:40.495Z] 5c69ac0246d0: Verifying Checksum [2022-09-28T20:28:40.495Z] 5c69ac0246d0: Download complete [2022-09-28T20:28:40.495Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-28T20:28:40.495Z] 3a2ae6a8a46f: Download complete [2022-09-28T20:28:40.495Z] 33b1e0a273af: Verifying Checksum [2022-09-28T20:28:40.495Z] 33b1e0a273af: Download complete [2022-09-28T20:28:40.495Z] ec43610c2a17: Verifying Checksum [2022-09-28T20:28:40.495Z] ec43610c2a17: Download complete [2022-09-28T20:28:40.755Z] 5d3b04190fa2: Verifying Checksum [2022-09-28T20:28:40.755Z] 5d3b04190fa2: Download complete [2022-09-28T20:28:40.755Z] 5eb5b503b376: Download complete [2022-09-28T20:28:41.323Z] 2f39f015ded8: Download complete [2022-09-28T20:28:41.888Z] 5eb5b503b376: Pull complete [2022-09-28T20:28:41.888Z] 5c69ac0246d0: Pull complete [2022-09-28T20:28:42.453Z] ec43610c2a17: Pull complete [2022-09-28T20:28:42.453Z] 3a2ae6a8a46f: Pull complete [2022-09-28T20:28:42.710Z] 33b1e0a273af: Pull complete [2022-09-28T20:28:42.710Z] 5d3b04190fa2: Pull complete [2022-09-28T20:28:43.248Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1859 in /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] { [Pipeline] ws [2022-09-28T20:28:43.261Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-09-28T20:28:43.297Z] The recommended git tool is: git [2022-09-28T20:28:46.894Z] 2f39f015ded8: Pull complete [2022-09-28T20:28:46.894Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-28T20:28:46.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T20:28:46.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:28:46.970Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2022-09-28T20:28:47.002Z] $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T20:28:48.211Z] using credential edgex-jenkins-ssh [2022-09-28T20:28:48.226Z] Cloning the remote Git repository [2022-09-28T20:28:48.428Z] $ docker top ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:28:48.828Z] ---> job-cost.sh [2022-09-28T20:28:48.828Z] lf-activate-venv: SKIPPING [2022-09-28T20:28:48.828Z] INFO: No Stack... [2022-09-28T20:28:49.090Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T20:28:48.262Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T20:28:48.332Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-09-28T20:28:48.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T20:28:48.486Z] > git --version # timeout=10 [2022-09-28T20:28:48.513Z] > git --version # 'git version 2.25.1' [2022-09-28T20:28:48.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T20:28:48.557Z] Verifying host key using known hosts file [2022-09-28T20:28:48.744Z] 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-09-28T20:28:48.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T20:28:49.657Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T20:28:49.948Z] + cat /w/workspace/undry_device-onvif-camera_PR-164/archives/cost.csv [2022-09-28T20:28:49.948Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T20:28:49.962Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [2022-09-28T20:28:49.968Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] did not exist. Created. [2022-09-28T20:28:49.968Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T20:28:50.274Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-28T20:28:50.299Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T20:28:50.309Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T20:28:50.334Z] $ docker stop --time=1 ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc [2022-09-28T20:28:49.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T20:28:49.966Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-28T20:28:51.416Z] Merging remotes/origin/main commit eff61ece5709928a9f31d9a775fc6c989cb12ea4 into PR head commit 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [2022-09-28T20:28:51.498Z] $ docker rm -f ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-28T20:28:51.764Z] Merge succeeded, producing 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [2022-09-28T20:28:51.764Z] Checking out Revision 09e68456677e29f0efc0f70ff4b2aa36e54dd0db (PR-164) [2022-09-28T20:28:50.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-28T20:28:50.776Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-28T20:28:50.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T20:28:50.782Z] Verifying host key using known hosts file [2022-09-28T20:28:50.789Z] 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-09-28T20:28:50.798Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-28T20:28:51.428Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T20:28:51.449Z] > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 [2022-09-28T20:28:51.662Z] > git remote # timeout=10 [2022-09-28T20:28:51.678Z] > git config --get remote.origin.url # timeout=10 [2022-09-28T20:28:51.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-28T20:28:51.696Z] Verifying host key using known hosts file [2022-09-28T20:28:51.701Z] 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-09-28T20:28:51.710Z] > git merge eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 [2022-09-28T20:28:51.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-28T20:28:51.764Z] > git config core.sparsecheckout # timeout=10 [2022-09-28T20:28:51.779Z] > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 [2022-09-28T20:28:55.457Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T20:28:56.242Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-28T20:28:56.242Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T20:28:56.242Z] Dload Upload Total Spent Left Speed [2022-09-28T20:28:56.242Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 53625 0 --:--:-- --:--:-- --:--:-- 53398 [Pipeline] sh [2022-09-28T20:28:56.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-28T20:28:57.199Z] + sudo tee /etc/docker/daemon.new [2022-09-28T20:28:57.199Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-28T20:28:57.199Z] { [2022-09-28T20:28:57.199Z] "registry-mirrors": [ [2022-09-28T20:28:57.199Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-28T20:28:57.199Z] ], [2022-09-28T20:28:57.199Z] "bip": "10.250.0.254/24", [2022-09-28T20:28:57.199Z] "hosts": [ [2022-09-28T20:28:57.199Z] "tcp://0.0.0.0:5555", [2022-09-28T20:28:57.199Z] "unix:///var/run/docker.sock" [2022-09-28T20:28:57.199Z] ], [2022-09-28T20:28:57.199Z] "mtu": 1458, [2022-09-28T20:28:57.199Z] "selinux-enabled": true, [2022-09-28T20:28:57.199Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-28T20:28:57.199Z] } [Pipeline] sh [2022-09-28T20:28:57.515Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-28T20:28:57.829Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T20:29:16.062Z] provisioning config files... [2022-09-28T20:29:16.083Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config304837383118842363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:29:16.424Z] ---> docker-login.sh [2022-09-28T20:29:16.424Z] nexus3.edgexfoundry.org:10001 [2022-09-28T20:29:16.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:29:16.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:29:16.964Z] Configure a credential helper to remove this warning. See [2022-09-28T20:29:16.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:29:16.964Z] [2022-09-28T20:29:16.964Z] Login Succeeded [2022-09-28T20:29:16.964Z] nexus3.edgexfoundry.org:10002 [2022-09-28T20:29:17.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:29:17.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:29:17.235Z] Configure a credential helper to remove this warning. See [2022-09-28T20:29:17.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:29:17.235Z] [2022-09-28T20:29:17.235Z] Login Succeeded [2022-09-28T20:29:17.235Z] nexus3.edgexfoundry.org:10003 [2022-09-28T20:29:17.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:29:17.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:29:17.775Z] Configure a credential helper to remove this warning. See [2022-09-28T20:29:17.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:29:17.775Z] [2022-09-28T20:29:17.775Z] Login Succeeded [2022-09-28T20:29:17.775Z] nexus3.edgexfoundry.org:10004 [2022-09-28T20:29:18.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:29:18.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:29:18.046Z] Configure a credential helper to remove this warning. See [2022-09-28T20:29:18.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:29:18.046Z] [2022-09-28T20:29:18.046Z] Login Succeeded [2022-09-28T20:29:18.046Z] docker.io [2022-09-28T20:29:18.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-28T20:29:18.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-28T20:29:18.584Z] Configure a credential helper to remove this warning. See [2022-09-28T20:29:18.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-28T20:29:18.584Z] [2022-09-28T20:29:18.584Z] Login Succeeded [2022-09-28T20:29:18.584Z] ---> docker-login.sh ends [Pipeline] } [2022-09-28T20:29:18.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-28T20:29:18.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T20:29:18.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-28T20:29:18.749Z] ========================================================= [2022-09-28T20:29:18.749Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-28T20:29:18.749Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:29:19.081Z] + 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-09-28T20:29:19.351Z] Sending build context to Docker daemon 14.2MB [2022-09-28T20:29:19.620Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T20:29:19.620Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-28T20:29:19.620Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-28T20:29:19.620Z] b3c136eddcbf: Pulling fs layer [2022-09-28T20:29:19.620Z] c0a3192eca97: Pulling fs layer [2022-09-28T20:29:19.620Z] a050256f5b6f: Pulling fs layer [2022-09-28T20:29:19.620Z] 656be50a0ddc: Pulling fs layer [2022-09-28T20:29:19.620Z] 2bbca73fdf42: Pulling fs layer [2022-09-28T20:29:19.620Z] 46d945488cbd: Pulling fs layer [2022-09-28T20:29:19.620Z] 8a5474983e97: Pulling fs layer [2022-09-28T20:29:19.620Z] 329c88fbcd65: Pulling fs layer [2022-09-28T20:29:19.620Z] 46d945488cbd: Waiting [2022-09-28T20:29:19.620Z] 8a5474983e97: Waiting [2022-09-28T20:29:19.620Z] 656be50a0ddc: Waiting [2022-09-28T20:29:19.620Z] 329c88fbcd65: Waiting [2022-09-28T20:29:19.620Z] 2bbca73fdf42: Waiting [2022-09-28T20:29:19.620Z] a050256f5b6f: Download complete [2022-09-28T20:29:19.620Z] c0a3192eca97: Verifying Checksum [2022-09-28T20:29:19.620Z] c0a3192eca97: Download complete [2022-09-28T20:29:19.620Z] 2bbca73fdf42: Verifying Checksum [2022-09-28T20:29:19.620Z] 2bbca73fdf42: Download complete [2022-09-28T20:29:19.889Z] 46d945488cbd: Verifying Checksum [2022-09-28T20:29:19.889Z] 46d945488cbd: Download complete [2022-09-28T20:29:19.889Z] b3c136eddcbf: Verifying Checksum [2022-09-28T20:29:20.484Z] b3c136eddcbf: Pull complete [2022-09-28T20:29:20.758Z] 329c88fbcd65: Verifying Checksum [2022-09-28T20:29:20.758Z] 329c88fbcd65: Download complete [2022-09-28T20:29:21.346Z] c0a3192eca97: Pull complete [2022-09-28T20:29:21.346Z] a050256f5b6f: Pull complete [2022-09-28T20:29:21.932Z] 8a5474983e97: Verifying Checksum [2022-09-28T20:29:21.932Z] 8a5474983e97: Download complete [2022-09-28T20:29:22.520Z] 656be50a0ddc: Download complete [2022-09-28T20:29:34.855Z] 656be50a0ddc: Pull complete [2022-09-28T20:29:34.855Z] 2bbca73fdf42: Pull complete [2022-09-28T20:29:34.855Z] 46d945488cbd: Pull complete [2022-09-28T20:29:41.521Z] 8a5474983e97: Pull complete [2022-09-28T20:29:43.468Z] 329c88fbcd65: Pull complete [2022-09-28T20:29:43.468Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-28T20:29:43.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-28T20:29:43.468Z] ---> ff4287adb874 [2022-09-28T20:29:43.468Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-09-28T20:29:45.410Z] ---> Running in c8ce29740e00 [2022-09-28T20:29:45.676Z] Removing intermediate container c8ce29740e00 [2022-09-28T20:29:45.676Z] ---> 1c12b9e6a2d9 [2022-09-28T20:29:45.676Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-28T20:29:45.676Z] ---> Running in d3116aa4931e [2022-09-28T20:29:45.943Z] Removing intermediate container d3116aa4931e [2022-09-28T20:29:45.943Z] ---> 583900974773 [2022-09-28T20:29:45.943Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T20:29:45.943Z] ---> Running in 0d04983dafaf [2022-09-28T20:29:46.211Z] Removing intermediate container 0d04983dafaf [2022-09-28T20:29:46.211Z] ---> 26dee599c461 [2022-09-28T20:29:46.211Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T20:29:46.479Z] ---> Running in e57c4c9329c4 [2022-09-28T20:29:46.748Z] Removing intermediate container e57c4c9329c4 [2022-09-28T20:29:46.748Z] ---> c1b0840afb9e [2022-09-28T20:29:46.748Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-09-28T20:29:46.748Z] ---> Running in 2d0005a2a980 [2022-09-28T20:29:47.016Z] Removing intermediate container 2d0005a2a980 [2022-09-28T20:29:47.016Z] ---> a2682906fa03 [2022-09-28T20:29:47.016Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T20:29:47.016Z] ---> Running in df71b65eed52 [2022-09-28T20:29:48.958Z] Removing intermediate container df71b65eed52 [2022-09-28T20:29:48.958Z] ---> ce20de7f69fb [2022-09-28T20:29:48.958Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T20:29:48.958Z] ---> Running in 74851faf205e [2022-09-28T20:29:49.916Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T20:29:50.495Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T20:29:51.457Z] OK: 221 MiB in 51 packages [2022-09-28T20:29:52.868Z] Removing intermediate container 74851faf205e [2022-09-28T20:29:52.868Z] ---> 64260f221f69 [2022-09-28T20:29:52.868Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-09-28T20:29:52.868Z] ---> Running in 91ecde432e3f [2022-09-28T20:29:53.134Z] Removing intermediate container 91ecde432e3f [2022-09-28T20:29:53.134Z] ---> d3df547e75a4 [2022-09-28T20:29:53.134Z] Step 11/14 : COPY go.mod vendor* ./ [2022-09-28T20:29:53.717Z] ---> 82e9cf924bab [2022-09-28T20:29:53.717Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T20:29:53.717Z] ---> Running in 0d739daadf93 [2022-09-28T20:30:50.121Z] Removing intermediate container 0d739daadf93 [2022-09-28T20:30:50.121Z] ---> a114ba03affb [2022-09-28T20:30:50.121Z] Step 13/14 : COPY . . [2022-09-28T20:30:50.121Z] ---> 6be719d4ffdb [2022-09-28T20:30:50.121Z] Step 14/14 : RUN ${MAKE} [2022-09-28T20:30:50.121Z] ---> Running in d26d45eaabb8 [2022-09-28T20:30:50.121Z] noop [2022-09-28T20:30:50.121Z] Removing intermediate container d26d45eaabb8 [2022-09-28T20:30:50.121Z] ---> 8375b16cb565 [2022-09-28T20:30:50.121Z] Successfully built 8375b16cb565 [2022-09-28T20:30:50.121Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:30:50.470Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T20:30:50.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:30:50.628Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2022-09-28T20:30:50.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T20:30:51.776Z] $ docker top 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T20:30:52.571Z] + go version [2022-09-28T20:30:52.571Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-28T20:30:52.594Z] $ docker stop --time=1 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 [2022-09-28T20:30:54.190Z] $ docker rm -f 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:30:54.690Z] + docker inspect -f . ci-base-image-arm64 [2022-09-28T20:30:54.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:30:54.981Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2022-09-28T20:30:55.048Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-28T20:30:56.166Z] $ docker top 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T20:30:56.647Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-09-28T20:30:56.972Z] + make test [2022-09-28T20:30:56.972Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-28T20:30:58.925Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-28T20:32:35.597Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-28T20:32:35.597Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.192s coverage: 28.2% of statements [2022-09-28T20:32:35.597Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-28T20:32:53.948Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.267s coverage: 86.5% of statements [2022-09-28T20:32:53.948Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-28T20:32:53.948Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-28T20:33:20.675Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-28T20:33:20.675Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-28T20:33:20.675Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-28T20:33:20.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-28T20:33:20.714Z] $ docker stop --time=1 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 [2022-09-28T20:33:22.775Z] $ docker rm -f 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-28T20:33:23.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-28T20:33:23.839Z] Warning: overwriting stash ‘coverage-report’ [2022-09-28T20:33:24.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-28T20:33:24.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-28T20:33:25.069Z] + ls -al . [2022-09-28T20:33:25.069Z] total 232 [2022-09-28T20:33:25.069Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 20:30 . [2022-09-28T20:33:25.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 .. [2022-09-28T20:33:25.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 20:28 .git [2022-09-28T20:33:25.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:28 .github [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 20:28 .gitignore [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 20:28 .golangci.yml [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 20:28 Attribution.txt [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 20:28 CHANGELOG.md [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 20:28 Dockerfile [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 20:28 GOVERNANCE.md [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 20:28 Jenkinsfile [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 20:28 LICENSE [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 20:28 Makefile [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 20:28 OWNERS.md [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 20:28 README.md [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 20:27 VERSION [2022-09-28T20:33:25.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 20:28 bin [2022-09-28T20:33:25.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:28 cmd [2022-09-28T20:33:25.069Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 20:32 coverage.out [2022-09-28T20:33:25.069Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 20:28 doc [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 20:28 go.mod [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 20:28 go.sum [2022-09-28T20:33:25.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 internal [2022-09-28T20:33:25.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 snap [2022-09-28T20:33:25.069Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:33:25.406Z] + 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=09e68456677e29f0efc0f70ff4b2aa36e54dd0db --label arch=arm64 --label version=0.0.0 . [2022-09-28T20:33:25.990Z] Sending build context to Docker daemon 14.27MB [2022-09-28T20:33:25.990Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-28T20:33:25.990Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-28T20:33:25.990Z] ---> 8375b16cb565 [2022-09-28T20:33:25.990Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-09-28T20:33:26.257Z] ---> Running in dc2a9728b89a [2022-09-28T20:33:26.526Z] Removing intermediate container dc2a9728b89a [2022-09-28T20:33:26.526Z] ---> 4064a75060ee [2022-09-28T20:33:26.526Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-28T20:33:26.526Z] ---> Running in c2a134cdd2e3 [2022-09-28T20:33:27.109Z] Removing intermediate container c2a134cdd2e3 [2022-09-28T20:33:27.109Z] ---> 58ad525c0740 [2022-09-28T20:33:27.109Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-28T20:33:27.109Z] ---> Running in 84c9cbc9bd91 [2022-09-28T20:33:27.715Z] Removing intermediate container 84c9cbc9bd91 [2022-09-28T20:33:27.715Z] ---> cbe736ad6b2e [2022-09-28T20:33:27.715Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-28T20:33:27.715Z] ---> Running in 49c466aed284 [2022-09-28T20:33:27.984Z] Removing intermediate container 49c466aed284 [2022-09-28T20:33:27.984Z] ---> 735c64806518 [2022-09-28T20:33:27.984Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-09-28T20:33:28.252Z] ---> Running in 63a4df74dcde [2022-09-28T20:33:28.520Z] Removing intermediate container 63a4df74dcde [2022-09-28T20:33:28.520Z] ---> ca9e8a0d4562 [2022-09-28T20:33:28.520Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-28T20:33:28.788Z] ---> Running in 8e535a308427 [2022-09-28T20:33:30.738Z] Removing intermediate container 8e535a308427 [2022-09-28T20:33:30.738Z] ---> 22418c4ac9c2 [2022-09-28T20:33:30.738Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-28T20:33:30.738Z] ---> Running in b62666bbc266 [2022-09-28T20:33:32.150Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T20:33:32.731Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T20:33:33.702Z] OK: 221 MiB in 51 packages [2022-09-28T20:33:35.117Z] Removing intermediate container b62666bbc266 [2022-09-28T20:33:35.117Z] ---> abb65088b8b6 [2022-09-28T20:33:35.117Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-09-28T20:33:35.117Z] ---> Running in 282ae8674070 [2022-09-28T20:33:35.385Z] Removing intermediate container 282ae8674070 [2022-09-28T20:33:35.385Z] ---> ae3420787402 [2022-09-28T20:33:35.385Z] Step 11/27 : COPY go.mod vendor* ./ [2022-09-28T20:33:37.347Z] ---> bd0d25eab670 [2022-09-28T20:33:37.347Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-28T20:33:37.347Z] ---> Running in ac3b86c7d035 [2022-09-28T20:33:39.295Z] Removing intermediate container ac3b86c7d035 [2022-09-28T20:33:39.295Z] ---> f886f317bcda [2022-09-28T20:33:39.295Z] Step 13/27 : COPY . . [2022-09-28T20:33:41.233Z] ---> 3d1a7fde1ac0 [2022-09-28T20:33:41.233Z] Step 14/27 : RUN ${MAKE} [2022-09-28T20:33:41.233Z] ---> Running in d61427991025 [2022-09-28T20:33:42.197Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-28T20:36:18.913Z] Removing intermediate container d61427991025 [2022-09-28T20:36:18.913Z] ---> 00e098f9b867 [2022-09-28T20:36:18.913Z] Step 15/27 : FROM alpine:3.16 [2022-09-28T20:36:18.913Z] 3.16: Pulling from library/alpine [2022-09-28T20:36:18.913Z] 9b18e9b68314: Pulling fs layer [2022-09-28T20:36:18.913Z] 9b18e9b68314: Verifying Checksum [2022-09-28T20:36:18.913Z] 9b18e9b68314: Download complete [2022-09-28T20:36:18.913Z] 9b18e9b68314: Pull complete [2022-09-28T20:36:18.913Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-28T20:36:18.913Z] Status: Downloaded newer image for alpine:3.16 [2022-09-28T20:36:18.913Z] ---> a6215f271958 [2022-09-28T20:36:18.913Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-28T20:36:18.913Z] ---> Running in ca2ea6ae101f [2022-09-28T20:36:18.913Z] Removing intermediate container ca2ea6ae101f [2022-09-28T20:36:18.913Z] ---> 15bfead5bd61 [2022-09-28T20:36:18.913Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-28T20:36:18.913Z] ---> Running in 6a424586dd51 [2022-09-28T20:36:18.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-28T20:36:18.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-28T20:36:18.913Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-28T20:36:18.913Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-28T20:36:18.913Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-28T20:36:18.913Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-28T20:36:18.913Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-28T20:36:18.913Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-28T20:36:18.913Z] Executing busybox-1.35.0-r17.trigger [2022-09-28T20:36:18.913Z] OK: 8 MiB in 20 packages [2022-09-28T20:36:18.913Z] Removing intermediate container 6a424586dd51 [2022-09-28T20:36:18.913Z] ---> 09ba52f6a1a6 [2022-09-28T20:36:18.913Z] Step 18/27 : WORKDIR / [2022-09-28T20:36:18.913Z] ---> Running in ef66fc47384b [2022-09-28T20:36:18.913Z] Removing intermediate container ef66fc47384b [2022-09-28T20:36:18.913Z] ---> 92250a734678 [2022-09-28T20:36:18.913Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-28T20:36:18.913Z] ---> ee6c9b34cf7a [2022-09-28T20:36:18.913Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-28T20:36:18.913Z] ---> 70c4001b7019 [2022-09-28T20:36:18.913Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-28T20:36:18.913Z] ---> 574896eb0271 [2022-09-28T20:36:18.913Z] Step 22/27 : EXPOSE 59984 [2022-09-28T20:36:18.913Z] ---> Running in be0be004f1e5 [2022-09-28T20:36:18.913Z] Removing intermediate container be0be004f1e5 [2022-09-28T20:36:18.913Z] ---> 3ff8d4d4135a [2022-09-28T20:36:18.913Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-28T20:36:18.913Z] ---> Running in fd4e2403e57e [2022-09-28T20:36:18.913Z] Removing intermediate container fd4e2403e57e [2022-09-28T20:36:18.913Z] ---> 63db8acc2da5 [2022-09-28T20:36:18.913Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-28T20:36:18.913Z] ---> Running in f95c31b93fe7 [2022-09-28T20:36:18.913Z] Removing intermediate container f95c31b93fe7 [2022-09-28T20:36:18.913Z] ---> 6546f81a9f72 [2022-09-28T20:36:18.913Z] Step 25/27 : LABEL arch=arm64 [2022-09-28T20:36:18.913Z] ---> Running in 81cb5b52dc49 [2022-09-28T20:36:18.913Z] Removing intermediate container 81cb5b52dc49 [2022-09-28T20:36:18.913Z] ---> 19d1d9b020c8 [2022-09-28T20:36:18.913Z] Step 26/27 : LABEL git_sha=09e68456677e29f0efc0f70ff4b2aa36e54dd0db [2022-09-28T20:36:18.913Z] ---> Running in 79ae42b26438 [2022-09-28T20:36:18.913Z] Removing intermediate container 79ae42b26438 [2022-09-28T20:36:18.913Z] ---> de725ae04ee8 [2022-09-28T20:36:18.913Z] Step 27/27 : LABEL version=0.0.0 [2022-09-28T20:36:18.913Z] ---> Running in 8e9ad59d628e [2022-09-28T20:36:18.913Z] Removing intermediate container 8e9ad59d628e [2022-09-28T20:36:18.913Z] ---> 4067aa719b7b [2022-09-28T20:36:18.913Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-28T20:36:18.913Z] Successfully built 4067aa719b7b [2022-09-28T20:36:18.913Z] 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-09-28T20:36:19.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T20:36:19.343Z] [2022-09-28T20:36:19.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:36:19.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T20:36:19.672Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-28T20:36:19.672Z] 8998bd30e6a1: Pulling fs layer [2022-09-28T20:36:19.672Z] 04944245beec: Pulling fs layer [2022-09-28T20:36:19.672Z] 699f458cf7ca: Pulling fs layer [2022-09-28T20:36:19.672Z] 765212b225bb: Pulling fs layer [2022-09-28T20:36:19.672Z] f23df028b6ca: Pulling fs layer [2022-09-28T20:36:19.672Z] d65c8cfc05b1: Pulling fs layer [2022-09-28T20:36:19.672Z] 2437ff75d9bd: Pulling fs layer [2022-09-28T20:36:19.672Z] d65c8cfc05b1: Waiting [2022-09-28T20:36:19.672Z] 765212b225bb: Waiting [2022-09-28T20:36:19.672Z] 2437ff75d9bd: Waiting [2022-09-28T20:36:19.672Z] f23df028b6ca: Waiting [2022-09-28T20:36:19.942Z] 04944245beec: Verifying Checksum [2022-09-28T20:36:19.942Z] 04944245beec: Download complete [2022-09-28T20:36:19.942Z] 765212b225bb: Verifying Checksum [2022-09-28T20:36:19.942Z] 765212b225bb: Download complete [2022-09-28T20:36:19.942Z] f23df028b6ca: Download complete [2022-09-28T20:36:19.942Z] d65c8cfc05b1: Verifying Checksum [2022-09-28T20:36:19.942Z] d65c8cfc05b1: Download complete [2022-09-28T20:36:19.942Z] 699f458cf7ca: Verifying Checksum [2022-09-28T20:36:19.942Z] 699f458cf7ca: Download complete [2022-09-28T20:36:20.524Z] 8998bd30e6a1: Verifying Checksum [2022-09-28T20:36:20.524Z] 8998bd30e6a1: Download complete [2022-09-28T20:36:23.105Z] 2437ff75d9bd: Verifying Checksum [2022-09-28T20:36:23.105Z] 2437ff75d9bd: Download complete [2022-09-28T20:36:24.512Z] 8998bd30e6a1: Pull complete [2022-09-28T20:36:24.790Z] 04944245beec: Pull complete [2022-09-28T20:36:26.199Z] 699f458cf7ca: Pull complete [2022-09-28T20:36:26.199Z] 765212b225bb: Pull complete [2022-09-28T20:36:27.161Z] f23df028b6ca: Pull complete [2022-09-28T20:36:27.429Z] d65c8cfc05b1: Pull complete [2022-09-28T20:36:42.422Z] 2437ff75d9bd: Pull complete [2022-09-28T20:36:42.423Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-28T20:36:42.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-28T20:36:42.423Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:36:42.608Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2022-09-28T20:36:42.688Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-28T20:36:45.386Z] $ docker top f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:45.888Z] ---> job-cost.sh [2022-09-28T20:36:46.151Z] lf-activate-venv: SKIPPING [2022-09-28T20:36:46.151Z] INFO: No Stack... [2022-09-28T20:36:46.731Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-28T20:36:47.685Z] INFO: Archiving Costs [Pipeline] sh [2022-09-28T20:36:48.003Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-09-28T20:36:48.003Z] + cut -d, -f6 [Pipeline] lock [2022-09-28T20:36:48.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [2022-09-28T20:36:48.310Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] did not exist. Created. [2022-09-28T20:36:48.311Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-28T20:36:48.636Z] /w/workspace/device-onvif-camera/2@tmp/durable-66c3483a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-28T20:36:48.970Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-28T20:36:48.992Z] Warning: overwriting stash ‘stack-cost’ [2022-09-28T20:36:49.042Z] Stashed 1 file(s) [Pipeline] } [2022-09-28T20:36:49.048Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-28T20:36:49.080Z] $ docker stop --time=1 f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 [2022-09-28T20:36:50.559Z] $ docker rm -f f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 [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-09-28T20:36:50.927Z] provisioning config files... [2022-09-28T20:36:50.933Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config17335120291795233840tmp [Pipeline] { [Pipeline] sh [2022-09-28T20:36:51.223Z] + set +x [2022-09-28T20:36:51.223Z] + bash -s -- [2022-09-28T20:36:51.223Z] + curl -s https://codecov.io/bash [2022-09-28T20:36:51.223Z] [2022-09-28T20:36:51.223Z] _____ _ [2022-09-28T20:36:51.223Z] / ____| | | [2022-09-28T20:36:51.223Z] | | ___ __| | ___ ___ _____ __ [2022-09-28T20:36:51.223Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-28T20:36:51.223Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-28T20:36:51.223Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-28T20:36:51.223Z] Bash-1.0.6 [2022-09-28T20:36:51.223Z] [2022-09-28T20:36:51.223Z] [2022-09-28T20:36:51.223Z] ==> git version 2.25.1 found [2022-09-28T20:36:51.223Z] ==> 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-09-28T20:36:51.223Z] Release-Date: 2020-01-08 [2022-09-28T20:36:51.223Z] 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-09-28T20:36:51.223Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-28T20:36:51.223Z] ==> Jenkins CI detected. [2022-09-28T20:36:51.223Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-164 [2022-09-28T20:36:51.223Z] project root: . [2022-09-28T20:36:51.223Z] --> token set from env [2022-09-28T20:36:51.223Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-28T20:36:51.223Z] ==> Running gcov in . (disable via -X gcov) [2022-09-28T20:36:51.223Z] ==> Python coveragepy not found [2022-09-28T20:36:51.223Z] ==> Searching for coverage reports in: [2022-09-28T20:36:51.223Z] + . [2022-09-28T20:36:51.223Z] -> Found 1 reports [2022-09-28T20:36:51.223Z] ==> Detecting git/mercurial file structure [2022-09-28T20:36:51.482Z] ==> Reading reports [2022-09-28T20:36:51.482Z] + ./coverage.out bytes=78461 [2022-09-28T20:36:51.482Z] ==> Appending adjustments [2022-09-28T20:36:51.482Z] https://docs.codecov.io/docs/fixing-reports [2022-09-28T20:36:51.482Z] + Found adjustments [2022-09-28T20:36:51.482Z] ==> Gzipping contents [2022-09-28T20:36:51.482Z] 12K /tmp/codecov.U1vGDj.gz [2022-09-28T20:36:51.482Z] ==> Uploading reports [2022-09-28T20:36:51.482Z] url: https://codecov.io [2022-09-28T20:36:51.482Z] query: branch=PR-164&commit=09e68456677e29f0efc0f70ff4b2aa36e54dd0db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-09-28T20:36:51.482Z] -> Pinging Codecov [2022-09-28T20:36:51.482Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-164&commit=09e68456677e29f0efc0f70ff4b2aa36e54dd0db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-09-28T20:36:52.050Z] -> Uploading to [2022-09-28T20:36:52.050Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/09e68456677e29f0efc0f70ff4b2aa36e54dd0db/1a75fae6-f5f6-429f-b7f4-79344ac9735d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T203651Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ff919f5bf2fabc97d271e6a9fa37de67efc1f5c6432c85afc7c9b95b4c190cb [2022-09-28T20:36:52.050Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-28T20:36:52.050Z] Dload Upload Total Spent Left Speed [2022-09-28T20:36:52.050Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10708 0 0 100 10708 0 52490 --:--:-- --:--:-- --:--:-- 52490 [2022-09-28T20:36:52.050Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] } [2022-09-28T20:36:52.057Z] 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-09-28T20:36:52.745Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-164/archives ] [2022-09-28T20:36:52.745Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T20:36:52.745Z] total 16 [2022-09-28T20:36:52.745Z] drwxr-xr-x 3 root root 4096 Sep 28 20:28 . [2022-09-28T20:36:52.745Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 20:28 .. [2022-09-28T20:36:52.745Z] drwxr-xr-x 2 root root 4096 Sep 28 20:28 cost [2022-09-28T20:36:52.745Z] -rw-r--r-- 1 root root 91 Sep 28 20:28 cost.csv [2022-09-28T20:36:52.745Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T20:36:52.745Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives [2022-09-28T20:36:52.745Z] total 16 [2022-09-28T20:36:52.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 20:28 . [2022-09-28T20:36:52.745Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 20:28 .. [2022-09-28T20:36:52.745Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 20:28 cost [2022-09-28T20:36:52.745Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 28 20:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:53.037Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:53.893Z] ---> package-listing.sh [2022-09-28T20:36:53.893Z] ++ facter osfamily [2022-09-28T20:36:53.893Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-28T20:36:54.152Z] + OS_FAMILY=debian [2022-09-28T20:36:54.152Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-164 [2022-09-28T20:36:54.152Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-28T20:36:54.152Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-28T20:36:54.152Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-28T20:36:54.152Z] + PACKAGES=/tmp/packages_start.txt [2022-09-28T20:36:54.152Z] + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' [2022-09-28T20:36:54.152Z] + PACKAGES=/tmp/packages_end.txt [2022-09-28T20:36:54.152Z] + case "${OS_FAMILY}" in [2022-09-28T20:36:54.152Z] + dpkg -l [2022-09-28T20:36:54.152Z] + grep '^ii' [2022-09-28T20:36:54.152Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-28T20:36:54.152Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-28T20:36:54.152Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-28T20:36:54.152Z] + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' [2022-09-28T20:36:54.152Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-164/archives/ [2022-09-28T20:36:54.152Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-164/archives/ [Pipeline] echo [2022-09-28T20:36:54.160Z] 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-28T20:36:54.434Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-28T20:36:54.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-28T20:36:54.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-28T20:36:55.061Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2022-09-28T20:36:55.083Z] $ 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-164/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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-28T20:36:55.280Z] $ docker top 94dd11e2c6d3e966b1136a1e09038487b1e4b6ab4e6c840ac18335428fb83a03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-28T20:36:55.619Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-28T20:36:55.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-28T20:36:56.190Z] + ls /var/log/sa-host [2022-09-28T20:36:56.190Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-28T20:36:56.327Z] provisioning config files... [2022-09-28T20:36:56.335Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config17887001705730546659tmp [Pipeline] { [Pipeline] echo [2022-09-28T20:36:56.346Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:56.629Z] ---> create-netrc.sh [Pipeline] } [2022-09-28T20:36:56.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:56.958Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-28T20:36:56.966Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:57.248Z] ---> sudo-logs.sh [2022-09-28T20:36:57.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-28T20:36:57.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:57.567Z] ---> job-cost.sh [2022-09-28T20:36:57.567Z] lf-activate-venv: SKIPPING [2022-09-28T20:36:57.567Z] DEBUG: total: 0.2199999988079071 [2022-09-28T20:36:57.567Z] INFO: Retrieving Stack Cost... [2022-09-28T20:36:58.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-28T20:36:58.701Z] INFO: Archiving Costs [Pipeline] echo [2022-09-28T20:36:58.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-28T20:36:58.993Z] ---> logs-deploy.sh [2022-09-28T20:36:58.994Z] lf-activate-venv: SKIPPING [2022-09-28T20:36:58.994Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-164/2 [2022-09-28T20:36:58.994Z] INFO: archiving workspace using pattern(s): [2022-09-28T20:36:59.929Z] Archives upload complete. [2022-09-28T20:36:59.929Z] INFO: archiving logs to Nexus