Pull request #282 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at d06d196f1c3aaa5dfc5806b546326a01efd75604 rather than 6cde7523560ed1162d0316c2e9de76797ee321a6 Obtained Jenkinsfile from d06d196f1c3aaa5dfc5806b546326a01efd75604 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-ssh2138723891319840857.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh8101594306622760578.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-282/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-282/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11963509600033024590.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-282/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6589397565904618493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12933114827459107112.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-282/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-282/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2621185004514464453.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4955 in /w/workspace/undry_device-onvif-camera_PR-282 [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-282 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/levski commit d06d196f1c3aaa5dfc5806b546326a01efd75604 into PR head commit 6cde7523560ed1162d0316c2e9de76797ee321a6 Merge succeeded, producing 6cde7523560ed1162d0316c2e9de76797ee321a6 Checking out Revision 6cde7523560ed1162d0316c2e9de76797ee321a6 (PR-282) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cde7523560ed1162d0316c2e9de76797ee321a6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d06d196f1c3aaa5dfc5806b546326a01efd75604 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cde7523560ed1162d0316c2e9de76797ee321a6 # timeout=10 Commit message: "fix: device-sdk levski patch stable tag added" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T21:43:28.517Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T21:43:28.675Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T21:43:28.758Z] ========================================================= [2023-03-21T21:43:28.758Z] EdgeX Global Pipelines Version Info [2023-03-21T21:43:28.758Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:43:29.487Z] ------------------- [2023-03-21T21:43:29.487Z] stable info: [2023-03-21T21:43:29.487Z] ------------------- [2023-03-21T21:43:29.487Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T21:43:29.487Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T21:43:29.487Z] Message: update stable to v1.0.245 [2023-03-21T21:43:30.059Z] ------------------- [2023-03-21T21:43:30.059Z] experimental info: [2023-03-21T21:43:30.059Z] ------------------- [2023-03-21T21:43:30.059Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T21:43:30.059Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T21:43:30.059Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T21:43:30.395Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-21T21:43:30.436Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-21T21:43:30.487Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T21:43:30.528Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T21:43:30.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T21:43:30.609Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T21:43:30.647Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T21:43:30.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T21:43:30.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T21:43:30.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T21:43:30.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T21:43:30.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-21T21:43:30.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T21:43:30.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T21:43:30.961Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T21:43:31.002Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T21:43:31.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T21:43:31.080Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T21:43:31.119Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T21:43:31.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T21:43:31.196Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T21:43:31.233Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-21T21:43:31.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T21:43:31.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T21:43:31.351Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T21:43:31.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T21:43:31.426Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T21:43:31.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-282 [Pipeline] echo [2023-03-21T21:43:31.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-282 [Pipeline] echo [2023-03-21T21:43:31.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-282 [Pipeline] echo [2023-03-21T21:43:31.587Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cde7523560ed1162d0316c2e9de76797ee321a6 [Pipeline] echo [2023-03-21T21:43:31.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cde752 [Pipeline] echo [2023-03-21T21:43:31.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T21:43:31.772Z] provisioning config files... [2023-03-21T21:43:31.786Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-282@tmp/config12695852176010556290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:43:32.135Z] ---> docker-login.sh [2023-03-21T21:43:32.135Z] nexus3.edgexfoundry.org:10001 [2023-03-21T21:43:32.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:32.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:32.397Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:32.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:32.397Z] [2023-03-21T21:43:32.397Z] Login Succeeded [2023-03-21T21:43:32.397Z] nexus3.edgexfoundry.org:10002 [2023-03-21T21:43:32.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:32.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:32.671Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:32.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:32.671Z] [2023-03-21T21:43:32.671Z] Login Succeeded [2023-03-21T21:43:32.671Z] nexus3.edgexfoundry.org:10003 [2023-03-21T21:43:32.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:32.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:32.671Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:32.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:32.671Z] [2023-03-21T21:43:32.671Z] Login Succeeded [2023-03-21T21:43:32.671Z] nexus3.edgexfoundry.org:10004 [2023-03-21T21:43:32.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:32.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:32.931Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:32.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:32.931Z] [2023-03-21T21:43:32.931Z] Login Succeeded [2023-03-21T21:43:32.931Z] docker.io [2023-03-21T21:43:32.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:33.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:33.192Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:33.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:33.192Z] [2023-03-21T21:43:33.192Z] Login Succeeded [2023-03-21T21:43:33.192Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T21:43:33.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T21:43:33.820Z] + git rev-list -1 --merges 6cde7523560ed1162d0316c2e9de76797ee321a6~1..6cde7523560ed1162d0316c2e9de76797ee321a6 [Pipeline] echo [2023-03-21T21:43:33.883Z] -----------> git rev-list -1 --merges 6cde7523560ed1162d0316c2e9de76797ee321a6~1..6cde7523560ed1162d0316c2e9de76797ee321a6 6cde7523560ed1162d0316c2e9de76797ee321a6 [false] [Pipeline] sh [2023-03-21T21:43:34.268Z] + git log --format=format:%s -1 6cde7523560ed1162d0316c2e9de76797ee321a6 [Pipeline] echo [2023-03-21T21:43:34.305Z] ========================================================= [2023-03-21T21:43:34.305Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T21:43:34.305Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T21:43:34.716Z] + git log --format=format:%s -1 6cde7523560ed1162d0316c2e9de76797ee321a6 [Pipeline] echo [2023-03-21T21:43:34.753Z] [semverPrep] GIT_COMMIT: 6cde7523560ed1162d0316c2e9de76797ee321a6, Commit Message: fix: device-sdk levski patch stable tag added [Pipeline] echo [2023-03-21T21:43:34.785Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T21:43:35.169Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T21:43:35.169Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T21:43:35.169Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T21:43:35.169Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T21:43:35.169Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-03-21T21:43:35.169Z] tee -a /etc/ssh/ssh_known_hosts [2023-03-21T21:43:35.169Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:43:35.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T21:43:35.659Z] [2023-03-21T21:43:35.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:43:36.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T21:43:36.027Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T21:43:36.027Z] b85a868b505f: Pulling fs layer [2023-03-21T21:43:36.027Z] e2be974225ed: Pulling fs layer [2023-03-21T21:43:36.027Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T21:43:36.027Z] 988bab9f4d93: Pulling fs layer [2023-03-21T21:43:36.027Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T21:43:36.027Z] eaf3925da568: Pulling fs layer [2023-03-21T21:43:36.027Z] bab4dde63d76: Pulling fs layer [2023-03-21T21:43:36.027Z] bde34c3a00c8: Pulling fs layer [2023-03-21T21:43:36.027Z] b352a97aabf1: Pulling fs layer [2023-03-21T21:43:36.027Z] 4872d77fe225: Pulling fs layer [2023-03-21T21:43:36.027Z] 5851b861e8e6: Pulling fs layer [2023-03-21T21:43:36.027Z] bab4dde63d76: Waiting [2023-03-21T21:43:36.027Z] bde34c3a00c8: Waiting [2023-03-21T21:43:36.027Z] 5851b861e8e6: Waiting [2023-03-21T21:43:36.027Z] b352a97aabf1: Waiting [2023-03-21T21:43:36.027Z] 4872d77fe225: Waiting [2023-03-21T21:43:36.027Z] 1469e6f7b9e6: Waiting [2023-03-21T21:43:36.027Z] eaf3925da568: Waiting [2023-03-21T21:43:36.027Z] 988bab9f4d93: Waiting [2023-03-21T21:43:36.027Z] e2be974225ed: Verifying Checksum [2023-03-21T21:43:36.027Z] e2be974225ed: Download complete [2023-03-21T21:43:36.027Z] 988bab9f4d93: Verifying Checksum [2023-03-21T21:43:36.027Z] 988bab9f4d93: Download complete [2023-03-21T21:43:36.286Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T21:43:36.286Z] 1469e6f7b9e6: Download complete [2023-03-21T21:43:36.286Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T21:43:36.286Z] 339a4e72a1f5: Download complete [2023-03-21T21:43:36.286Z] eaf3925da568: Verifying Checksum [2023-03-21T21:43:36.286Z] eaf3925da568: Download complete [2023-03-21T21:43:36.286Z] bde34c3a00c8: Verifying Checksum [2023-03-21T21:43:36.286Z] bde34c3a00c8: Download complete [2023-03-21T21:43:36.286Z] b352a97aabf1: Download complete [2023-03-21T21:43:36.286Z] 4872d77fe225: Download complete [2023-03-21T21:43:36.286Z] b85a868b505f: Verifying Checksum [2023-03-21T21:43:36.286Z] b85a868b505f: Download complete [2023-03-21T21:43:36.545Z] bab4dde63d76: Verifying Checksum [2023-03-21T21:43:36.545Z] bab4dde63d76: Download complete [2023-03-21T21:43:37.481Z] b85a868b505f: Pull complete [2023-03-21T21:43:37.481Z] e2be974225ed: Pull complete [2023-03-21T21:43:38.050Z] 339a4e72a1f5: Pull complete [2023-03-21T21:43:38.050Z] 988bab9f4d93: Pull complete [2023-03-21T21:43:38.310Z] 1469e6f7b9e6: Pull complete [2023-03-21T21:43:38.569Z] eaf3925da568: Pull complete [2023-03-21T21:43:40.473Z] bab4dde63d76: Pull complete [2023-03-21T21:43:40.473Z] bde34c3a00c8: Pull complete [2023-03-21T21:43:40.473Z] b352a97aabf1: Pull complete [2023-03-21T21:43:40.733Z] 4872d77fe225: Pull complete [2023-03-21T21:43:40.733Z] 5851b861e8e6: Pull complete [2023-03-21T21:43:40.733Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T21:43:40.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T21:43:40.733Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:43:40.954Z] prd-ubuntu20.04-docker-8c-8g-4955 does not seem to be running inside a container [2023-03-21T21:43:40.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-282 -v /w/workspace/undry_device-onvif-camera_PR-282:/w/workspace/undry_device-onvif-camera_PR-282:rw,z -v /w/workspace/undry_device-onvif-camera_PR-282@tmp:/w/workspace/undry_device-onvif-camera_PR-282@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T21:43:43.085Z] $ docker top eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 -eo pid,comm [2023-03-21T21:43:43.137Z] 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). [2023-03-21T21:43:43.137Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T21:43:43.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T21:43:43.270Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T21:43:43.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T21:43:43.383Z] $ docker exec eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 ssh-agent [2023-03-21T21:43:43.500Z] SSH_AUTH_SOCK=/tmp/ssh-GCKmyrLgSuSc/agent.31 [2023-03-21T21:43:43.500Z] SSH_AGENT_PID=37 [2023-03-21T21:43:43.505Z] Running ssh-add (command line suppressed) [2023-03-21T21:43:43.609Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-282@tmp/private_key_17291675785551960301.key (/w/workspace/undry_device-onvif-camera_PR-282@tmp/private_key_17291675785551960301.key) [2023-03-21T21:43:43.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T21:43:43.958Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T21:43:43.981Z] $ docker exec --env ******** --env ******** eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 ssh-agent -k [2023-03-21T21:43:44.071Z] unset SSH_AUTH_SOCK; [2023-03-21T21:43:44.071Z] unset SSH_AGENT_PID; [2023-03-21T21:43:44.071Z] echo Agent pid 37 killed; [2023-03-21T21:43:44.081Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T21:43:44.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T21:43:44.169Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T21:43:44.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T21:43:44.283Z] $ docker exec eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 ssh-agent [2023-03-21T21:43:44.388Z] SSH_AUTH_SOCK=/tmp/ssh-Ko5bePUw8uiC/agent.70 [2023-03-21T21:43:44.388Z] SSH_AGENT_PID=76 [2023-03-21T21:43:44.391Z] Running ssh-add (command line suppressed) [2023-03-21T21:43:44.490Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-282@tmp/private_key_16903672273119570986.key (/w/workspace/undry_device-onvif-camera_PR-282@tmp/private_key_16903672273119570986.key) [2023-03-21T21:43:44.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T21:43:44.823Z] + git semver init [2023-03-21T21:43:45.082Z] 2023-03-21 21:43:44,992 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T21:43:45.082Z] 2023-03-21 21:43:44,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-282/.semver [2023-03-21T21:43:45.082Z] 2023-03-21 21:43:44,993 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-282/.semver [2023-03-21T21:43:45.082Z] 2023-03-21 21:43:44,994 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-282/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-282, universal_newlines=False, shell=None, istream=None) [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,922 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-282/.git/info/exclude [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,922 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-282/.semver/PR-282 with force:False [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,922 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-282/.semver/PR-282 [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,926 [execute] INFO git cat-file --batch-check [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-282/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,934 [execute] INFO git cat-file --batch [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-282/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T21:43:46.016Z] 2023-03-21 21:43:45,939 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-282/.semver/PR-282 [2023-03-21T21:43:46.016Z] 0.0.0 [Pipeline] } [2023-03-21T21:43:46.049Z] $ docker exec --env ******** --env ******** eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 ssh-agent -k [2023-03-21T21:43:46.152Z] unset SSH_AUTH_SOCK; [2023-03-21T21:43:46.152Z] unset SSH_AGENT_PID; [2023-03-21T21:43:46.152Z] echo Agent pid 76 killed; [2023-03-21T21:43:46.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T21:43:46.600Z] + git semver [Pipeline] } [2023-03-21T21:43:46.881Z] $ docker stop --time=1 eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 [2023-03-21T21:43:48.136Z] $ docker rm -f --volumes eedeae9bbda279b549a3b886a3595d1942b19dd8a920e5522fbcefbc6bcc6a25 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T21:43:48.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T21:43:48.799Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T21:43:48.816Z] [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 [2023-03-21T21:43:49.404Z] provisioning config files... [2023-03-21T21:43:49.416Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-282@tmp/config1390832313051254678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:43:49.761Z] ---> docker-login.sh [2023-03-21T21:43:49.761Z] nexus3.edgexfoundry.org:10001 [2023-03-21T21:43:49.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:49.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:49.761Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:49.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:49.761Z] [2023-03-21T21:43:49.761Z] Login Succeeded [2023-03-21T21:43:49.761Z] nexus3.edgexfoundry.org:10002 [2023-03-21T21:43:49.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:49.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:49.761Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:49.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:49.761Z] [2023-03-21T21:43:49.761Z] Login Succeeded [2023-03-21T21:43:49.761Z] nexus3.edgexfoundry.org:10003 [2023-03-21T21:43:50.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:50.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:50.020Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:50.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:50.020Z] [2023-03-21T21:43:50.020Z] Login Succeeded [2023-03-21T21:43:50.020Z] nexus3.edgexfoundry.org:10004 [2023-03-21T21:43:50.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:50.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:50.020Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:50.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:50.020Z] [2023-03-21T21:43:50.020Z] Login Succeeded [2023-03-21T21:43:50.020Z] docker.io [2023-03-21T21:43:50.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:43:50.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:43:50.279Z] Configure a credential helper to remove this warning. See [2023-03-21T21:43:50.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:43:50.279Z] [2023-03-21T21:43:50.279Z] Login Succeeded [2023-03-21T21:43:50.279Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T21:43:50.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T21:43:50.505Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T21:43:50.537Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T21:43:50.565Z] ========================================================= [2023-03-21T21:43:50.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T21:43:50.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:43:51.024Z] + 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 . [2023-03-21T21:43:51.024Z] Sending build context to Docker daemon 27.02MB [2023-03-21T21:43:51.024Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T21:43:51.024Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T21:43:51.297Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T21:43:51.297Z] 213ec9aee27d: Pulling fs layer [2023-03-21T21:43:51.297Z] 4583459ba037: Pulling fs layer [2023-03-21T21:43:51.297Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T21:43:51.297Z] 53926ce57604: Pulling fs layer [2023-03-21T21:43:51.297Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T21:43:51.297Z] 22ff95d597cd: Pulling fs layer [2023-03-21T21:43:51.297Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T21:43:51.297Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T21:43:51.297Z] a7acece74701: Pulling fs layer [2023-03-21T21:43:51.297Z] 12d6caf4c0d1: Waiting [2023-03-21T21:43:51.297Z] 53926ce57604: Waiting [2023-03-21T21:43:51.297Z] 96b7cbca73a9: Waiting [2023-03-21T21:43:51.297Z] 21b2b0c7a3f4: Waiting [2023-03-21T21:43:51.297Z] 22ff95d597cd: Waiting [2023-03-21T21:43:51.297Z] a7acece74701: Waiting [2023-03-21T21:43:51.297Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T21:43:51.297Z] 93c1e223e6f2: Download complete [2023-03-21T21:43:51.297Z] 4583459ba037: Verifying Checksum [2023-03-21T21:43:51.297Z] 4583459ba037: Download complete [2023-03-21T21:43:51.297Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-21T21:43:51.297Z] 21b2b0c7a3f4: Download complete [2023-03-21T21:43:51.297Z] 22ff95d597cd: Verifying Checksum [2023-03-21T21:43:51.297Z] 22ff95d597cd: Download complete [2023-03-21T21:43:51.297Z] 213ec9aee27d: Verifying Checksum [2023-03-21T21:43:51.297Z] 213ec9aee27d: Download complete [2023-03-21T21:43:51.297Z] 12d6caf4c0d1: Download complete [2023-03-21T21:43:51.560Z] 213ec9aee27d: Pull complete [2023-03-21T21:43:51.560Z] 4583459ba037: Pull complete [2023-03-21T21:43:51.821Z] 93c1e223e6f2: Pull complete [2023-03-21T21:43:51.821Z] a7acece74701: Verifying Checksum [2023-03-21T21:43:51.821Z] a7acece74701: Download complete [2023-03-21T21:43:52.078Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T21:43:52.078Z] 96b7cbca73a9: Download complete [2023-03-21T21:43:52.078Z] 53926ce57604: Verifying Checksum [2023-03-21T21:43:52.078Z] 53926ce57604: Download complete [2023-03-21T21:43:55.357Z] 53926ce57604: Pull complete [2023-03-21T21:43:55.357Z] 21b2b0c7a3f4: Pull complete [2023-03-21T21:43:55.357Z] 22ff95d597cd: Pull complete [2023-03-21T21:43:55.614Z] 12d6caf4c0d1: Pull complete [2023-03-21T21:43:57.512Z] 96b7cbca73a9: Pull complete [2023-03-21T21:43:58.078Z] a7acece74701: Pull complete [2023-03-21T21:43:58.078Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T21:43:58.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T21:43:58.078Z] ---> db6d94c90886 [2023-03-21T21:43:58.078Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T21:44:02.266Z] ---> Running in 69a967e75e1f [2023-03-21T21:44:02.266Z] Removing intermediate container 69a967e75e1f [2023-03-21T21:44:02.266Z] ---> 80cdf6ae9e19 [2023-03-21T21:44:02.266Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T21:44:02.266Z] ---> Running in 1ce30f1da74d [2023-03-21T21:44:02.266Z] Removing intermediate container 1ce30f1da74d [2023-03-21T21:44:02.266Z] ---> ae2af1404fc0 [2023-03-21T21:44:02.266Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T21:44:02.266Z] ---> Running in e2344fd13c8e [2023-03-21T21:44:02.524Z] Removing intermediate container e2344fd13c8e [2023-03-21T21:44:02.524Z] ---> 8b9e2157e011 [2023-03-21T21:44:02.524Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T21:44:02.524Z] ---> Running in 104aa8af7f31 [2023-03-21T21:44:02.524Z] Removing intermediate container 104aa8af7f31 [2023-03-21T21:44:02.524Z] ---> 4d367be918cd [2023-03-21T21:44:02.524Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T21:44:02.524Z] ---> Running in 378e2c78fb72 [2023-03-21T21:44:02.524Z] Removing intermediate container 378e2c78fb72 [2023-03-21T21:44:02.524Z] ---> 09db987f549d [2023-03-21T21:44:02.524Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T21:44:02.524Z] ---> Running in c9f19ba61559 [2023-03-21T21:44:03.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T21:44:03.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T21:44:03.351Z] OK: 211 MiB in 51 packages [2023-03-21T21:44:03.610Z] Removing intermediate container c9f19ba61559 [2023-03-21T21:44:03.610Z] ---> 93622ca9f210 [2023-03-21T21:44:03.610Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T21:44:03.610Z] ---> Running in b8bc17abd3f1 [2023-03-21T21:44:03.869Z] Removing intermediate container b8bc17abd3f1 [2023-03-21T21:44:03.869Z] ---> b07e593a91b4 [2023-03-21T21:44:03.869Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T21:44:03.869Z] ---> ce004a60e5bd [2023-03-21T21:44:03.869Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T21:44:03.869Z] ---> Running in 17d2c114f513 [2023-03-21T21:44:04.233Z] Still waiting to schedule task [2023-03-21T21:44:04.233Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-21T21:44:30.419Z] Removing intermediate container 17d2c114f513 [2023-03-21T21:44:30.419Z] ---> 4ad0f4d12e36 [2023-03-21T21:44:30.419Z] Step 12/13 : COPY . . [2023-03-21T21:44:30.419Z] ---> 19c953b2d157 [2023-03-21T21:44:30.419Z] Step 13/13 : RUN ${MAKE} [2023-03-21T21:44:30.419Z] ---> Running in 6ef4eae393e3 [2023-03-21T21:44:30.419Z] noop [2023-03-21T21:44:30.419Z] Removing intermediate container 6ef4eae393e3 [2023-03-21T21:44:30.419Z] ---> cca99aaa2f4c [2023-03-21T21:44:30.419Z] Successfully built cca99aaa2f4c [2023-03-21T21:44:30.419Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:44:30.866Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T21:44:30.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:44:31.009Z] prd-ubuntu20.04-docker-8c-8g-4955 does not seem to be running inside a container [2023-03-21T21:44:31.036Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-282 -v /w/workspace/undry_device-onvif-camera_PR-282:/w/workspace/undry_device-onvif-camera_PR-282:rw,z -v /w/workspace/undry_device-onvif-camera_PR-282@tmp:/w/workspace/undry_device-onvif-camera_PR-282@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 ******** ci-base-image-x86_64 cat [2023-03-21T21:44:31.375Z] $ docker top 52d03971d5641114ce5893fc33b61b2eaa53820a9047eb8b94fa6802f0debcfb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T21:44:31.757Z] + go version [2023-03-21T21:44:31.757Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T21:44:31.792Z] $ docker stop --time=1 52d03971d5641114ce5893fc33b61b2eaa53820a9047eb8b94fa6802f0debcfb [2023-03-21T21:44:33.057Z] $ docker rm -f --volumes 52d03971d5641114ce5893fc33b61b2eaa53820a9047eb8b94fa6802f0debcfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:44:33.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T21:44:33.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:44:33.917Z] prd-ubuntu20.04-docker-8c-8g-4955 does not seem to be running inside a container [2023-03-21T21:44:33.945Z] $ 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-282 -v /w/workspace/undry_device-onvif-camera_PR-282:/w/workspace/undry_device-onvif-camera_PR-282:rw,z -v /w/workspace/undry_device-onvif-camera_PR-282@tmp:/w/workspace/undry_device-onvif-camera_PR-282@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 ******** ci-base-image-x86_64 cat [2023-03-21T21:44:34.275Z] $ docker top a0380c7e4722fec92ee57987915ec91dbcbf1f57686615c831f791ded438ef77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T21:44:34.662Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-282 [Pipeline] fileExists [Pipeline] sh [2023-03-21T21:44:35.022Z] + make test [2023-03-21T21:44:35.022Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T21:44:35.280Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T21:44:47.474Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T21:44:48.853Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements [2023-03-21T21:44:48.853Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T21:44:48.853Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.481s coverage: 86.5% of statements [2023-03-21T21:44:56.953Z] 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." [2023-03-21T21:44:56.953Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T21:45:00.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T21:45:00.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T21:45:00.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T21:45:00.281Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T21:45:00.313Z] $ docker stop --time=1 a0380c7e4722fec92ee57987915ec91dbcbf1f57686615c831f791ded438ef77 [2023-03-21T21:45:02.626Z] $ docker rm -f --volumes a0380c7e4722fec92ee57987915ec91dbcbf1f57686615c831f791ded438ef77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T21:45:03.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T21:45:03.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T21:45:03.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T21:45:04.174Z] + ls -al . [2023-03-21T21:45:04.174Z] total 248 [2023-03-21T21:45:04.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 21:44 . [2023-03-21T21:45:04.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:43 .. [2023-03-21T21:45:04.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 21:44 .git [2023-03-21T21:45:04.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 21:43 .github [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 21:43 .gitignore [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 21:43 .golangci.yml [2023-03-21T21:45:04.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 21:43 .semver [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 21:43 Attribution.txt [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 21:43 CHANGELOG.md [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 21:43 Dockerfile [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 21:43 GOVERNANCE.md [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 21:43 Jenkinsfile [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 21:43 LICENSE [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 21:43 Makefile [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 21:43 OWNERS.md [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 21:43 README.md [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 21:43 VERSION [2023-03-21T21:45:04.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 21:43 bin [2023-03-21T21:45:04.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 21:43 cmd [2023-03-21T21:45:04.174Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 21:44 coverage.out [2023-03-21T21:45:04.174Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 21:43 doc [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 21:43 go.mod [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 21:43 go.sum [2023-03-21T21:45:04.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:43 internal [2023-03-21T21:45:04.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:43 snap [2023-03-21T21:45:04.174Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 21:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:45:04.564Z] + 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=6cde7523560ed1162d0316c2e9de76797ee321a6 --label arch=amd64 --label version=0.0.0 . [2023-03-21T21:45:04.564Z] Sending build context to Docker daemon 27.1MB [2023-03-21T21:45:04.564Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T21:45:04.564Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T21:45:04.564Z] ---> cca99aaa2f4c [2023-03-21T21:45:04.564Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T21:45:04.822Z] ---> Running in a036e7c8ecef [2023-03-21T21:45:05.081Z] Removing intermediate container a036e7c8ecef [2023-03-21T21:45:05.081Z] ---> caada96d29e2 [2023-03-21T21:45:05.081Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T21:45:05.081Z] ---> Running in 0bf92b86c160 [2023-03-21T21:45:05.081Z] Removing intermediate container 0bf92b86c160 [2023-03-21T21:45:05.081Z] ---> e4abc2f72b12 [2023-03-21T21:45:05.081Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T21:45:05.081Z] ---> Running in a57c71015bcd [2023-03-21T21:45:05.081Z] Removing intermediate container a57c71015bcd [2023-03-21T21:45:05.081Z] ---> 0ef8ba1310fc [2023-03-21T21:45:05.081Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T21:45:05.081Z] ---> Running in 15270dd04c3d [2023-03-21T21:45:05.338Z] Removing intermediate container 15270dd04c3d [2023-03-21T21:45:05.338Z] ---> 2046d9ab457d [2023-03-21T21:45:05.338Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T21:45:05.338Z] ---> Running in 6c1599a92745 [2023-03-21T21:45:05.338Z] Removing intermediate container 6c1599a92745 [2023-03-21T21:45:05.338Z] ---> b4b76d1f6e62 [2023-03-21T21:45:05.338Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T21:45:05.338Z] ---> Running in f7d4d054c690 [2023-03-21T21:45:05.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T21:45:05.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T21:45:06.114Z] OK: 211 MiB in 51 packages [2023-03-21T21:45:06.373Z] Removing intermediate container f7d4d054c690 [2023-03-21T21:45:06.373Z] ---> 3b070c66d2e0 [2023-03-21T21:45:06.373Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T21:45:06.373Z] ---> Running in 14f8791c2a93 [2023-03-21T21:45:06.373Z] Removing intermediate container 14f8791c2a93 [2023-03-21T21:45:06.373Z] ---> a99f2cd49a83 [2023-03-21T21:45:06.373Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T21:45:06.631Z] ---> 3c70835120dc [2023-03-21T21:45:06.631Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T21:45:06.631Z] ---> Running in bba2066a65f6 [2023-03-21T21:45:07.197Z] Removing intermediate container bba2066a65f6 [2023-03-21T21:45:07.197Z] ---> 17ae85587f14 [2023-03-21T21:45:07.197Z] Step 12/26 : COPY . . [2023-03-21T21:45:08.189Z] ---> 9ed15154c147 [2023-03-21T21:45:08.189Z] Step 13/26 : RUN ${MAKE} [2023-03-21T21:45:08.189Z] ---> Running in aba22fbe7296 [2023-03-21T21:45:08.449Z] 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T21:45:34.971Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4956 in /w/workspace/undry_device-onvif-camera_PR-282 [Pipeline] { [2023-03-21T21:45:34.986Z] Removing intermediate container aba22fbe7296 [2023-03-21T21:45:34.986Z] ---> a5e983d81b2d [2023-03-21T21:45:34.986Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T21:45:34.986Z] 3.16: Pulling from library/alpine [2023-03-21T21:45:34.986Z] ef5531b6e74e: Pulling fs layer [2023-03-21T21:45:34.986Z] ef5531b6e74e: Verifying Checksum [2023-03-21T21:45:34.986Z] ef5531b6e74e: Download complete [2023-03-21T21:45:34.986Z] ef5531b6e74e: Pull complete [2023-03-21T21:45:34.986Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T21:45:34.986Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T21:45:34.986Z] ---> dfd21b5a31f5 [2023-03-21T21:45:34.986Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T21:45:34.986Z] ---> Running in 142c6272b6f5 [2023-03-21T21:45:34.986Z] Removing intermediate container 142c6272b6f5 [2023-03-21T21:45:34.986Z] ---> 0a9d4523917e [2023-03-21T21:45:34.986Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T21:45:34.986Z] ---> Running in f2c5f27bbf8b [2023-03-21T21:45:34.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T21:45:34.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T21:45:34.986Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T21:45:34.986Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T21:45:34.986Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T21:45:34.986Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T21:45:34.986Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T21:45:34.986Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T21:45:34.986Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T21:45:34.986Z] OK: 8 MiB in 20 packages [2023-03-21T21:45:34.986Z] Removing intermediate container f2c5f27bbf8b [2023-03-21T21:45:34.986Z] ---> cb8e772c09fe [2023-03-21T21:45:34.986Z] Step 17/26 : WORKDIR / [2023-03-21T21:45:34.986Z] ---> Running in fe0af21a43a8 [2023-03-21T21:45:34.986Z] Removing intermediate container fe0af21a43a8 [2023-03-21T21:45:34.986Z] ---> ea0ad6d0aad0 [2023-03-21T21:45:34.986Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T21:45:34.986Z] ---> beedd29fd967 [2023-03-21T21:45:34.986Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T21:45:34.986Z] ---> 8cd73ea8ec03 [2023-03-21T21:45:34.986Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T21:45:34.986Z] ---> 37bebdeeb686 [2023-03-21T21:45:34.986Z] Step 21/26 : EXPOSE 59984 [2023-03-21T21:45:34.986Z] ---> Running in 5fc6d7dfdc64 [2023-03-21T21:45:34.986Z] Removing intermediate container 5fc6d7dfdc64 [2023-03-21T21:45:34.986Z] ---> 236a4e3e3a2f [2023-03-21T21:45:34.986Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T21:45:34.986Z] ---> Running in a58614a1bf0b [2023-03-21T21:45:34.986Z] Removing intermediate container a58614a1bf0b [2023-03-21T21:45:34.986Z] ---> 010183d2bf9b [2023-03-21T21:45:34.986Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T21:45:34.986Z] ---> Running in 43f48bbaf83c [2023-03-21T21:45:34.986Z] Removing intermediate container 43f48bbaf83c [2023-03-21T21:45:34.986Z] ---> b2703acd70b5 [2023-03-21T21:45:34.986Z] Step 24/26 : LABEL arch=amd64 [2023-03-21T21:45:34.986Z] ---> Running in e2f7bff2e674 [2023-03-21T21:45:34.986Z] Removing intermediate container e2f7bff2e674 [2023-03-21T21:45:34.986Z] ---> 40850f1b5285 [2023-03-21T21:45:34.986Z] Step 25/26 : LABEL git_sha=6cde7523560ed1162d0316c2e9de76797ee321a6 [2023-03-21T21:45:34.986Z] ---> Running in ba354b8fcac1 [2023-03-21T21:45:34.986Z] Removing intermediate container ba354b8fcac1 [2023-03-21T21:45:34.986Z] ---> f136b63695e8 [2023-03-21T21:45:34.986Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T21:45:34.986Z] ---> Running in ec35fc26074d [2023-03-21T21:45:34.986Z] Removing intermediate container ec35fc26074d [2023-03-21T21:45:34.986Z] ---> 082e1de3bfbb [2023-03-21T21:45:34.986Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T21:45:34.986Z] Successfully built 082e1de3bfbb [2023-03-21T21:45:34.986Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] ws [2023-03-21T21:45:35.121Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] } [Pipeline] // stage [Pipeline] checkout [Pipeline] stage [Pipeline] { (Docker Push) [2023-03-21T21:45:35.218Z] The recommended git tool is: git 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 [2023-03-21T21:45:35.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T21:45:35.879Z] [2023-03-21T21:45:35.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:45:36.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T21:45:36.258Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T21:45:36.258Z] 5eb5b503b376: Pulling fs layer [2023-03-21T21:45:36.258Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T21:45:36.258Z] ec43610c2a17: Pulling fs layer [2023-03-21T21:45:36.258Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T21:45:36.258Z] 33b1e0a273af: Pulling fs layer [2023-03-21T21:45:36.258Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T21:45:36.258Z] 3a2ae6a8a46f: Waiting [2023-03-21T21:45:36.258Z] 33b1e0a273af: Waiting [2023-03-21T21:45:36.258Z] 2f39f015ded8: Pulling fs layer [2023-03-21T21:45:36.258Z] 2f39f015ded8: Waiting [2023-03-21T21:45:36.258Z] 5c69ac0246d0: Download complete [2023-03-21T21:45:36.258Z] 3a2ae6a8a46f: Download complete [2023-03-21T21:45:36.517Z] 33b1e0a273af: Verifying Checksum [2023-03-21T21:45:36.517Z] 33b1e0a273af: Download complete [2023-03-21T21:45:36.517Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T21:45:36.517Z] 5d3b04190fa2: Download complete [2023-03-21T21:45:36.517Z] ec43610c2a17: Verifying Checksum [2023-03-21T21:45:36.517Z] ec43610c2a17: Download complete [2023-03-21T21:45:36.517Z] 5eb5b503b376: Verifying Checksum [2023-03-21T21:45:36.517Z] 5eb5b503b376: Download complete [2023-03-21T21:45:37.082Z] 2f39f015ded8: Download complete [2023-03-21T21:45:37.647Z] 5eb5b503b376: Pull complete [2023-03-21T21:45:37.905Z] 5c69ac0246d0: Pull complete [2023-03-21T21:45:38.165Z] ec43610c2a17: Pull complete [2023-03-21T21:45:38.165Z] 3a2ae6a8a46f: Pull complete [2023-03-21T21:45:38.423Z] 33b1e0a273af: Pull complete [2023-03-21T21:45:38.682Z] 5d3b04190fa2: Pull complete [2023-03-21T21:45:40.384Z] using credential edgex-jenkins-ssh [2023-03-21T21:45:40.402Z] Cloning the remote Git repository [2023-03-21T21:45:40.446Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T21:45:40.540Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-21T21:45:40.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T21:45:40.681Z] > git --version # timeout=10 [2023-03-21T21:45:40.704Z] > git --version # 'git version 2.25.1' [2023-03-21T21:45:40.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T21:45:40.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T21:45:42.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T21:45:42.415Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T21:45:42.862Z] 2f39f015ded8: Pull complete [2023-03-21T21:45:42.862Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T21:45:42.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T21:45:42.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:45:43.086Z] prd-ubuntu20.04-docker-8c-8g-4955 does not seem to be running inside a container [2023-03-21T21:45:43.118Z] $ 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-282 -v /w/workspace/undry_device-onvif-camera_PR-282:/w/workspace/undry_device-onvif-camera_PR-282:rw,z -v /w/workspace/undry_device-onvif-camera_PR-282@tmp:/w/workspace/undry_device-onvif-camera_PR-282@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T21:45:43.876Z] Merging remotes/origin/levski commit d06d196f1c3aaa5dfc5806b546326a01efd75604 into PR head commit 6cde7523560ed1162d0316c2e9de76797ee321a6 [2023-03-21T21:45:43.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T21:45:43.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T21:45:43.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T21:45:43.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/282/head:refs/remotes/origin/PR-282 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T21:45:43.894Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T21:45:43.970Z] > git checkout -f 6cde7523560ed1162d0316c2e9de76797ee321a6 # timeout=10 [2023-03-21T21:45:44.348Z] Merge succeeded, producing 6cde7523560ed1162d0316c2e9de76797ee321a6 [2023-03-21T21:45:44.349Z] Checking out Revision 6cde7523560ed1162d0316c2e9de76797ee321a6 (PR-282) [2023-03-21T21:45:44.254Z] > git remote # timeout=10 [2023-03-21T21:45:44.277Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T21:45:44.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T21:45:44.304Z] > git merge d06d196f1c3aaa5dfc5806b546326a01efd75604 # timeout=10 [2023-03-21T21:45:44.329Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T21:45:44.357Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T21:45:44.370Z] > git checkout -f 6cde7523560ed1162d0316c2e9de76797ee321a6 # timeout=10 [2023-03-21T21:45:46.395Z] $ docker top d586ddd6a3ba9afb198dd205e66098bfc8c29d70162c93da56706d4290dc337f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:45:46.848Z] ---> job-cost.sh [2023-03-21T21:45:46.848Z] lf-activate-venv: SKIPPING [2023-03-21T21:45:46.848Z] INFO: No Stack... [2023-03-21T21:45:47.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T21:45:47.364Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T21:45:47.674Z] + cat /w/workspace/undry_device-onvif-camera_PR-282/archives/cost.csv [2023-03-21T21:45:47.674Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T21:45:47.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [2023-03-21T21:45:47.718Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] did not exist. Created. [2023-03-21T21:45:47.718Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T21:45:48.095Z] Commit message: "fix: device-sdk levski patch stable tag added" [2023-03-21T21:45:48.113Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T21:45:48.166Z] Stashed 1 file(s) [2023-03-21T21:45:48.142Z] > git --version # timeout=10 [2023-03-21T21:45:48.153Z] > git --version # 'git version 2.25.1' [2023-03-21T21:45:48.168Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [2023-03-21T21:45:48.201Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T21:45:48.281Z] $ docker stop --time=1 d586ddd6a3ba9afb198dd205e66098bfc8c29d70162c93da56706d4290dc337f [2023-03-21T21:45:48.540Z] [2023-03-21T21:45:48.540Z] GitHub has been notified of this commit’s build result [2023-03-21T21:45:48.540Z] [2023-03-21T21:45:49.425Z] $ docker rm -f --volumes d586ddd6a3ba9afb198dd205e66098bfc8c29d70162c93da56706d4290dc337f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T21:45:50.318Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T21:45:50.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T21:45:50.318Z] Dload Upload Total Spent Left Speed [2023-03-21T21:45:50.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-03-21T21:45:51.018Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T21:45:51.359Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T21:45:51.359Z] + sudo tee /etc/docker/daemon.new [2023-03-21T21:45:51.359Z] { [2023-03-21T21:45:51.359Z] "registry-mirrors": [ [2023-03-21T21:45:51.359Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T21:45:51.359Z] ], [2023-03-21T21:45:51.359Z] "bip": "10.250.0.254/24", [2023-03-21T21:45:51.359Z] "hosts": [ [2023-03-21T21:45:51.359Z] "tcp://0.0.0.0:5555", [2023-03-21T21:45:51.359Z] "unix:///var/run/docker.sock" [2023-03-21T21:45:51.359Z] ], [2023-03-21T21:45:51.359Z] "mtu": 1458, [2023-03-21T21:45:51.359Z] "selinux-enabled": true, [2023-03-21T21:45:51.359Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T21:45:51.359Z] } [Pipeline] sh [2023-03-21T21:45:51.702Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T21:45:52.044Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T21:46:10.375Z] provisioning config files... [2023-03-21T21:46:10.404Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11330459113317444116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:46:10.803Z] ---> docker-login.sh [2023-03-21T21:46:10.804Z] nexus3.edgexfoundry.org:10001 [2023-03-21T21:46:11.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:46:11.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:46:11.394Z] Configure a credential helper to remove this warning. See [2023-03-21T21:46:11.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:46:11.394Z] [2023-03-21T21:46:11.394Z] Login Succeeded [2023-03-21T21:46:11.394Z] nexus3.edgexfoundry.org:10002 [2023-03-21T21:46:11.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:46:11.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:46:11.932Z] Configure a credential helper to remove this warning. See [2023-03-21T21:46:11.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:46:11.932Z] [2023-03-21T21:46:11.932Z] Login Succeeded [2023-03-21T21:46:11.932Z] nexus3.edgexfoundry.org:10003 [2023-03-21T21:46:12.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:46:12.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:46:12.201Z] Configure a credential helper to remove this warning. See [2023-03-21T21:46:12.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:46:12.201Z] [2023-03-21T21:46:12.201Z] Login Succeeded [2023-03-21T21:46:12.201Z] nexus3.edgexfoundry.org:10004 [2023-03-21T21:46:12.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:46:12.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:46:12.744Z] Configure a credential helper to remove this warning. See [2023-03-21T21:46:12.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:46:12.744Z] [2023-03-21T21:46:12.744Z] Login Succeeded [2023-03-21T21:46:12.744Z] docker.io [2023-03-21T21:46:13.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T21:46:13.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T21:46:13.283Z] Configure a credential helper to remove this warning. See [2023-03-21T21:46:13.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T21:46:13.283Z] [2023-03-21T21:46:13.283Z] Login Succeeded [2023-03-21T21:46:13.283Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T21:46:13.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T21:46:13.702Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T21:46:13.737Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T21:46:13.770Z] ========================================================= [2023-03-21T21:46:13.770Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T21:46:13.770Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:46:14.252Z] + 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 . [2023-03-21T21:46:16.848Z] Sending build context to Docker daemon 19.73MB [2023-03-21T21:46:16.848Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T21:46:16.848Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T21:46:16.848Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T21:46:16.848Z] 9b18e9b68314: Pulling fs layer [2023-03-21T21:46:16.848Z] 35d82f9e3411: Pulling fs layer [2023-03-21T21:46:16.848Z] e16973657156: Pulling fs layer [2023-03-21T21:46:16.848Z] fc693d55d65f: Pulling fs layer [2023-03-21T21:46:16.848Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T21:46:16.848Z] dda99020689f: Pulling fs layer [2023-03-21T21:46:16.848Z] db1c61fa0a46: Pulling fs layer [2023-03-21T21:46:16.848Z] 891c053d2c06: Pulling fs layer [2023-03-21T21:46:16.848Z] fc693d55d65f: Waiting [2023-03-21T21:46:16.848Z] dda99020689f: Waiting [2023-03-21T21:46:16.848Z] 7e9fc2657dce: Waiting [2023-03-21T21:46:16.848Z] db1c61fa0a46: Waiting [2023-03-21T21:46:16.848Z] 891c053d2c06: Waiting [2023-03-21T21:46:16.848Z] e16973657156: Verifying Checksum [2023-03-21T21:46:16.848Z] e16973657156: Download complete [2023-03-21T21:46:16.848Z] 35d82f9e3411: Verifying Checksum [2023-03-21T21:46:16.848Z] 35d82f9e3411: Download complete [2023-03-21T21:46:16.848Z] 7e9fc2657dce: Download complete [2023-03-21T21:46:16.848Z] dda99020689f: Verifying Checksum [2023-03-21T21:46:16.848Z] dda99020689f: Download complete [2023-03-21T21:46:16.848Z] 9b18e9b68314: Verifying Checksum [2023-03-21T21:46:16.848Z] 9b18e9b68314: Download complete [2023-03-21T21:46:17.836Z] 9b18e9b68314: Pull complete [2023-03-21T21:46:18.105Z] 891c053d2c06: Verifying Checksum [2023-03-21T21:46:18.105Z] 891c053d2c06: Download complete [2023-03-21T21:46:18.381Z] 35d82f9e3411: Pull complete [2023-03-21T21:46:18.660Z] e16973657156: Pull complete [2023-03-21T21:46:19.250Z] db1c61fa0a46: Verifying Checksum [2023-03-21T21:46:19.250Z] db1c61fa0a46: Download complete [2023-03-21T21:46:19.842Z] fc693d55d65f: Verifying Checksum [2023-03-21T21:46:19.842Z] fc693d55d65f: Download complete [2023-03-21T21:46:32.174Z] fc693d55d65f: Pull complete [2023-03-21T21:46:32.174Z] 7e9fc2657dce: Pull complete [2023-03-21T21:46:32.174Z] dda99020689f: Pull complete [2023-03-21T21:46:38.832Z] db1c61fa0a46: Pull complete [2023-03-21T21:46:40.250Z] 891c053d2c06: Pull complete [2023-03-21T21:46:40.250Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T21:46:40.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T21:46:40.250Z] ---> f96f9c87975a [2023-03-21T21:46:40.250Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T21:46:45.599Z] ---> Running in ced065c3500d [2023-03-21T21:46:45.599Z] Removing intermediate container ced065c3500d [2023-03-21T21:46:45.599Z] ---> 4b7e14e00fc5 [2023-03-21T21:46:45.599Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T21:46:45.599Z] ---> Running in 3f896d70b10e [2023-03-21T21:46:45.599Z] Removing intermediate container 3f896d70b10e [2023-03-21T21:46:45.599Z] ---> 387202381109 [2023-03-21T21:46:45.599Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T21:46:45.871Z] ---> Running in 47ede517f0e7 [2023-03-21T21:46:46.139Z] Removing intermediate container 47ede517f0e7 [2023-03-21T21:46:46.139Z] ---> 1f7f3c28a312 [2023-03-21T21:46:46.139Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T21:46:46.139Z] ---> Running in 3c38c035c40a [2023-03-21T21:46:46.407Z] Removing intermediate container 3c38c035c40a [2023-03-21T21:46:46.407Z] ---> 27c30e8b8170 [2023-03-21T21:46:46.407Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T21:46:46.407Z] ---> Running in dfa75c5f54ae [2023-03-21T21:46:46.681Z] Removing intermediate container dfa75c5f54ae [2023-03-21T21:46:46.681Z] ---> 6d57d5943458 [2023-03-21T21:46:46.681Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T21:46:46.951Z] ---> Running in a3e4f486c8e3 [2023-03-21T21:46:47.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T21:46:48.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T21:46:49.149Z] OK: 221 MiB in 51 packages [2023-03-21T21:46:50.121Z] Removing intermediate container a3e4f486c8e3 [2023-03-21T21:46:50.121Z] ---> 100c92767ba1 [2023-03-21T21:46:50.121Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T21:46:50.121Z] ---> Running in f4bcbd0fee78 [2023-03-21T21:46:50.390Z] Removing intermediate container f4bcbd0fee78 [2023-03-21T21:46:50.390Z] ---> 839607982c26 [2023-03-21T21:46:50.390Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T21:46:50.977Z] ---> ed2e7c0cc263 [2023-03-21T21:46:50.977Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T21:46:50.977Z] ---> Running in ab183246b74f [2023-03-21T21:47:47.387Z] Removing intermediate container ab183246b74f [2023-03-21T21:47:47.387Z] ---> 4af90fbddf7b [2023-03-21T21:47:47.387Z] Step 12/13 : COPY . . [2023-03-21T21:47:47.387Z] ---> df0c4a8b4b00 [2023-03-21T21:47:47.387Z] Step 13/13 : RUN ${MAKE} [2023-03-21T21:47:47.387Z] ---> Running in 55dd27fb3a3b [2023-03-21T21:47:47.387Z] noop [2023-03-21T21:47:47.387Z] Removing intermediate container 55dd27fb3a3b [2023-03-21T21:47:47.387Z] ---> b66832ebefa9 [2023-03-21T21:47:47.387Z] Successfully built b66832ebefa9 [2023-03-21T21:47:47.387Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:47:47.858Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T21:47:47.858Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:47:48.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-4956 does not seem to be running inside a container [2023-03-21T21:47:48.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T21:47:49.302Z] $ docker top a456d35dcd1d74c4a6b3b4aba8405fa2d5142e8ce0f62d9ec3ef625325c18ac0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T21:47:50.151Z] + go version [2023-03-21T21:47:50.151Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T21:47:50.193Z] $ docker stop --time=1 a456d35dcd1d74c4a6b3b4aba8405fa2d5142e8ce0f62d9ec3ef625325c18ac0 [2023-03-21T21:47:53.485Z] $ docker rm -f --volumes a456d35dcd1d74c4a6b3b4aba8405fa2d5142e8ce0f62d9ec3ef625325c18ac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:47:54.313Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T21:47:54.313Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:47:54.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-4956 does not seem to be running inside a container [2023-03-21T21:47:54.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T21:47:55.717Z] $ docker top f5d1850fd84e72c292fbff5b4650f20d86ca93c4410503eb368b5c4f1f9f5d04 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T21:47:56.268Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T21:47:56.655Z] + make test [2023-03-21T21:47:56.922Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T21:47:58.338Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T21:49:34.978Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T21:49:34.979Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.197s coverage: 29.3% of statements [2023-03-21T21:49:34.979Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T21:49:49.998Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.620s coverage: 86.5% of statements [2023-03-21T21:49:49.998Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T21:49:49.998Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T21:50:22.280Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T21:50:22.280Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T21:50:22.280Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T21:50:22.320Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T21:50:22.354Z] $ docker stop --time=1 f5d1850fd84e72c292fbff5b4650f20d86ca93c4410503eb368b5c4f1f9f5d04 [2023-03-21T21:50:24.286Z] $ docker rm -f --volumes f5d1850fd84e72c292fbff5b4650f20d86ca93c4410503eb368b5c4f1f9f5d04 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T21:50:25.412Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T21:50:25.447Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T21:50:26.075Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T21:50:26.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T21:50:27.043Z] + ls -al . [2023-03-21T21:50:27.043Z] total 244 [2023-03-21T21:50:27.043Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 21:47 . [2023-03-21T21:50:27.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:45 .. [2023-03-21T21:50:27.043Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 21:45 .git [2023-03-21T21:50:27.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 21:45 .github [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 21:45 .gitignore [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 21:45 .golangci.yml [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 21:45 Attribution.txt [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 21 21:45 CHANGELOG.md [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 21:45 Dockerfile [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 21:45 GOVERNANCE.md [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 21:45 Jenkinsfile [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 21:45 LICENSE [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 21:45 Makefile [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 21:45 OWNERS.md [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 21:45 README.md [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 21:43 VERSION [2023-03-21T21:50:27.043Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 21:45 bin [2023-03-21T21:50:27.043Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 21:45 cmd [2023-03-21T21:50:27.043Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 21:49 coverage.out [2023-03-21T21:50:27.043Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 21:45 doc [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 21:45 go.mod [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 21:45 go.sum [2023-03-21T21:50:27.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:45 internal [2023-03-21T21:50:27.043Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 21:45 snap [2023-03-21T21:50:27.043Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 21:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:50:27.479Z] + 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=6cde7523560ed1162d0316c2e9de76797ee321a6 --label arch=arm64 --label version=0.0.0 . [2023-03-21T21:50:28.885Z] Sending build context to Docker daemon 19.81MB [2023-03-21T21:50:28.885Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T21:50:28.885Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T21:50:28.885Z] ---> b66832ebefa9 [2023-03-21T21:50:28.885Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T21:50:28.885Z] ---> Running in beb6a69bef45 [2023-03-21T21:50:30.833Z] Removing intermediate container beb6a69bef45 [2023-03-21T21:50:30.833Z] ---> 80a68739e7f9 [2023-03-21T21:50:30.833Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T21:50:30.833Z] ---> Running in 1f57908ae710 [2023-03-21T21:50:31.101Z] Removing intermediate container 1f57908ae710 [2023-03-21T21:50:31.101Z] ---> 0a5b98ad6b80 [2023-03-21T21:50:31.101Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T21:50:31.101Z] ---> Running in e219e377b5f7 [2023-03-21T21:50:32.636Z] Removing intermediate container e219e377b5f7 [2023-03-21T21:50:32.636Z] ---> 59e45b8bc356 [2023-03-21T21:50:32.636Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T21:50:32.948Z] ---> Running in 28e4224fbf7c [2023-03-21T21:50:33.223Z] Removing intermediate container 28e4224fbf7c [2023-03-21T21:50:33.223Z] ---> 5b7dfa99f20f [2023-03-21T21:50:33.223Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T21:50:33.223Z] ---> Running in 5cbb1a384d95 [2023-03-21T21:50:33.520Z] Removing intermediate container 5cbb1a384d95 [2023-03-21T21:50:33.520Z] ---> a8be6215b81c [2023-03-21T21:50:33.520Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T21:50:33.833Z] ---> Running in 9b8155527ecb [2023-03-21T21:50:34.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T21:50:35.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T21:50:36.063Z] OK: 221 MiB in 51 packages [2023-03-21T21:50:37.032Z] Removing intermediate container 9b8155527ecb [2023-03-21T21:50:37.032Z] ---> 667af9af7e19 [2023-03-21T21:50:37.032Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T21:50:37.032Z] ---> Running in cf1437381a95 [2023-03-21T21:50:37.301Z] Removing intermediate container cf1437381a95 [2023-03-21T21:50:37.301Z] ---> 4649c6686262 [2023-03-21T21:50:37.301Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T21:50:37.892Z] ---> b35f542abb9f [2023-03-21T21:50:37.892Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T21:50:37.892Z] ---> Running in 903e3721838e [2023-03-21T21:50:40.487Z] Removing intermediate container 903e3721838e [2023-03-21T21:50:40.487Z] ---> 3642c41fe18b [2023-03-21T21:50:40.487Z] Step 12/26 : COPY . . [2023-03-21T21:50:41.905Z] ---> a606cafb3db8 [2023-03-21T21:50:41.905Z] Step 13/26 : RUN ${MAKE} [2023-03-21T21:50:41.905Z] ---> Running in fd209875c567 [2023-03-21T21:50:42.876Z] 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T21:53:04.594Z] Removing intermediate container fd209875c567 [2023-03-21T21:53:04.594Z] ---> 71c96838f517 [2023-03-21T21:53:04.594Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T21:53:04.594Z] 3.16: Pulling from library/alpine [2023-03-21T21:53:04.594Z] 3760b48202b3: Pulling fs layer [2023-03-21T21:53:04.594Z] 3760b48202b3: Verifying Checksum [2023-03-21T21:53:04.594Z] 3760b48202b3: Download complete [2023-03-21T21:53:04.594Z] 3760b48202b3: Pull complete [2023-03-21T21:53:04.594Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T21:53:04.594Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T21:53:04.594Z] ---> 4c81e5bf8899 [2023-03-21T21:53:04.594Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T21:53:04.594Z] ---> Running in 402e0814d509 [2023-03-21T21:53:04.594Z] Removing intermediate container 402e0814d509 [2023-03-21T21:53:04.594Z] ---> 5f1c057b6e1c [2023-03-21T21:53:04.594Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T21:53:04.594Z] ---> Running in 6aacd6885250 [2023-03-21T21:53:04.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T21:53:04.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T21:53:05.823Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T21:53:05.823Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T21:53:05.823Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T21:53:05.823Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T21:53:05.823Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T21:53:05.823Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T21:53:05.823Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T21:53:05.823Z] OK: 8 MiB in 20 packages [2023-03-21T21:53:06.797Z] Removing intermediate container 6aacd6885250 [2023-03-21T21:53:06.797Z] ---> bf513e86c327 [2023-03-21T21:53:06.797Z] Step 17/26 : WORKDIR / [2023-03-21T21:53:07.063Z] ---> Running in 5afab26ac6b8 [2023-03-21T21:53:07.333Z] Removing intermediate container 5afab26ac6b8 [2023-03-21T21:53:07.333Z] ---> ec064e517354 [2023-03-21T21:53:07.333Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T21:53:08.740Z] ---> 20cdec96bd18 [2023-03-21T21:53:08.740Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T21:53:09.325Z] ---> b71ddf8a7222 [2023-03-21T21:53:09.325Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T21:53:09.591Z] ---> 2f2c4e6085fe [2023-03-21T21:53:09.591Z] Step 21/26 : EXPOSE 59984 [2023-03-21T21:53:09.862Z] ---> Running in 37e33ed1e651 [2023-03-21T21:53:10.128Z] Removing intermediate container 37e33ed1e651 [2023-03-21T21:53:10.128Z] ---> 333dabf3a5cb [2023-03-21T21:53:10.128Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T21:53:10.128Z] ---> Running in bd25df63b121 [2023-03-21T21:53:10.395Z] Removing intermediate container bd25df63b121 [2023-03-21T21:53:10.395Z] ---> b05cfbbec101 [2023-03-21T21:53:10.395Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T21:53:10.395Z] ---> Running in bcae90ac7fa4 [2023-03-21T21:53:10.664Z] Removing intermediate container bcae90ac7fa4 [2023-03-21T21:53:10.664Z] ---> 16e993ab5eb3 [2023-03-21T21:53:10.664Z] Step 24/26 : LABEL arch=arm64 [2023-03-21T21:53:10.930Z] ---> Running in e21f6696578b [2023-03-21T21:53:11.195Z] Removing intermediate container e21f6696578b [2023-03-21T21:53:11.195Z] ---> 675bc124c468 [2023-03-21T21:53:11.195Z] Step 25/26 : LABEL git_sha=6cde7523560ed1162d0316c2e9de76797ee321a6 [2023-03-21T21:53:11.195Z] ---> Running in 8457d0bd47a5 [2023-03-21T21:53:11.461Z] Removing intermediate container 8457d0bd47a5 [2023-03-21T21:53:11.461Z] ---> f5b34390724e [2023-03-21T21:53:11.462Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T21:53:11.462Z] ---> Running in a9b247c80820 [2023-03-21T21:53:11.728Z] Removing intermediate container a9b247c80820 [2023-03-21T21:53:11.728Z] ---> 77c84ff7442b [2023-03-21T21:53:11.728Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T21:53:11.728Z] Successfully built 77c84ff7442b [2023-03-21T21:53:11.728Z] 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 [2023-03-21T21:53:12.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T21:53:12.538Z] [2023-03-21T21:53:12.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:53:12.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T21:53:12.951Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T21:53:12.951Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T21:53:12.951Z] 04944245beec: Pulling fs layer [2023-03-21T21:53:12.951Z] 699f458cf7ca: Pulling fs layer [2023-03-21T21:53:12.951Z] 765212b225bb: Pulling fs layer [2023-03-21T21:53:12.951Z] f23df028b6ca: Pulling fs layer [2023-03-21T21:53:12.951Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T21:53:12.951Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T21:53:12.951Z] 765212b225bb: Waiting [2023-03-21T21:53:12.951Z] f23df028b6ca: Waiting [2023-03-21T21:53:12.951Z] 2437ff75d9bd: Waiting [2023-03-21T21:53:12.951Z] d65c8cfc05b1: Waiting [2023-03-21T21:53:13.222Z] 04944245beec: Verifying Checksum [2023-03-21T21:53:13.222Z] 04944245beec: Download complete [2023-03-21T21:53:13.222Z] 765212b225bb: Verifying Checksum [2023-03-21T21:53:13.222Z] 765212b225bb: Download complete [2023-03-21T21:53:13.222Z] f23df028b6ca: Verifying Checksum [2023-03-21T21:53:13.222Z] f23df028b6ca: Download complete [2023-03-21T21:53:13.222Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T21:53:13.222Z] d65c8cfc05b1: Download complete [2023-03-21T21:53:13.493Z] 699f458cf7ca: Verifying Checksum [2023-03-21T21:53:13.493Z] 699f458cf7ca: Download complete [2023-03-21T21:53:13.761Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T21:53:13.761Z] 8998bd30e6a1: Download complete [2023-03-21T21:53:16.364Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T21:53:16.364Z] 2437ff75d9bd: Download complete [2023-03-21T21:53:17.773Z] 8998bd30e6a1: Pull complete [2023-03-21T21:53:20.364Z] 04944245beec: Pull complete [2023-03-21T21:53:21.322Z] 699f458cf7ca: Pull complete [2023-03-21T21:53:21.322Z] 765212b225bb: Pull complete [2023-03-21T21:53:22.279Z] f23df028b6ca: Pull complete [2023-03-21T21:53:22.279Z] d65c8cfc05b1: Pull complete [2023-03-21T21:53:37.262Z] 2437ff75d9bd: Pull complete [2023-03-21T21:53:37.262Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T21:53:37.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T21:53:37.262Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:53:37.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-4956 does not seem to be running inside a container [2023-03-21T21:53:37.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T21:53:40.273Z] $ docker top e2af411cdf9c247f26b0ca99955ca3cf94a9e949613cbf569c063ecfb338cc0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:41.184Z] ---> job-cost.sh [2023-03-21T21:53:41.184Z] lf-activate-venv: SKIPPING [2023-03-21T21:53:41.184Z] INFO: No Stack... [2023-03-21T21:53:41.766Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T21:53:42.348Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T21:53:43.003Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-21T21:53:43.003Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T21:53:43.084Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [2023-03-21T21:53:43.089Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] did not exist. Created. [2023-03-21T21:53:43.089Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T21:53:43.818Z] /w/workspace/device-onvif-camera/1@tmp/durable-e1108a12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T21:53:44.487Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T21:53:44.521Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T21:53:44.585Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T21:53:44.606Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-282-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T21:53:44.696Z] $ docker stop --time=1 e2af411cdf9c247f26b0ca99955ca3cf94a9e949613cbf569c063ecfb338cc0d [2023-03-21T21:53:46.168Z] $ docker rm -f --volumes e2af411cdf9c247f26b0ca99955ca3cf94a9e949613cbf569c063ecfb338cc0d [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 [2023-03-21T21:53:47.192Z] provisioning config files... [2023-03-21T21:53:47.200Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-282@tmp/config5779198062072934176tmp [Pipeline] { [Pipeline] sh [2023-03-21T21:53:47.543Z] + set +x [2023-03-21T21:53:47.543Z] + bash -s -- [2023-03-21T21:53:47.543Z] + curl -s https://codecov.io/bash [2023-03-21T21:53:47.543Z] [2023-03-21T21:53:47.543Z] _____ _ [2023-03-21T21:53:47.543Z] / ____| | | [2023-03-21T21:53:47.543Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T21:53:47.543Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T21:53:47.543Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T21:53:47.543Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T21:53:47.543Z] Bash-1.0.6 [2023-03-21T21:53:47.543Z] [2023-03-21T21:53:47.543Z] [2023-03-21T21:53:47.543Z] ==> git version 2.25.1 found [2023-03-21T21:53:47.543Z] ==> 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 [2023-03-21T21:53:47.543Z] Release-Date: 2020-01-08 [2023-03-21T21:53:47.543Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T21:53:47.543Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T21:53:47.543Z] ==> Jenkins CI detected. [2023-03-21T21:53:47.543Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-282 [2023-03-21T21:53:47.543Z] project root: . [2023-03-21T21:53:47.543Z] --> token set from env [2023-03-21T21:53:47.543Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T21:53:47.543Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T21:53:47.543Z] ==> Python coveragepy not found [2023-03-21T21:53:47.543Z] ==> Searching for coverage reports in: [2023-03-21T21:53:47.543Z] + . [2023-03-21T21:53:47.802Z] -> Found 1 reports [2023-03-21T21:53:47.802Z] ==> Detecting git/mercurial file structure [2023-03-21T21:53:47.802Z] ==> Reading reports [2023-03-21T21:53:47.802Z] + ./coverage.out bytes=79184 [2023-03-21T21:53:47.802Z] ==> Appending adjustments [2023-03-21T21:53:47.802Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T21:53:47.802Z] + Found adjustments [2023-03-21T21:53:47.802Z] ==> Gzipping contents [2023-03-21T21:53:47.802Z] 12K /tmp/codecov.SJB0jD.gz [2023-03-21T21:53:47.802Z] ==> Uploading reports [2023-03-21T21:53:47.802Z] url: https://codecov.io [2023-03-21T21:53:47.802Z] query: branch=PR-282&commit=6cde7523560ed1162d0316c2e9de76797ee321a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=282&job=&cmd_args= [2023-03-21T21:53:47.802Z] -> Pinging Codecov [2023-03-21T21:53:47.802Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-282&commit=6cde7523560ed1162d0316c2e9de76797ee321a6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-282%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=282&job=&cmd_args= [2023-03-21T21:53:48.061Z] -> Uploading to [2023-03-21T21:53:48.062Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/6cde7523560ed1162d0316c2e9de76797ee321a6/34f50e5a-4548-4584-9335-9cc3a5437649.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T215347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6db80dda79ed45261194d411c87f5053c6ebf379238d9409ccddfe55516625d1 [2023-03-21T21:53:48.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T21:53:48.062Z] Dload Upload Total Spent Left Speed [2023-03-21T21:53:48.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10873 0 0 100 10873 0 42143 --:--:-- --:--:-- --:--:-- 42143 [2023-03-21T21:53:48.320Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6cde7523560ed1162d0316c2e9de76797ee321a6 [Pipeline] } [2023-03-21T21:53:48.349Z] 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 [2023-03-21T21:53:50.115Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-282/archives ] [2023-03-21T21:53:50.115Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-282/archives [2023-03-21T21:53:50.115Z] total 16 [2023-03-21T21:53:50.115Z] drwxr-xr-x 3 root root 4096 Mar 21 21:45 . [2023-03-21T21:53:50.115Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 21:45 .. [2023-03-21T21:53:50.115Z] drwxr-xr-x 2 root root 4096 Mar 21 21:45 cost [2023-03-21T21:53:50.115Z] -rw-r--r-- 1 root root 91 Mar 21 21:45 cost.csv [2023-03-21T21:53:50.115Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-282/archives [2023-03-21T21:53:50.115Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-282/archives [2023-03-21T21:53:50.115Z] total 16 [2023-03-21T21:53:50.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 21:45 . [2023-03-21T21:53:50.115Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 21:45 .. [2023-03-21T21:53:50.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 21:45 cost [2023-03-21T21:53:50.115Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 21:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:50.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:51.335Z] ---> package-listing.sh [2023-03-21T21:53:51.336Z] ++ facter osfamily [2023-03-21T21:53:51.336Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T21:53:51.596Z] + OS_FAMILY=debian [2023-03-21T21:53:51.596Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-282 [2023-03-21T21:53:51.596Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T21:53:51.596Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T21:53:51.596Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T21:53:51.596Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T21:53:51.596Z] + '[' /w/workspace/undry_device-onvif-camera_PR-282 ']' [2023-03-21T21:53:51.596Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T21:53:51.596Z] + case "${OS_FAMILY}" in [2023-03-21T21:53:51.596Z] + dpkg -l [2023-03-21T21:53:51.596Z] + grep '^ii' [2023-03-21T21:53:51.596Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T21:53:51.596Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T21:53:51.596Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T21:53:51.596Z] + '[' /w/workspace/undry_device-onvif-camera_PR-282 ']' [2023-03-21T21:53:51.596Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-282/archives/ [2023-03-21T21:53:51.596Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-282/archives/ [Pipeline] echo [2023-03-21T21:53:51.627Z] 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-282/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T21:53:51.917Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T21:53:52.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T21:53:52.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T21:53:52.694Z] prd-ubuntu20.04-docker-8c-8g-4955 does not seem to be running inside a container [2023-03-21T21:53:52.729Z] $ 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-282/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-282 -v /w/workspace/undry_device-onvif-camera_PR-282:/w/workspace/undry_device-onvif-camera_PR-282:rw,z -v /w/workspace/undry_device-onvif-camera_PR-282@tmp:/w/workspace/undry_device-onvif-camera_PR-282@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T21:53:52.915Z] $ docker top dd803185c681a299cdd92547677ab0cbe11fdec1b8b8edec067ae0f53b4b4933 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T21:53:53.309Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T21:53:53.621Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T21:53:53.931Z] + ls /var/log/sa-host [2023-03-21T21:53:53.931Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T21:53:54.155Z] provisioning config files... [2023-03-21T21:53:54.164Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-282@tmp/config13747582619567799830tmp [Pipeline] { [Pipeline] echo [2023-03-21T21:53:54.214Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:54.522Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T21:53:54.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:54.960Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T21:53:54.993Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:55.309Z] ---> sudo-logs.sh [2023-03-21T21:53:55.309Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T21:53:55.393Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:55.703Z] ---> job-cost.sh [2023-03-21T21:53:55.703Z] lf-activate-venv: SKIPPING [2023-03-21T21:53:55.703Z] DEBUG: total: 0.2199999988079071 [2023-03-21T21:53:55.703Z] INFO: Retrieving Stack Cost... [2023-03-21T21:53:55.962Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T21:53:56.529Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T21:53:56.562Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T21:53:56.870Z] ---> logs-deploy.sh [2023-03-21T21:53:56.870Z] lf-activate-venv: SKIPPING [2023-03-21T21:53:56.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-282/1 [2023-03-21T21:53:56.870Z] INFO: archiving workspace using pattern(s): [2023-03-21T21:53:57.809Z] Archives upload complete. [2023-03-21T21:53:57.809Z] INFO: archiving logs to Nexus