Push event to branch upgrade-sdk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0df8b436ad89036636470f87ff77d3a2d3cdf27a 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-ssh5283114629479221247.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh431396631779464340.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/upgrade-sdk/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/upgrade-sdk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17984090586359812557.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/upgrade-sdk/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3837705890424473681.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh1394664839554154932.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/upgrade-sdk/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/upgrade-sdk/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2120456089179231961.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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-2557 in /w/workspace/_device-onvif-camera_upgrade-sdk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 0df8b436ad89036636470f87ff77d3a2d3cdf27a (upgrade-sdk) Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/_device-onvif-camera_upgrade-sdk # 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0df8b436ad89036636470f87ff77d3a2d3cdf27a # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T10:50:18.784Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T10:50:18.965Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T10:50:19.060Z] ========================================================= [2022-06-17T10:50:19.060Z] EdgeX Global Pipelines Version Info [2022-06-17T10:50:19.060Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:50:19.861Z] ------------------- [2022-06-17T10:50:19.862Z] stable info: [2022-06-17T10:50:19.862Z] ------------------- [2022-06-17T10:50:19.862Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T10:50:19.862Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:50:19.862Z] Message: update stable to v1.0.234 [2022-06-17T10:50:20.438Z] ------------------- [2022-06-17T10:50:20.438Z] experimental info: [2022-06-17T10:50:20.438Z] ------------------- [2022-06-17T10:50:20.438Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T10:50:20.438Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T10:50:20.438Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T10:50:20.839Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-17T10:50:20.877Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-17T10:50:20.915Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T10:50:20.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T10:50:20.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T10:50:21.025Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T10:50:21.064Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T10:50:21.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T10:50:21.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T10:50:21.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T10:50:21.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T10:50:21.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-17T10:50:21.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T10:50:21.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T10:50:21.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:50:21.436Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T10:50:21.476Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:50:21.513Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T10:50:21.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T10:50:21.584Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T10:50:21.622Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T10:50:21.663Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T10:50:21.697Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T10:50:21.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T10:50:21.781Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T10:50:21.822Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T10:50:21.855Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T10:50:21.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = upgrade-sdk [Pipeline] echo [2022-06-17T10:50:21.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = upgrade-sdk [Pipeline] echo [2022-06-17T10:50:21.973Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = upgrade-sdk [Pipeline] echo [2022-06-17T10:50:22.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0df8b436ad89036636470f87ff77d3a2d3cdf27a [Pipeline] echo [2022-06-17T10:50:22.052Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0df8b43 [Pipeline] echo [2022-06-17T10:50:22.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:50:22.199Z] provisioning config files... [2022-06-17T10:50:22.214Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/config7071149422842614960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:50:22.558Z] ---> docker-login.sh [2022-06-17T10:50:22.558Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:50:22.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:22.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:22.819Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:22.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:22.819Z] [2022-06-17T10:50:22.819Z] Login Succeeded [2022-06-17T10:50:22.819Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:50:23.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:23.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:23.084Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:23.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:23.084Z] [2022-06-17T10:50:23.084Z] Login Succeeded [2022-06-17T10:50:23.084Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:50:23.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:23.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:23.084Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:23.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:23.084Z] [2022-06-17T10:50:23.084Z] Login Succeeded [2022-06-17T10:50:23.084Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:50:23.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:23.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:23.344Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:23.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:23.344Z] [2022-06-17T10:50:23.344Z] Login Succeeded [2022-06-17T10:50:23.344Z] docker.io [2022-06-17T10:50:23.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:23.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:23.916Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:23.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:23.916Z] [2022-06-17T10:50:23.916Z] Login Succeeded [2022-06-17T10:50:23.916Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:50:23.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T10:50:24.559Z] + git rev-list -1 --merges 0df8b436ad89036636470f87ff77d3a2d3cdf27a~1..0df8b436ad89036636470f87ff77d3a2d3cdf27a [Pipeline] echo [2022-06-17T10:50:24.611Z] -----------> git rev-list -1 --merges 0df8b436ad89036636470f87ff77d3a2d3cdf27a~1..0df8b436ad89036636470f87ff77d3a2d3cdf27a 0df8b436ad89036636470f87ff77d3a2d3cdf27a [false] [Pipeline] sh [2022-06-17T10:50:24.926Z] + git log --format=format:%s -1 0df8b436ad89036636470f87ff77d3a2d3cdf27a [Pipeline] echo [2022-06-17T10:50:24.961Z] ========================================================= [2022-06-17T10:50:24.961Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T10:50:24.961Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:50:25.404Z] + git log --format=format:%s -1 0df8b436ad89036636470f87ff77d3a2d3cdf27a [Pipeline] echo [2022-06-17T10:50:25.436Z] [semverPrep] GIT_COMMIT: 0df8b436ad89036636470f87ff77d3a2d3cdf27a, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T10:50:25.465Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T10:50:25.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T10:50:25.855Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T10:50:25.855Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T10:50:25.855Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T10:50:25.855Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T10:50:25.855Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T10:50:25.855Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:50:26.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:50:26.334Z] [2022-06-17T10:50:26.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:50:26.722Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:50:26.722Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T10:50:26.722Z] 42c077c10790: Pulling fs layer [2022-06-17T10:50:26.722Z] f63e77b7563a: Pulling fs layer [2022-06-17T10:50:26.722Z] bd5fdadae976: Pulling fs layer [2022-06-17T10:50:26.722Z] 205491f53016: Pulling fs layer [2022-06-17T10:50:26.722Z] df18705c85c3: Pulling fs layer [2022-06-17T10:50:26.722Z] bdb3f477010e: Pulling fs layer [2022-06-17T10:50:26.722Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T10:50:26.722Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T10:50:26.722Z] bdb8f0575790: Pulling fs layer [2022-06-17T10:50:26.722Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T10:50:26.722Z] 2343380bae48: Pulling fs layer [2022-06-17T10:50:26.722Z] df18705c85c3: Waiting [2022-06-17T10:50:26.722Z] c8a8fc8e1c8f: Waiting [2022-06-17T10:50:26.722Z] bdb3f477010e: Waiting [2022-06-17T10:50:26.722Z] 386e3cb2ff24: Waiting [2022-06-17T10:50:26.722Z] 205491f53016: Waiting [2022-06-17T10:50:26.722Z] 2343380bae48: Waiting [2022-06-17T10:50:26.722Z] 2c6e9b1d212d: Waiting [2022-06-17T10:50:26.722Z] bdb8f0575790: Waiting [2022-06-17T10:50:26.722Z] f63e77b7563a: Verifying Checksum [2022-06-17T10:50:26.722Z] f63e77b7563a: Download complete [2022-06-17T10:50:26.722Z] 205491f53016: Verifying Checksum [2022-06-17T10:50:26.722Z] 205491f53016: Download complete [2022-06-17T10:50:26.982Z] df18705c85c3: Verifying Checksum [2022-06-17T10:50:26.982Z] df18705c85c3: Download complete [2022-06-17T10:50:26.982Z] bd5fdadae976: Verifying Checksum [2022-06-17T10:50:26.982Z] bdb3f477010e: Verifying Checksum [2022-06-17T10:50:26.982Z] bdb3f477010e: Download complete [2022-06-17T10:50:26.982Z] 2c6e9b1d212d: Download complete [2022-06-17T10:50:26.982Z] bdb8f0575790: Download complete [2022-06-17T10:50:26.982Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T10:50:26.982Z] 386e3cb2ff24: Download complete [2022-06-17T10:50:26.982Z] 2343380bae48: Verifying Checksum [2022-06-17T10:50:26.982Z] 2343380bae48: Download complete [2022-06-17T10:50:26.982Z] 42c077c10790: Verifying Checksum [2022-06-17T10:50:26.982Z] 42c077c10790: Download complete [2022-06-17T10:50:27.242Z] c8a8fc8e1c8f: Download complete [2022-06-17T10:50:28.626Z] 42c077c10790: Pull complete [2022-06-17T10:50:28.626Z] f63e77b7563a: Pull complete [2022-06-17T10:50:29.197Z] bd5fdadae976: Pull complete [2022-06-17T10:50:29.197Z] 205491f53016: Pull complete [2022-06-17T10:50:29.458Z] df18705c85c3: Pull complete [2022-06-17T10:50:29.458Z] bdb3f477010e: Pull complete [2022-06-17T10:50:31.395Z] c8a8fc8e1c8f: Pull complete [2022-06-17T10:50:31.395Z] 2c6e9b1d212d: Pull complete [2022-06-17T10:50:31.658Z] bdb8f0575790: Pull complete [2022-06-17T10:50:31.658Z] 386e3cb2ff24: Pull complete [2022-06-17T10:50:31.923Z] 2343380bae48: Pull complete [2022-06-17T10:50:31.923Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T10:50:31.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T10:50:31.923Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:50:32.164Z] prd-ubuntu20.04-docker-8c-8g-2557 does not seem to be running inside a container [2022-06-17T10:50:32.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_device-onvif-camera_upgrade-sdk -v /w/workspace/_device-onvif-camera_upgrade-sdk:/w/workspace/_device-onvif-camera_upgrade-sdk:rw,z -v /w/workspace/_device-onvif-camera_upgrade-sdk@tmp:/w/workspace/_device-onvif-camera_upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T10:50:33.714Z] $ docker top 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 -eo pid,comm [2022-06-17T10:50:33.786Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-17T10:50:33.786Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T10:50:33.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:50:33.910Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:50:34.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:50:34.060Z] $ docker exec 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 ssh-agent [2022-06-17T10:50:34.185Z] SSH_AUTH_SOCK=/tmp/ssh-wcUyCN5a4nSH/agent.34 [2022-06-17T10:50:34.185Z] SSH_AGENT_PID=40 [2022-06-17T10:50:34.193Z] Running ssh-add (command line suppressed) [2022-06-17T10:50:34.327Z] Identity added: /w/workspace/_device-onvif-camera_upgrade-sdk@tmp/private_key_3794206070492405232.key (/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/private_key_3794206070492405232.key) [2022-06-17T10:50:34.338Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:50:34.675Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T10:50:34.709Z] $ docker exec --env ******** --env ******** 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 ssh-agent -k [2022-06-17T10:50:34.835Z] unset SSH_AUTH_SOCK; [2022-06-17T10:50:34.835Z] unset SSH_AGENT_PID; [2022-06-17T10:50:34.835Z] echo Agent pid 40 killed; [2022-06-17T10:50:34.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T10:50:34.925Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T10:50:34.925Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T10:50:35.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T10:50:35.074Z] $ docker exec 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 ssh-agent [2022-06-17T10:50:35.211Z] SSH_AUTH_SOCK=/tmp/ssh-0MSt0A0TxW7t/agent.74 [2022-06-17T10:50:35.211Z] SSH_AGENT_PID=80 [2022-06-17T10:50:35.218Z] Running ssh-add (command line suppressed) [2022-06-17T10:50:35.363Z] Identity added: /w/workspace/_device-onvif-camera_upgrade-sdk@tmp/private_key_2900327243728046218.key (/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/private_key_2900327243728046218.key) [2022-06-17T10:50:35.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T10:50:35.707Z] + git semver init [2022-06-17T10:50:35.968Z] 2022-06-17 10:50:35,905 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T10:50:35.968Z] 2022-06-17 10:50:35,906 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_device-onvif-camera_upgrade-sdk/.semver [2022-06-17T10:50:35.968Z] 2022-06-17 10:50:35,907 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/_device-onvif-camera_upgrade-sdk/.semver [2022-06-17T10:50:35.968Z] 2022-06-17 10:50:35,907 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/_device-onvif-camera_upgrade-sdk/.semver'], cwd=/w/workspace/_device-onvif-camera_upgrade-sdk, universal_newlines=False, shell=None, istream=None) [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,609 [append_file] DEBUG append to file:/w/workspace/_device-onvif-camera_upgrade-sdk/.git/info/exclude [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_device-onvif-camera_upgrade-sdk/.semver/upgrade-sdk with force:False [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,610 [write_file] DEBUG write to file:/w/workspace/_device-onvif-camera_upgrade-sdk/.semver/upgrade-sdk [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,615 [execute] INFO git cat-file --batch-check [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_device-onvif-camera_upgrade-sdk/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,623 [execute] INFO git cat-file --batch [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_device-onvif-camera_upgrade-sdk/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T10:50:36.909Z] 2022-06-17 10:50:36,629 [read_version] DEBUG read version from /w/workspace/_device-onvif-camera_upgrade-sdk/.semver/upgrade-sdk [2022-06-17T10:50:36.909Z] 0.0.0 [Pipeline] } [2022-06-17T10:50:36.942Z] $ docker exec --env ******** --env ******** 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 ssh-agent -k [2022-06-17T10:50:37.050Z] unset SSH_AUTH_SOCK; [2022-06-17T10:50:37.052Z] unset SSH_AGENT_PID; [2022-06-17T10:50:37.052Z] echo Agent pid 80 killed; [2022-06-17T10:50:37.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T10:50:37.490Z] + git semver [Pipeline] } [2022-06-17T10:50:37.783Z] $ docker stop --time=1 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 [2022-06-17T10:50:39.111Z] $ docker rm -f 35df6e0369a0856d5c1edf0a42607c85eda02654712d167ff49ea21b8dfbded1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:50:39.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T10:50:39.844Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T10:50:39.861Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:50:40.410Z] provisioning config files... [2022-06-17T10:50:40.422Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/config4077106323249658562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:50:40.765Z] ---> docker-login.sh [2022-06-17T10:50:40.765Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:50:40.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:40.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:40.765Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:40.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:40.765Z] [2022-06-17T10:50:40.765Z] Login Succeeded [2022-06-17T10:50:40.765Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:50:40.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:41.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:41.026Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:41.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:41.026Z] [2022-06-17T10:50:41.026Z] Login Succeeded [2022-06-17T10:50:41.026Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:50:41.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:41.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:41.026Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:41.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:41.026Z] [2022-06-17T10:50:41.026Z] Login Succeeded [2022-06-17T10:50:41.026Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:50:41.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:41.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:41.286Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:41.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:41.286Z] [2022-06-17T10:50:41.286Z] Login Succeeded [2022-06-17T10:50:41.286Z] docker.io [2022-06-17T10:50:41.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:50:41.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:50:41.545Z] Configure a credential helper to remove this warning. See [2022-06-17T10:50:41.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:50:41.545Z] [2022-06-17T10:50:41.545Z] Login Succeeded [2022-06-17T10:50:41.545Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:50:41.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:50:41.751Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:50:41.784Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:50:41.811Z] ========================================================= [2022-06-17T10:50:41.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T10:50:41.811Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:50:42.280Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T10:50:42.280Z] Sending build context to Docker daemon 8.751MB [2022-06-17T10:50:42.280Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:50:42.280Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:50:42.280Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T10:50:42.280Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T10:50:42.280Z] 666ba61612fd: Pulling fs layer [2022-06-17T10:50:42.280Z] 8ed8ca486205: Pulling fs layer [2022-06-17T10:50:42.280Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T10:50:42.280Z] c516ae0d96e1: Pulling fs layer [2022-06-17T10:50:42.280Z] 684cea983483: Pulling fs layer [2022-06-17T10:50:42.280Z] dd3240ac7de5: Pulling fs layer [2022-06-17T10:50:42.280Z] b1e948a4e11c: Pulling fs layer [2022-06-17T10:50:42.280Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T10:50:42.280Z] 646ad004c059: Pulling fs layer [2022-06-17T10:50:42.280Z] b1e948a4e11c: Waiting [2022-06-17T10:50:42.280Z] dd3240ac7de5: Waiting [2022-06-17T10:50:42.280Z] a8fd76ee1af6: Waiting [2022-06-17T10:50:42.280Z] c516ae0d96e1: Waiting [2022-06-17T10:50:42.280Z] 684cea983483: Waiting [2022-06-17T10:50:42.280Z] 646ad004c059: Waiting [2022-06-17T10:50:42.280Z] cc1cd167ecdc: Waiting [2022-06-17T10:50:42.543Z] 8ed8ca486205: Download complete [2022-06-17T10:50:42.543Z] 666ba61612fd: Verifying Checksum [2022-06-17T10:50:42.543Z] 666ba61612fd: Download complete [2022-06-17T10:50:42.543Z] c516ae0d96e1: Verifying Checksum [2022-06-17T10:50:42.543Z] c516ae0d96e1: Download complete [2022-06-17T10:50:42.543Z] 684cea983483: Download complete [2022-06-17T10:50:42.543Z] 59bf1c3509f3: Download complete [2022-06-17T10:50:42.543Z] dd3240ac7de5: Verifying Checksum [2022-06-17T10:50:42.543Z] dd3240ac7de5: Download complete [2022-06-17T10:50:42.543Z] b1e948a4e11c: Verifying Checksum [2022-06-17T10:50:42.543Z] b1e948a4e11c: Download complete [2022-06-17T10:50:42.543Z] 59bf1c3509f3: Pull complete [2022-06-17T10:50:42.811Z] 666ba61612fd: Pull complete [2022-06-17T10:50:42.811Z] 8ed8ca486205: Pull complete [2022-06-17T10:50:43.073Z] 646ad004c059: Verifying Checksum [2022-06-17T10:50:43.073Z] 646ad004c059: Download complete [2022-06-17T10:50:43.333Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T10:50:43.333Z] cc1cd167ecdc: Download complete [2022-06-17T10:50:43.333Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T10:50:43.333Z] a8fd76ee1af6: Download complete [2022-06-17T10:50:47.528Z] cc1cd167ecdc: Pull complete [2022-06-17T10:50:47.528Z] c516ae0d96e1: Pull complete [2022-06-17T10:50:47.528Z] 684cea983483: Pull complete [2022-06-17T10:50:47.528Z] dd3240ac7de5: Pull complete [2022-06-17T10:50:47.528Z] b1e948a4e11c: Pull complete [2022-06-17T10:50:50.066Z] a8fd76ee1af6: Pull complete [2022-06-17T10:50:50.636Z] 646ad004c059: Pull complete [2022-06-17T10:50:50.636Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T10:50:50.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T10:50:50.636Z] ---> 8f69c11f6b0c [2022-06-17T10:50:50.636Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:50:52.573Z] ---> Running in 9d2954078d34 [2022-06-17T10:50:52.573Z] Removing intermediate container 9d2954078d34 [2022-06-17T10:50:52.573Z] ---> 3fa2dd3adc1a [2022-06-17T10:50:52.573Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:50:52.573Z] ---> Running in f4633b4135d8 [2022-06-17T10:50:52.573Z] Removing intermediate container f4633b4135d8 [2022-06-17T10:50:52.573Z] ---> fcaab90ebf1b [2022-06-17T10:50:52.573Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:50:52.573Z] ---> Running in d3b5feb228d7 [2022-06-17T10:50:52.834Z] Removing intermediate container d3b5feb228d7 [2022-06-17T10:50:52.834Z] ---> c9eed73926da [2022-06-17T10:50:52.834Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:50:52.834Z] ---> Running in 6a922954083f [2022-06-17T10:50:52.834Z] Removing intermediate container 6a922954083f [2022-06-17T10:50:52.834Z] ---> 765542183ac6 [2022-06-17T10:50:52.834Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:50:52.834Z] ---> Running in 063dd286f7cb [2022-06-17T10:50:53.405Z] Removing intermediate container 063dd286f7cb [2022-06-17T10:50:53.405Z] ---> 642639aa3c51 [2022-06-17T10:50:53.405Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:50:53.405Z] ---> Running in f28644cf89a4 [2022-06-17T10:50:53.976Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:50:54.922Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:50:55.187Z] OK: 221 MiB in 52 packages [2022-06-17T10:50:55.259Z] Still waiting to schedule task [2022-06-17T10:50:55.259Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T10:50:55.447Z] Removing intermediate container f28644cf89a4 [2022-06-17T10:50:55.447Z] ---> 91b36246cfbb [2022-06-17T10:50:55.447Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:50:55.447Z] ---> Running in 6c8432c03389 [2022-06-17T10:50:55.447Z] Removing intermediate container 6c8432c03389 [2022-06-17T10:50:55.447Z] ---> 07af333e1ac6 [2022-06-17T10:50:55.447Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:50:55.708Z] ---> cd5a0a6ccc29 [2022-06-17T10:50:55.708Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:50:55.708Z] ---> Running in a14ca53bca5c [2022-06-17T10:51:13.851Z] Removing intermediate container a14ca53bca5c [2022-06-17T10:51:13.851Z] ---> 73c7500607fb [2022-06-17T10:51:13.851Z] Step 12/13 : COPY . . [2022-06-17T10:51:13.851Z] ---> b80a81e60c54 [2022-06-17T10:51:13.851Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:51:13.851Z] ---> Running in a466aa7ed8e2 [2022-06-17T10:51:13.851Z] noop [2022-06-17T10:51:13.851Z] Removing intermediate container a466aa7ed8e2 [2022-06-17T10:51:13.851Z] ---> 94b92be322a9 [2022-06-17T10:51:13.851Z] Successfully built 94b92be322a9 [2022-06-17T10:51:13.851Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:51:14.288Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:51:14.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:51:14.455Z] prd-ubuntu20.04-docker-8c-8g-2557 does not seem to be running inside a container [2022-06-17T10:51:14.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_device-onvif-camera_upgrade-sdk -v /w/workspace/_device-onvif-camera_upgrade-sdk:/w/workspace/_device-onvif-camera_upgrade-sdk:rw,z -v /w/workspace/_device-onvif-camera_upgrade-sdk@tmp:/w/workspace/_device-onvif-camera_upgrade-sdk@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 ******** ci-base-image-x86_64 cat [2022-06-17T10:51:14.911Z] $ docker top 2e521a3df181b38569b1d36c0a6cb94811622d9020d1d57b48f18ba91a17aafc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:51:15.332Z] + go version [2022-06-17T10:51:15.332Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T10:51:15.367Z] $ docker stop --time=1 2e521a3df181b38569b1d36c0a6cb94811622d9020d1d57b48f18ba91a17aafc [2022-06-17T10:51:16.736Z] $ docker rm -f 2e521a3df181b38569b1d36c0a6cb94811622d9020d1d57b48f18ba91a17aafc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:51:17.447Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T10:51:17.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:51:17.643Z] prd-ubuntu20.04-docker-8c-8g-2557 does not seem to be running inside a container [2022-06-17T10:51:17.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_device-onvif-camera_upgrade-sdk -v /w/workspace/_device-onvif-camera_upgrade-sdk:/w/workspace/_device-onvif-camera_upgrade-sdk:rw,z -v /w/workspace/_device-onvif-camera_upgrade-sdk@tmp:/w/workspace/_device-onvif-camera_upgrade-sdk@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 ******** ci-base-image-x86_64 cat [2022-06-17T10:51:18.167Z] $ docker top d0f6078a0d56fe802edd5dad9fe650fecf2f2a746e702757ef6e914a3c0a4b07 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:51:18.639Z] + make test [2022-06-17T10:51:18.639Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:51:18.901Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:51:31.130Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:51:31.130Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.018s coverage: 1.2% of statements [2022-06-17T10:51:34.443Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.728s coverage: 13.8% of statements [2022-06-17T10:51:44.439Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:51:47.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:51:47.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:51:47.739Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:51:48.725Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:51:48.766Z] $ docker stop --time=1 d0f6078a0d56fe802edd5dad9fe650fecf2f2a746e702757ef6e914a3c0a4b07 [2022-06-17T10:51:50.683Z] $ docker rm -f d0f6078a0d56fe802edd5dad9fe650fecf2f2a746e702757ef6e914a3c0a4b07 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:51:51.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:51:51.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T10:51:52.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:51:52.357Z] + ls -al . [2022-06-17T10:51:52.357Z] total 236 [2022-06-17T10:51:52.357Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 10:51 . [2022-06-17T10:51:52.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:50 .. [2022-06-17T10:51:52.357Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:50 .git [2022-06-17T10:51:52.357Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:50 .github [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:50 .gitignore [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:50 .golangci.yml [2022-06-17T10:51:52.357Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:50 .semver [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 17 10:50 Attribution.txt [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:50 CHANGELOG.md [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:50 Dockerfile [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:50 GOVERNANCE.md [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:50 Jenkinsfile [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:50 LICENSE [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:50 Makefile [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:50 OWNERS.md [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 10:50 README.md [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:50 VERSION [2022-06-17T10:51:52.357Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:50 bin [2022-06-17T10:51:52.357Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:50 cmd [2022-06-17T10:51:52.357Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:51 coverage.out [2022-06-17T10:51:52.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:50 doc [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 17 10:50 go.mod [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 17 10:50 go.sum [2022-06-17T10:51:52.357Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:50 internal [2022-06-17T10:51:52.357Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:51:52.750Z] + 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=0df8b436ad89036636470f87ff77d3a2d3cdf27a --label arch=amd64 --label version=0.0.0 . [2022-06-17T10:51:52.750Z] Sending build context to Docker daemon 8.811MB [2022-06-17T10:51:52.750Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:51:52.750Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:51:52.750Z] ---> 94b92be322a9 [2022-06-17T10:51:52.750Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:51:53.012Z] ---> Running in 4f68c52e924f [2022-06-17T10:51:53.012Z] Removing intermediate container 4f68c52e924f [2022-06-17T10:51:53.012Z] ---> 8801747f5f7a [2022-06-17T10:51:53.012Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:51:53.012Z] ---> Running in 9d71d109ca1f [2022-06-17T10:51:53.274Z] Removing intermediate container 9d71d109ca1f [2022-06-17T10:51:53.274Z] ---> f313c2734cde [2022-06-17T10:51:53.274Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:51:53.274Z] ---> Running in 7e0a34cfd2be [2022-06-17T10:51:53.274Z] Removing intermediate container 7e0a34cfd2be [2022-06-17T10:51:53.274Z] ---> ec5186bd7f2c [2022-06-17T10:51:53.274Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:51:53.274Z] ---> Running in 6cfd2e31bab9 [2022-06-17T10:51:53.536Z] Removing intermediate container 6cfd2e31bab9 [2022-06-17T10:51:53.536Z] ---> 81a1cab91006 [2022-06-17T10:51:53.536Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:51:53.536Z] ---> Running in 064256110df2 [2022-06-17T10:51:54.108Z] Removing intermediate container 064256110df2 [2022-06-17T10:51:54.108Z] ---> 53f72cc59116 [2022-06-17T10:51:54.108Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:51:54.108Z] ---> Running in 87bb3b8fc137 [2022-06-17T10:51:54.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:51:55.314Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:51:55.577Z] OK: 221 MiB in 52 packages [2022-06-17T10:51:55.839Z] Removing intermediate container 87bb3b8fc137 [2022-06-17T10:51:55.839Z] ---> 8627528273f5 [2022-06-17T10:51:55.839Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:51:55.839Z] ---> Running in 11c323ca654f [2022-06-17T10:51:56.102Z] Removing intermediate container 11c323ca654f [2022-06-17T10:51:56.102Z] ---> 9819c2ec73a6 [2022-06-17T10:51:56.102Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:51:56.102Z] ---> bb46054f695d [2022-06-17T10:51:56.102Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:51:56.102Z] ---> Running in bf01c46d26d7 [2022-06-17T10:51:57.049Z] Removing intermediate container bf01c46d26d7 [2022-06-17T10:51:57.049Z] ---> d10fffd904e2 [2022-06-17T10:51:57.049Z] Step 12/26 : COPY . . [2022-06-17T10:51:57.310Z] ---> 32903348edef [2022-06-17T10:51:57.310Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:51:57.310Z] ---> Running in fa282201e1dd [2022-06-17T10:51:57.880Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-17T10:52:19.840Z] Removing intermediate container fa282201e1dd [2022-06-17T10:52:19.840Z] ---> 424cf82aa8fc [2022-06-17T10:52:19.840Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:52:19.840Z] 3.15: Pulling from library/alpine [2022-06-17T10:52:19.840Z] df9b9388f04a: Pulling fs layer [2022-06-17T10:52:19.840Z] df9b9388f04a: Verifying Checksum [2022-06-17T10:52:19.840Z] df9b9388f04a: Download complete [2022-06-17T10:52:19.840Z] df9b9388f04a: Pull complete [2022-06-17T10:52:19.840Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:52:19.840Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:52:19.840Z] ---> 0ac33e5f5afa [2022-06-17T10:52:19.840Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:52:20.101Z] ---> Running in 43adf85f48a3 [2022-06-17T10:52:20.101Z] Removing intermediate container 43adf85f48a3 [2022-06-17T10:52:20.101Z] ---> 31695d507fc9 [2022-06-17T10:52:20.101Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:52:20.101Z] ---> Running in 09cf94c50523 [2022-06-17T10:52:20.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T10:52:20.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T10:52:20.880Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:52:20.880Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:52:20.880Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:52:20.880Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:52:20.880Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:52:20.880Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:52:20.880Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:52:20.880Z] OK: 8 MiB in 20 packages [2022-06-17T10:52:21.452Z] Removing intermediate container 09cf94c50523 [2022-06-17T10:52:21.452Z] ---> fde5f90a2ede [2022-06-17T10:52:21.452Z] Step 17/26 : WORKDIR / [2022-06-17T10:52:21.452Z] ---> Running in e839cc881535 [2022-06-17T10:52:21.452Z] Removing intermediate container e839cc881535 [2022-06-17T10:52:21.452Z] ---> e408271d0124 [2022-06-17T10:52:21.452Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:52:22.021Z] ---> 98fb7b592e1b [2022-06-17T10:52:22.021Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:52:22.283Z] ---> b1fdc2a7cfd8 [2022-06-17T10:52:22.283Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:52:22.283Z] ---> 6a187d32c8dc [2022-06-17T10:52:22.283Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:52:22.544Z] ---> Running in d35aea89b7e5 [2022-06-17T10:52:22.544Z] Removing intermediate container d35aea89b7e5 [2022-06-17T10:52:22.544Z] ---> 3f3339f5fb71 [2022-06-17T10:52:22.544Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:52:22.544Z] ---> Running in f1eacd87f8bf [2022-06-17T10:52:22.544Z] Removing intermediate container f1eacd87f8bf [2022-06-17T10:52:22.544Z] ---> e0ba69b27223 [2022-06-17T10:52:22.544Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:52:22.805Z] ---> Running in a5a58f8f5f69 [2022-06-17T10:52:22.805Z] Removing intermediate container a5a58f8f5f69 [2022-06-17T10:52:22.805Z] ---> 9863056e46cb [2022-06-17T10:52:22.805Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T10:52:22.805Z] ---> Running in 2d5e8af94f44 [2022-06-17T10:52:23.067Z] Removing intermediate container 2d5e8af94f44 [2022-06-17T10:52:23.067Z] ---> 42af327b30b7 [2022-06-17T10:52:23.067Z] Step 25/26 : LABEL git_sha=0df8b436ad89036636470f87ff77d3a2d3cdf27a [2022-06-17T10:52:23.067Z] ---> Running in 0e1029981596 [2022-06-17T10:52:23.067Z] Removing intermediate container 0e1029981596 [2022-06-17T10:52:23.067Z] ---> 4f465123fc19 [2022-06-17T10:52:23.067Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:52:23.067Z] ---> Running in aabf93a834a0 [2022-06-17T10:52:23.327Z] Removing intermediate container aabf93a834a0 [2022-06-17T10:52:23.327Z] ---> c759e14b1fea [2022-06-17T10:52:23.327Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:52:23.327Z] Successfully built c759e14b1fea [2022-06-17T10:52:23.327Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:52:24.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:52:24.192Z] [2022-06-17T10:52:24.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:52:24.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:52:24.562Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T10:52:24.562Z] 5eb5b503b376: Pulling fs layer [2022-06-17T10:52:24.562Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T10:52:24.562Z] ec43610c2a17: Pulling fs layer [2022-06-17T10:52:24.562Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T10:52:24.562Z] 33b1e0a273af: Pulling fs layer [2022-06-17T10:52:24.562Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T10:52:24.562Z] 2f39f015ded8: Pulling fs layer [2022-06-17T10:52:24.562Z] 5d3b04190fa2: Waiting [2022-06-17T10:52:24.562Z] 3a2ae6a8a46f: Waiting [2022-06-17T10:52:24.562Z] 33b1e0a273af: Waiting [2022-06-17T10:52:24.562Z] 2f39f015ded8: Waiting [2022-06-17T10:52:24.562Z] 5c69ac0246d0: Download complete [2022-06-17T10:52:24.562Z] 3a2ae6a8a46f: Download complete [2022-06-17T10:52:24.562Z] ec43610c2a17: Verifying Checksum [2022-06-17T10:52:24.562Z] ec43610c2a17: Download complete [2022-06-17T10:52:24.562Z] 33b1e0a273af: Verifying Checksum [2022-06-17T10:52:24.562Z] 33b1e0a273af: Download complete [2022-06-17T10:52:24.821Z] 5d3b04190fa2: Download complete [2022-06-17T10:52:24.821Z] 5eb5b503b376: Verifying Checksum [2022-06-17T10:52:24.821Z] 5eb5b503b376: Download complete [2022-06-17T10:52:25.389Z] 2f39f015ded8: Download complete [2022-06-17T10:52:26.328Z] 5eb5b503b376: Pull complete [2022-06-17T10:52:26.328Z] 5c69ac0246d0: Pull complete [2022-06-17T10:52:26.900Z] ec43610c2a17: Pull complete [2022-06-17T10:52:26.900Z] 3a2ae6a8a46f: Pull complete [2022-06-17T10:52:27.161Z] 33b1e0a273af: Pull complete [2022-06-17T10:52:27.161Z] 5d3b04190fa2: Pull complete [2022-06-17T10:52:27.444Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2558 in /w/workspace/_device-onvif-camera_upgrade-sdk [Pipeline] { [Pipeline] ws [2022-06-17T10:52:27.488Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-06-17T10:52:27.586Z] Selected Git installation does not exist. Using Default [2022-06-17T10:52:27.586Z] The recommended git tool is: NONE [2022-06-17T10:52:32.436Z] 2f39f015ded8: Pull complete [2022-06-17T10:52:32.436Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T10:52:32.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T10:52:32.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:52:32.663Z] prd-ubuntu20.04-docker-8c-8g-2557 does not seem to be running inside a container [2022-06-17T10:52:32.706Z] $ 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_upgrade-sdk -v /w/workspace/_device-onvif-camera_upgrade-sdk:/w/workspace/_device-onvif-camera_upgrade-sdk:rw,z -v /w/workspace/_device-onvif-camera_upgrade-sdk@tmp:/w/workspace/_device-onvif-camera_upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T10:52:34.560Z] using credential edgex-jenkins-ssh [2022-06-17T10:52:34.582Z] Cloning the remote Git repository [2022-06-17T10:52:34.678Z] $ docker top 0aa125756fbb1f98a71a61ea43371adebbf10c6e6eb4ba81f25af57ad6e74813 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:52:35.142Z] ---> job-cost.sh [2022-06-17T10:52:35.142Z] lf-activate-venv: SKIPPING [2022-06-17T10:52:35.142Z] INFO: No Stack... [2022-06-17T10:52:34.681Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:52:34.803Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-06-17T10:52:34.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-17T10:52:34.962Z] > git --version # timeout=10 [2022-06-17T10:52:34.997Z] > git --version # 'git version 2.25.1' [2022-06-17T10:52:34.999Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T10:52:35.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:52:35.402Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T10:52:35.949Z] Avoid second fetch [2022-06-17T10:52:35.950Z] Checking out Revision 0df8b436ad89036636470f87ff77d3a2d3cdf27a (upgrade-sdk) [2022-06-17T10:52:35.973Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T10:52:36.293Z] + + cat /w/workspace/_device-onvif-camera_upgrade-sdk/archives/cost.csv [2022-06-17T10:52:36.293Z] cut -d, -f6 [Pipeline] lock [2022-06-17T10:52:36.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [2022-06-17T10:52:36.343Z] Resource [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] did not exist. Created. [2022-06-17T10:52:36.343Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T10:52:35.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-17T10:52:35.941Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T10:52:35.976Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T10:52:35.992Z] > git checkout -f 0df8b436ad89036636470f87ff77d3a2d3cdf27a # timeout=10 [2022-06-17T10:52:36.743Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T10:52:36.792Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T10:52:36.829Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T10:52:36.920Z] $ docker stop --time=1 0aa125756fbb1f98a71a61ea43371adebbf10c6e6eb4ba81f25af57ad6e74813 [2022-06-17T10:52:38.097Z] $ docker rm -f 0aa125756fbb1f98a71a61ea43371adebbf10c6e6eb4ba81f25af57ad6e74813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T10:52:40.194Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [2022-06-17T10:52:40.258Z] > git --version # timeout=10 [2022-06-17T10:52:40.270Z] > git --version # 'git version 2.25.1' [2022-06-17T10:52:40.285Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:52:41.301Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T10:52:41.302Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T10:52:41.302Z] Dload Upload Total Spent Left Speed [2022-06-17T10:52:41.302Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 56465 0 --:--:-- --:--:-- --:--:-- 56726 [Pipeline] sh [2022-06-17T10:52:42.021Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T10:52:42.376Z] + sudo tee /etc/docker/daemon.new [2022-06-17T10:52:42.377Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T10:52:42.377Z] { [2022-06-17T10:52:42.377Z] "registry-mirrors": [ [2022-06-17T10:52:42.377Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T10:52:42.377Z] ], [2022-06-17T10:52:42.377Z] "bip": "10.250.0.254/24", [2022-06-17T10:52:42.377Z] "hosts": [ [2022-06-17T10:52:42.377Z] "tcp://0.0.0.0:5555", [2022-06-17T10:52:42.377Z] "unix:///var/run/docker.sock" [2022-06-17T10:52:42.377Z] ], [2022-06-17T10:52:42.377Z] "mtu": 1458, [2022-06-17T10:52:42.377Z] "selinux-enabled": true, [2022-06-17T10:52:42.377Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T10:52:42.377Z] } [Pipeline] sh [2022-06-17T10:52:42.742Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T10:52:43.106Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T10:53:01.675Z] provisioning config files... [2022-06-17T10:53:01.702Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config8612594306904076063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:53:02.109Z] ---> docker-login.sh [2022-06-17T10:53:02.110Z] nexus3.edgexfoundry.org:10001 [2022-06-17T10:53:02.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:53:02.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:53:02.988Z] Configure a credential helper to remove this warning. See [2022-06-17T10:53:02.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:53:02.988Z] [2022-06-17T10:53:02.988Z] Login Succeeded [2022-06-17T10:53:02.988Z] nexus3.edgexfoundry.org:10002 [2022-06-17T10:53:03.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:53:03.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:53:03.260Z] Configure a credential helper to remove this warning. See [2022-06-17T10:53:03.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:53:03.260Z] [2022-06-17T10:53:03.260Z] Login Succeeded [2022-06-17T10:53:03.260Z] nexus3.edgexfoundry.org:10003 [2022-06-17T10:53:03.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:53:03.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:53:03.861Z] Configure a credential helper to remove this warning. See [2022-06-17T10:53:03.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:53:03.861Z] [2022-06-17T10:53:03.861Z] Login Succeeded [2022-06-17T10:53:03.861Z] nexus3.edgexfoundry.org:10004 [2022-06-17T10:53:04.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:53:04.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:53:04.413Z] Configure a credential helper to remove this warning. See [2022-06-17T10:53:04.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:53:04.413Z] [2022-06-17T10:53:04.413Z] Login Succeeded [2022-06-17T10:53:04.413Z] docker.io [2022-06-17T10:53:04.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T10:53:04.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T10:53:04.959Z] Configure a credential helper to remove this warning. See [2022-06-17T10:53:04.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T10:53:04.959Z] [2022-06-17T10:53:04.959Z] Login Succeeded [2022-06-17T10:53:04.959Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T10:53:04.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T10:53:05.373Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:53:05.409Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T10:53:05.441Z] ========================================================= [2022-06-17T10:53:05.441Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T10:53:05.441Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:53:05.960Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T10:53:06.234Z] Sending build context to Docker daemon 5.962MB [2022-06-17T10:53:06.234Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:53:06.234Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-17T10:53:06.510Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T10:53:06.510Z] 9b3977197b4f: Pulling fs layer [2022-06-17T10:53:06.510Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T10:53:06.510Z] 94645a83ff95: Pulling fs layer [2022-06-17T10:53:06.510Z] e6fb740bc735: Pulling fs layer [2022-06-17T10:53:06.510Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T10:53:06.510Z] 355e64cbe906: Pulling fs layer [2022-06-17T10:53:06.510Z] 63ab81a10011: Pulling fs layer [2022-06-17T10:53:06.510Z] 555d1d1c4555: Pulling fs layer [2022-06-17T10:53:06.510Z] 7d9057610161: Pulling fs layer [2022-06-17T10:53:06.510Z] e6fb740bc735: Waiting [2022-06-17T10:53:06.510Z] 3a77bd46dcc9: Waiting [2022-06-17T10:53:06.510Z] 355e64cbe906: Waiting [2022-06-17T10:53:06.510Z] 63ab81a10011: Waiting [2022-06-17T10:53:06.510Z] 555d1d1c4555: Waiting [2022-06-17T10:53:06.510Z] 7d9057610161: Waiting [2022-06-17T10:53:06.510Z] 94645a83ff95: Verifying Checksum [2022-06-17T10:53:06.510Z] 94645a83ff95: Download complete [2022-06-17T10:53:06.510Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T10:53:06.510Z] 1a89e8eeedd5: Download complete [2022-06-17T10:53:06.510Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T10:53:06.510Z] 3a77bd46dcc9: Download complete [2022-06-17T10:53:06.510Z] 355e64cbe906: Verifying Checksum [2022-06-17T10:53:06.510Z] 355e64cbe906: Download complete [2022-06-17T10:53:06.510Z] 9b3977197b4f: Download complete [2022-06-17T10:53:06.510Z] 63ab81a10011: Verifying Checksum [2022-06-17T10:53:06.510Z] 63ab81a10011: Download complete [2022-06-17T10:53:07.502Z] 9b3977197b4f: Pull complete [2022-06-17T10:53:07.776Z] 7d9057610161: Verifying Checksum [2022-06-17T10:53:07.776Z] 7d9057610161: Download complete [2022-06-17T10:53:08.053Z] 1a89e8eeedd5: Pull complete [2022-06-17T10:53:08.332Z] 94645a83ff95: Pull complete [2022-06-17T10:53:08.934Z] 555d1d1c4555: Verifying Checksum [2022-06-17T10:53:08.934Z] 555d1d1c4555: Download complete [2022-06-17T10:53:09.212Z] e6fb740bc735: Verifying Checksum [2022-06-17T10:53:09.212Z] e6fb740bc735: Download complete [2022-06-17T10:53:21.650Z] e6fb740bc735: Pull complete [2022-06-17T10:53:21.650Z] 3a77bd46dcc9: Pull complete [2022-06-17T10:53:21.650Z] 355e64cbe906: Pull complete [2022-06-17T10:53:21.927Z] 63ab81a10011: Pull complete [2022-06-17T10:53:28.670Z] 555d1d1c4555: Pull complete [2022-06-17T10:53:30.652Z] 7d9057610161: Pull complete [2022-06-17T10:53:30.652Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T10:53:30.652Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T10:53:30.652Z] ---> 819e984ddca1 [2022-06-17T10:53:30.652Z] Step 3/13 : ARG MAKE="make build" [2022-06-17T10:53:31.644Z] ---> Running in 7d8e0ada1fc1 [2022-06-17T10:53:31.644Z] Removing intermediate container 7d8e0ada1fc1 [2022-06-17T10:53:31.644Z] ---> 33e63446c987 [2022-06-17T10:53:31.644Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:53:31.920Z] ---> Running in 611c64195b32 [2022-06-17T10:53:32.197Z] Removing intermediate container 611c64195b32 [2022-06-17T10:53:32.197Z] ---> 4f6ab20f75cb [2022-06-17T10:53:32.197Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:53:32.197Z] ---> Running in cf3a3c7a5fa1 [2022-06-17T10:53:32.471Z] Removing intermediate container cf3a3c7a5fa1 [2022-06-17T10:53:32.471Z] ---> 8441c8bb64d3 [2022-06-17T10:53:32.471Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:53:32.471Z] ---> Running in 28684f43ff3f [2022-06-17T10:53:32.757Z] Removing intermediate container 28684f43ff3f [2022-06-17T10:53:32.757Z] ---> 2faa6c4ca3ce [2022-06-17T10:53:32.757Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:53:33.071Z] ---> Running in 9bd6a177dddb [2022-06-17T10:53:35.065Z] Removing intermediate container 9bd6a177dddb [2022-06-17T10:53:35.065Z] ---> f68212e50fb7 [2022-06-17T10:53:35.065Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:53:35.065Z] ---> Running in 13c07ee08c3e [2022-06-17T10:53:35.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:53:36.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:53:37.632Z] OK: 220 MiB in 52 packages [2022-06-17T10:53:38.233Z] Removing intermediate container 13c07ee08c3e [2022-06-17T10:53:38.233Z] ---> 42a7c3932f59 [2022-06-17T10:53:38.233Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-17T10:53:38.507Z] ---> Running in 28ecd9453222 [2022-06-17T10:53:38.784Z] Removing intermediate container 28ecd9453222 [2022-06-17T10:53:38.785Z] ---> 043e4d0fb51c [2022-06-17T10:53:38.785Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-17T10:53:39.387Z] ---> 9801f43ca0d3 [2022-06-17T10:53:39.387Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:53:39.387Z] ---> Running in 69a24c90b635 [2022-06-17T10:54:26.419Z] Removing intermediate container 69a24c90b635 [2022-06-17T10:54:26.419Z] ---> 6e1d1e25fa57 [2022-06-17T10:54:26.419Z] Step 12/13 : COPY . . [2022-06-17T10:54:26.419Z] ---> 5b56cfca4135 [2022-06-17T10:54:26.419Z] Step 13/13 : RUN ${MAKE} [2022-06-17T10:54:26.419Z] ---> Running in f1f2a6d54c6b [2022-06-17T10:54:26.419Z] noop [2022-06-17T10:54:27.017Z] Removing intermediate container f1f2a6d54c6b [2022-06-17T10:54:27.017Z] ---> e136f15d6f33 [2022-06-17T10:54:27.017Z] Successfully built e136f15d6f33 [2022-06-17T10:54:27.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:54:27.509Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:54:27.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:54:27.810Z] prd-ubuntu20.04-docker-arm64-4c-16g-2558 does not seem to be running inside a container [2022-06-17T10:54:27.903Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-17T10:54:29.163Z] $ docker top 97d9a331d5fcda76c3201d4890e0bd919e17c8a62f897c2da5b4314f41b21242 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T10:54:30.108Z] + go version [2022-06-17T10:54:30.108Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T10:54:30.149Z] $ docker stop --time=1 97d9a331d5fcda76c3201d4890e0bd919e17c8a62f897c2da5b4314f41b21242 [2022-06-17T10:54:31.776Z] $ docker rm -f 97d9a331d5fcda76c3201d4890e0bd919e17c8a62f897c2da5b4314f41b21242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:54:32.661Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T10:54:32.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:54:32.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-2558 does not seem to be running inside a container [2022-06-17T10:54:33.043Z] $ 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 ******** ci-base-image-arm64 cat [2022-06-17T10:54:34.242Z] $ docker top e6f73a1f9762d2babc555f52ceaa31eac5d83f3e47121068b398c08ce90c3f8a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T10:54:35.208Z] + make test [2022-06-17T10:54:35.208Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T10:54:37.201Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-17T10:56:14.046Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-17T10:56:14.046Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.077s coverage: 1.2% of statements [2022-06-17T10:56:22.321Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.422s coverage: 13.8% of statements [2022-06-17T10:56:22.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T10:56:22.595Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T10:56:54.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T10:56:54.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T10:56:54.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T10:56:54.973Z] [edgeX.isLTS] Checking if [upgrade-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T10:56:55.018Z] $ docker stop --time=1 e6f73a1f9762d2babc555f52ceaa31eac5d83f3e47121068b398c08ce90c3f8a [2022-06-17T10:56:56.828Z] $ docker rm -f e6f73a1f9762d2babc555f52ceaa31eac5d83f3e47121068b398c08ce90c3f8a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T10:56:57.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T10:56:58.013Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T10:56:58.858Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T10:56:59.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T10:56:59.822Z] + ls -al . [2022-06-17T10:56:59.823Z] total 232 [2022-06-17T10:56:59.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:56 . [2022-06-17T10:56:59.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:52 .. [2022-06-17T10:56:59.823Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 10:52 .git [2022-06-17T10:56:59.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:52 .github [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 352 Jun 17 10:52 .gitignore [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 10:52 .golangci.yml [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 9227 Jun 17 10:52 Attribution.txt [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 189 Jun 17 10:52 CHANGELOG.md [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 1667 Jun 17 10:52 Dockerfile [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 10:52 GOVERNANCE.md [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 10:52 Jenkinsfile [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jun 17 10:52 LICENSE [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jun 17 10:52 Makefile [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 625 Jun 17 10:52 OWNERS.md [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 30599 Jun 17 10:52 README.md [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 10:50 VERSION [2022-06-17T10:56:59.823Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 10:52 bin [2022-06-17T10:56:59.823Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 10:52 cmd [2022-06-17T10:56:59.823Z] -rw-r--r-- 1 jenkins jenkins 59480 Jun 17 10:56 coverage.out [2022-06-17T10:56:59.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:52 doc [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 3584 Jun 17 10:52 go.mod [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 37933 Jun 17 10:52 go.sum [2022-06-17T10:56:59.823Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 10:52 internal [2022-06-17T10:56:59.823Z] -rw-rw-r-- 1 jenkins jenkins 236 Jun 17 10:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:57:00.248Z] + 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=0df8b436ad89036636470f87ff77d3a2d3cdf27a --label arch=arm64 --label version=0.0.0 . [2022-06-17T10:57:00.518Z] Sending build context to Docker daemon 6.022MB [2022-06-17T10:57:00.792Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T10:57:00.792Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T10:57:00.792Z] ---> e136f15d6f33 [2022-06-17T10:57:00.792Z] Step 3/26 : ARG MAKE="make build" [2022-06-17T10:57:00.792Z] ---> Running in 020cdc6e21d8 [2022-06-17T10:57:01.074Z] Removing intermediate container 020cdc6e21d8 [2022-06-17T10:57:01.074Z] ---> 60fc1c80c45b [2022-06-17T10:57:01.074Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T10:57:01.074Z] ---> Running in 1b6ef3827b0b [2022-06-17T10:57:01.678Z] Removing intermediate container 1b6ef3827b0b [2022-06-17T10:57:01.678Z] ---> e04888d1daf3 [2022-06-17T10:57:01.678Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T10:57:01.678Z] ---> Running in 7c5ced9453a3 [2022-06-17T10:57:01.952Z] Removing intermediate container 7c5ced9453a3 [2022-06-17T10:57:01.952Z] ---> 767bde8cf2e5 [2022-06-17T10:57:01.952Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-06-17T10:57:01.952Z] ---> Running in a539db49606e [2022-06-17T10:57:02.228Z] Removing intermediate container a539db49606e [2022-06-17T10:57:02.228Z] ---> bf91fbaad66d [2022-06-17T10:57:02.228Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T10:57:02.228Z] ---> Running in 9d481c512a3b [2022-06-17T10:57:04.210Z] Removing intermediate container 9d481c512a3b [2022-06-17T10:57:04.210Z] ---> fda13733a694 [2022-06-17T10:57:04.210Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T10:57:04.210Z] ---> Running in 69b5a79f81c3 [2022-06-17T10:57:05.194Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:57:05.786Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:57:06.766Z] OK: 220 MiB in 52 packages [2022-06-17T10:57:07.750Z] Removing intermediate container 69b5a79f81c3 [2022-06-17T10:57:07.750Z] ---> 571b4cae9f8b [2022-06-17T10:57:07.750Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-06-17T10:57:07.750Z] ---> Running in 5a92a1dcc64c [2022-06-17T10:57:08.022Z] Removing intermediate container 5a92a1dcc64c [2022-06-17T10:57:08.022Z] ---> 29ce14b8353f [2022-06-17T10:57:08.022Z] Step 10/26 : COPY go.mod vendor* ./ [2022-06-17T10:57:08.616Z] ---> e8db7d5cb04c [2022-06-17T10:57:08.616Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T10:57:08.616Z] ---> Running in 69670f6576ec [2022-06-17T10:57:10.608Z] Removing intermediate container 69670f6576ec [2022-06-17T10:57:10.608Z] ---> ce512b979367 [2022-06-17T10:57:10.608Z] Step 12/26 : COPY . . [2022-06-17T10:57:11.588Z] ---> f72d16380da0 [2022-06-17T10:57:11.588Z] Step 13/26 : RUN ${MAKE} [2022-06-17T10:57:11.588Z] ---> Running in 9e2fc4c1e13e [2022-06-17T10:57:12.568Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-06-17T10:59:19.463Z] Removing intermediate container 9e2fc4c1e13e [2022-06-17T10:59:19.463Z] ---> 1c6e5074b6c8 [2022-06-17T10:59:19.463Z] Step 14/26 : FROM alpine:3.15 [2022-06-17T10:59:19.738Z] 3.15: Pulling from library/alpine [2022-06-17T10:59:19.738Z] 9981e73032c8: Pulling fs layer [2022-06-17T10:59:20.012Z] 9981e73032c8: Verifying Checksum [2022-06-17T10:59:20.012Z] 9981e73032c8: Download complete [2022-06-17T10:59:20.614Z] 9981e73032c8: Pull complete [2022-06-17T10:59:20.614Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-06-17T10:59:20.614Z] Status: Downloaded newer image for alpine:3.15 [2022-06-17T10:59:20.614Z] ---> 3fb3c9af89a9 [2022-06-17T10:59:20.614Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-06-17T10:59:20.890Z] ---> Running in b30726201332 [2022-06-17T10:59:21.165Z] Removing intermediate container b30726201332 [2022-06-17T10:59:21.165Z] ---> 7e09bab8fc29 [2022-06-17T10:59:21.165Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T10:59:21.165Z] ---> Running in 30ba8f0e5dfc [2022-06-17T10:59:22.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T10:59:22.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T10:59:23.399Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T10:59:23.399Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-06-17T10:59:23.399Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T10:59:23.399Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-06-17T10:59:23.399Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T10:59:23.399Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T10:59:23.399Z] Executing busybox-1.34.1-r5.trigger [2022-06-17T10:59:23.399Z] OK: 8 MiB in 20 packages [2022-06-17T10:59:24.384Z] Removing intermediate container 30ba8f0e5dfc [2022-06-17T10:59:24.384Z] ---> 879a3294be73 [2022-06-17T10:59:24.384Z] Step 17/26 : WORKDIR / [2022-06-17T10:59:24.384Z] ---> Running in 59c4107ffa48 [2022-06-17T10:59:24.981Z] Removing intermediate container 59c4107ffa48 [2022-06-17T10:59:24.981Z] ---> 083efafafaaa [2022-06-17T10:59:24.981Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-06-17T10:59:26.415Z] ---> 5b46432060b9 [2022-06-17T10:59:26.415Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-06-17T10:59:27.015Z] ---> 6d7980fd32e6 [2022-06-17T10:59:27.015Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-06-17T10:59:27.613Z] ---> b8bad673045e [2022-06-17T10:59:27.613Z] Step 21/26 : EXPOSE 59984 [2022-06-17T10:59:27.613Z] ---> Running in 8b6bc88c1bd6 [2022-06-17T10:59:27.890Z] Removing intermediate container 8b6bc88c1bd6 [2022-06-17T10:59:27.890Z] ---> 86148d1f946b [2022-06-17T10:59:27.890Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-06-17T10:59:27.890Z] ---> Running in 5105c1310675 [2022-06-17T10:59:28.170Z] Removing intermediate container 5105c1310675 [2022-06-17T10:59:28.170Z] ---> 75f6aea5e451 [2022-06-17T10:59:28.170Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T10:59:28.170Z] ---> Running in 39cbc733ac79 [2022-06-17T10:59:28.771Z] Removing intermediate container 39cbc733ac79 [2022-06-17T10:59:28.771Z] ---> b535f28fb1c3 [2022-06-17T10:59:28.771Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T10:59:28.771Z] ---> Running in ec4167a5c736 [2022-06-17T10:59:29.046Z] Removing intermediate container ec4167a5c736 [2022-06-17T10:59:29.046Z] ---> 5feca8d3f4aa [2022-06-17T10:59:29.046Z] Step 25/26 : LABEL git_sha=0df8b436ad89036636470f87ff77d3a2d3cdf27a [2022-06-17T10:59:29.046Z] ---> Running in 1fdc333bac34 [2022-06-17T10:59:29.321Z] Removing intermediate container 1fdc333bac34 [2022-06-17T10:59:29.322Z] ---> 991e129f84a2 [2022-06-17T10:59:29.322Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T10:59:29.596Z] ---> Running in dc9e494d546e [2022-06-17T10:59:29.872Z] Removing intermediate container dc9e494d546e [2022-06-17T10:59:29.872Z] ---> 1982251e0067 [2022-06-17T10:59:29.872Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T10:59:29.872Z] Successfully built 1982251e0067 [2022-06-17T10:59:29.872Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:59:30.656Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:59:30.656Z] [2022-06-17T10:59:30.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T10:59:31.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:59:31.338Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T10:59:31.338Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T10:59:31.338Z] 04944245beec: Pulling fs layer [2022-06-17T10:59:31.338Z] 699f458cf7ca: Pulling fs layer [2022-06-17T10:59:31.338Z] 765212b225bb: Pulling fs layer [2022-06-17T10:59:31.338Z] f23df028b6ca: Pulling fs layer [2022-06-17T10:59:31.338Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T10:59:31.338Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T10:59:31.338Z] f23df028b6ca: Waiting [2022-06-17T10:59:31.338Z] d65c8cfc05b1: Waiting [2022-06-17T10:59:31.338Z] 765212b225bb: Waiting [2022-06-17T10:59:31.338Z] 2437ff75d9bd: Waiting [2022-06-17T10:59:31.338Z] 04944245beec: Verifying Checksum [2022-06-17T10:59:31.338Z] 04944245beec: Download complete [2022-06-17T10:59:31.338Z] 765212b225bb: Verifying Checksum [2022-06-17T10:59:31.338Z] 765212b225bb: Download complete [2022-06-17T10:59:31.338Z] f23df028b6ca: Verifying Checksum [2022-06-17T10:59:31.338Z] f23df028b6ca: Download complete [2022-06-17T10:59:31.338Z] d65c8cfc05b1: Download complete [2022-06-17T10:59:31.612Z] 699f458cf7ca: Verifying Checksum [2022-06-17T10:59:31.612Z] 699f458cf7ca: Download complete [2022-06-17T10:59:31.884Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T10:59:31.884Z] 8998bd30e6a1: Download complete [2022-06-17T10:59:34.506Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T10:59:34.506Z] 2437ff75d9bd: Download complete [2022-06-17T10:59:36.476Z] 8998bd30e6a1: Pull complete [2022-06-17T10:59:36.749Z] 04944245beec: Pull complete [2022-06-17T10:59:38.185Z] 699f458cf7ca: Pull complete [2022-06-17T10:59:38.185Z] 765212b225bb: Pull complete [2022-06-17T10:59:39.165Z] f23df028b6ca: Pull complete [2022-06-17T10:59:39.440Z] d65c8cfc05b1: Pull complete [2022-06-17T10:59:54.536Z] 2437ff75d9bd: Pull complete [2022-06-17T10:59:54.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T10:59:54.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T10:59:54.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T10:59:54.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-2558 does not seem to be running inside a container [2022-06-17T10:59:55.075Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T10:59:57.997Z] $ docker top 1a18a8bd795f81c994a1d55248dd9a016885d60927603136260dda26484d1ec6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T10:59:59.043Z] ---> job-cost.sh [2022-06-17T10:59:59.043Z] lf-activate-venv: SKIPPING [2022-06-17T10:59:59.043Z] INFO: No Stack... [2022-06-17T10:59:59.336Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T11:00:00.314Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:00:01.000Z] + + cut -d, -f6 [2022-06-17T11:00:01.000Z] cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2022-06-17T11:00:01.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [2022-06-17T11:00:01.098Z] Resource [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] did not exist. Created. [2022-06-17T11:00:01.098Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:00:01.848Z] /w/workspace/device-onvif-camera/1@tmp/durable-e31d7f7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T11:00:02.578Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T11:00:02.619Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T11:00:02.670Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:00:02.683Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-upgrade-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:00:02.767Z] $ docker stop --time=1 1a18a8bd795f81c994a1d55248dd9a016885d60927603136260dda26484d1ec6 [2022-06-17T11:00:04.333Z] $ docker rm -f 1a18a8bd795f81c994a1d55248dd9a016885d60927603136260dda26484d1ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-17T11:00:05.451Z] provisioning config files... [2022-06-17T11:00:05.460Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/config4275563043319720901tmp [Pipeline] { [Pipeline] sh [2022-06-17T11:00:05.792Z] + set +x [2022-06-17T11:00:05.792Z] + curl -s https://codecov.io/bash [2022-06-17T11:00:05.792Z] + bash -s -- [2022-06-17T11:00:05.792Z] [2022-06-17T11:00:05.792Z] _____ _ [2022-06-17T11:00:05.792Z] / ____| | | [2022-06-17T11:00:05.792Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T11:00:05.792Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T11:00:05.792Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T11:00:05.792Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T11:00:05.792Z] Bash-1.0.6 [2022-06-17T11:00:05.792Z] [2022-06-17T11:00:05.792Z] [2022-06-17T11:00:05.792Z] ==> git version 2.25.1 found [2022-06-17T11:00:05.792Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-17T11:00:05.792Z] Release-Date: 2020-01-08 [2022-06-17T11:00:05.792Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T11:00:05.792Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T11:00:05.792Z] ==> Jenkins CI detected. [2022-06-17T11:00:05.792Z] current dir:  /w/workspace/_device-onvif-camera_upgrade-sdk [2022-06-17T11:00:05.792Z] project root: . [2022-06-17T11:00:05.792Z] --> token set from env [2022-06-17T11:00:05.792Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T11:00:05.792Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T11:00:05.792Z] ==> Python coveragepy not found [2022-06-17T11:00:05.792Z] ==> Searching for coverage reports in: [2022-06-17T11:00:05.792Z] + . [2022-06-17T11:00:05.792Z] -> Found 1 reports [2022-06-17T11:00:05.792Z] ==> Detecting git/mercurial file structure [2022-06-17T11:00:06.054Z] ==> Reading reports [2022-06-17T11:00:06.054Z] + ./coverage.out bytes=59480 [2022-06-17T11:00:06.054Z] ==> Appending adjustments [2022-06-17T11:00:06.054Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T11:00:06.054Z] + Found adjustments [2022-06-17T11:00:06.054Z] ==> Gzipping contents [2022-06-17T11:00:06.054Z] 8.0K /tmp/codecov.5cS5AL.gz [2022-06-17T11:00:06.054Z] ==> Uploading reports [2022-06-17T11:00:06.054Z] url: https://codecov.io [2022-06-17T11:00:06.054Z] query: branch=upgrade-sdk&commit=0df8b436ad89036636470f87ff77d3a2d3cdf27a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fupgrade-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T11:00:06.054Z] -> Pinging Codecov [2022-06-17T11:00:06.054Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=upgrade-sdk&commit=0df8b436ad89036636470f87ff77d3a2d3cdf27a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fupgrade-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T11:00:06.316Z] -> Uploading to [2022-06-17T11:00:06.316Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/F29A59C45E3A92E06B3E522C9905F8EF/0df8b436ad89036636470f87ff77d3a2d3cdf27a/14f0adff-33c3-43b1-b525-b01b75d84f70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T110006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddc41a5f73d6b01ce3d60dbda103f0028ac840d55b8131907e800f5a1a83640b [2022-06-17T11:00:06.316Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:00:06.316Z] Dload Upload Total Spent Left Speed [2022-06-17T11:00:06.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7641 0 0 100 7641 0 37273 --:--:-- --:--:-- --:--:-- 37273 [2022-06-17T11:00:06.577Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/0df8b436ad89036636470f87ff77d3a2d3cdf27a [Pipeline] } [2022-06-17T11:00:06.604Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-17T11:00:08.437Z] + [ -d /w/workspace/_device-onvif-camera_upgrade-sdk/archives ] [2022-06-17T11:00:08.437Z] + ls -al /w/workspace/_device-onvif-camera_upgrade-sdk/archives [2022-06-17T11:00:08.437Z] total 16 [2022-06-17T11:00:08.437Z] drwxr-xr-x 3 root root 4096 Jun 17 10:52 . [2022-06-17T11:00:08.437Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:52 .. [2022-06-17T11:00:08.437Z] drwxr-xr-x 2 root root 4096 Jun 17 10:52 cost [2022-06-17T11:00:08.437Z] -rw-r--r-- 1 root root 95 Jun 17 10:52 cost.csv [2022-06-17T11:00:08.437Z] + sudo chown -R jenkins:jenkins /w/workspace/_device-onvif-camera_upgrade-sdk/archives [2022-06-17T11:00:08.437Z] + ls -al /w/workspace/_device-onvif-camera_upgrade-sdk/archives [2022-06-17T11:00:08.437Z] total 16 [2022-06-17T11:00:08.437Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 10:52 . [2022-06-17T11:00:08.437Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 10:52 .. [2022-06-17T11:00:08.437Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 10:52 cost [2022-06-17T11:00:08.437Z] -rw-r--r-- 1 jenkins jenkins 95 Jun 17 10:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:08.770Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:09.670Z] ---> package-listing.sh [2022-06-17T11:00:09.670Z] ++ facter osfamily [2022-06-17T11:00:09.670Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T11:00:09.931Z] + OS_FAMILY=debian [2022-06-17T11:00:09.931Z] + workspace=/w/workspace/_device-onvif-camera_upgrade-sdk [2022-06-17T11:00:09.931Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T11:00:09.931Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T11:00:09.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T11:00:09.931Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T11:00:09.931Z] + '[' /w/workspace/_device-onvif-camera_upgrade-sdk ']' [2022-06-17T11:00:09.931Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T11:00:09.931Z] + case "${OS_FAMILY}" in [2022-06-17T11:00:09.931Z] + dpkg -l [2022-06-17T11:00:09.931Z] + grep '^ii' [2022-06-17T11:00:09.931Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T11:00:09.931Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T11:00:09.931Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T11:00:09.931Z] + '[' /w/workspace/_device-onvif-camera_upgrade-sdk ']' [2022-06-17T11:00:09.931Z] + mkdir -p /w/workspace/_device-onvif-camera_upgrade-sdk/archives/ [2022-06-17T11:00:09.931Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_device-onvif-camera_upgrade-sdk/archives/ [Pipeline] echo [2022-06-17T11:00:09.970Z] 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/_device-onvif-camera_upgrade-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T11:00:10.264Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:00:11.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:00:11.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:00:11.365Z] prd-ubuntu20.04-docker-8c-8g-2557 does not seem to be running inside a container [2022-06-17T11:00:11.409Z] $ 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/_device-onvif-camera_upgrade-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_device-onvif-camera_upgrade-sdk -v /w/workspace/_device-onvif-camera_upgrade-sdk:/w/workspace/_device-onvif-camera_upgrade-sdk:rw,z -v /w/workspace/_device-onvif-camera_upgrade-sdk@tmp:/w/workspace/_device-onvif-camera_upgrade-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T11:00:11.649Z] $ docker top cf8f7067d87c94d0963a20b815c3d12212ffc59102722c78d10ff3925371352c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:00:12.108Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T11:00:12.424Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T11:00:12.736Z] + ls /var/log/sa-host [2022-06-17T11:00:12.736Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:00:12.933Z] provisioning config files... [2022-06-17T11:00:12.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_device-onvif-camera_upgrade-sdk@tmp/config1600421476737373195tmp [Pipeline] { [Pipeline] echo [2022-06-17T11:00:12.988Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:13.307Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T11:00:13.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:13.751Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T11:00:13.780Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:14.093Z] ---> sudo-logs.sh [2022-06-17T11:00:14.093Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T11:00:14.173Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:14.489Z] ---> job-cost.sh [2022-06-17T11:00:14.489Z] lf-activate-venv: SKIPPING [2022-06-17T11:00:14.489Z] DEBUG: total: 0.2199999988079071 [2022-06-17T11:00:14.489Z] INFO: Retrieving Stack Cost... [2022-06-17T11:00:14.750Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T11:00:15.324Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T11:00:15.360Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:00:15.679Z] ---> logs-deploy.sh [2022-06-17T11:00:15.679Z] lf-activate-venv: SKIPPING [2022-06-17T11:00:15.679Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/upgrade-sdk/1 [2022-06-17T11:00:15.679Z] INFO: archiving workspace using pattern(s): [2022-06-17T11:00:16.621Z] Archives upload complete. [2022-06-17T11:00:16.621Z] INFO: archiving logs to Nexus