Pull request #283 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at a19c49b13c0fa898c897ffa06db9bfcb5560ce91 rather than 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Obtained Jenkinsfile from a19c49b13c0fa898c897ffa06db9bfcb5560ce91 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-ssh14100694872229738869.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11907895538494936550.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17328298019321717072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17938633775518256298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5953854407177598892.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8875539667849807274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4967 in /w/workspace/undry_device-onvif-camera_PR-283 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-283 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit a19c49b13c0fa898c897ffa06db9bfcb5560ce91 into PR head commit 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Merge succeeded, producing 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Checking out Revision 52bb2f830998cbf2cea456f40f1b08ae3e247aaf (PR-283) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a19c49b13c0fa898c897ffa06db9bfcb5560ce91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 Commit message: "docs: change log upated with levski patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T22:13:48.395Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T22:13:48.559Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T22:13:48.653Z] ========================================================= [2023-03-21T22:13:48.653Z] EdgeX Global Pipelines Version Info [2023-03-21T22:13:48.653Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:13:49.423Z] ------------------- [2023-03-21T22:13:49.423Z] stable info: [2023-03-21T22:13:49.423Z] ------------------- [2023-03-21T22:13:49.423Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T22:13:49.423Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T22:13:49.423Z] Message: update stable to v1.0.245 [2023-03-21T22:13:49.993Z] ------------------- [2023-03-21T22:13:49.993Z] experimental info: [2023-03-21T22:13:49.993Z] ------------------- [2023-03-21T22:13:49.993Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T22:13:49.993Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T22:13:49.993Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T22:13:50.294Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-21T22:13:50.334Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-21T22:13:50.374Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T22:13:50.413Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T22:13:50.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T22:13:50.497Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-21T22:13:50.538Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T22:13:50.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T22:13:50.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T22:13:50.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T22:13:50.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T22:13:50.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-21T22:13:50.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T22:13:50.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T22:13:50.874Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T22:13:50.912Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T22:13:50.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T22:13:51.010Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T22:13:51.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T22:13:51.093Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T22:13:51.133Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T22:13:51.172Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-21T22:13:51.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T22:13:51.253Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T22:13:51.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T22:13:51.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T22:13:51.375Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T22:13:51.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo [2023-03-21T22:13:51.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo [2023-03-21T22:13:51.496Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo [2023-03-21T22:13:51.534Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo [2023-03-21T22:13:51.572Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52bb2f8 [Pipeline] echo [2023-03-21T22:13:51.609Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T22:13:51.719Z] provisioning config files... [2023-03-21T22:13:51.734Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config1015444012259237710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:13:52.082Z] ---> docker-login.sh [2023-03-21T22:13:52.083Z] nexus3.edgexfoundry.org:10001 [2023-03-21T22:13:52.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:13:52.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:13:52.343Z] Configure a credential helper to remove this warning. See [2023-03-21T22:13:52.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:13:52.343Z] [2023-03-21T22:13:52.343Z] Login Succeeded [2023-03-21T22:13:52.343Z] nexus3.edgexfoundry.org:10002 [2023-03-21T22:13:52.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:13:52.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:13:52.343Z] Configure a credential helper to remove this warning. See [2023-03-21T22:13:52.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:13:52.343Z] [2023-03-21T22:13:52.343Z] Login Succeeded [2023-03-21T22:13:52.343Z] nexus3.edgexfoundry.org:10003 [2023-03-21T22:13:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:13:52.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:13:52.603Z] Configure a credential helper to remove this warning. See [2023-03-21T22:13:52.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:13:52.603Z] [2023-03-21T22:13:52.603Z] Login Succeeded [2023-03-21T22:13:52.603Z] nexus3.edgexfoundry.org:10004 [2023-03-21T22:13:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:13:52.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:13:52.603Z] Configure a credential helper to remove this warning. See [2023-03-21T22:13:52.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:13:52.603Z] [2023-03-21T22:13:52.603Z] Login Succeeded [2023-03-21T22:13:52.603Z] docker.io [2023-03-21T22:13:52.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:13:53.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:13:53.123Z] Configure a credential helper to remove this warning. See [2023-03-21T22:13:53.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:13:53.123Z] [2023-03-21T22:13:53.123Z] Login Succeeded [2023-03-21T22:13:53.123Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T22:13:53.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T22:13:53.771Z] + git rev-list -1 --merges 52bb2f830998cbf2cea456f40f1b08ae3e247aaf~1..52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo [2023-03-21T22:13:53.826Z] -----------> git rev-list -1 --merges 52bb2f830998cbf2cea456f40f1b08ae3e247aaf~1..52bb2f830998cbf2cea456f40f1b08ae3e247aaf 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [false] [Pipeline] sh [2023-03-21T22:13:54.133Z] + git log --format=format:%s -1 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo [2023-03-21T22:13:54.166Z] ========================================================= [2023-03-21T22:13:54.166Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T22:13:54.166Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T22:13:54.597Z] + git log --format=format:%s -1 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo [2023-03-21T22:13:54.635Z] [semverPrep] GIT_COMMIT: 52bb2f830998cbf2cea456f40f1b08ae3e247aaf, Commit Message: docs: change log upated with levski patch [Pipeline] echo [2023-03-21T22:13:54.665Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T22:13:55.093Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T22:13:55.093Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T22:13:55.093Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T22:13:55.093Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T22:13:55.093Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T22:13:55.093Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T22:13:55.093Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:13:55.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T22:13:55.521Z] [2023-03-21T22:13:55.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:13:55.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T22:13:55.904Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T22:13:55.904Z] b85a868b505f: Pulling fs layer [2023-03-21T22:13:55.904Z] e2be974225ed: Pulling fs layer [2023-03-21T22:13:55.904Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T22:13:55.904Z] 988bab9f4d93: Pulling fs layer [2023-03-21T22:13:55.904Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T22:13:55.904Z] eaf3925da568: Pulling fs layer [2023-03-21T22:13:55.904Z] bab4dde63d76: Pulling fs layer [2023-03-21T22:13:55.904Z] bde34c3a00c8: Pulling fs layer [2023-03-21T22:13:55.904Z] b352a97aabf1: Pulling fs layer [2023-03-21T22:13:55.904Z] 4872d77fe225: Pulling fs layer [2023-03-21T22:13:55.904Z] 5851b861e8e6: Pulling fs layer [2023-03-21T22:13:55.904Z] bab4dde63d76: Waiting [2023-03-21T22:13:55.904Z] bde34c3a00c8: Waiting [2023-03-21T22:13:55.905Z] 988bab9f4d93: Waiting [2023-03-21T22:13:55.905Z] 1469e6f7b9e6: Waiting [2023-03-21T22:13:55.905Z] eaf3925da568: Waiting [2023-03-21T22:13:55.905Z] b352a97aabf1: Waiting [2023-03-21T22:13:55.905Z] 4872d77fe225: Waiting [2023-03-21T22:13:55.905Z] e2be974225ed: Verifying Checksum [2023-03-21T22:13:55.905Z] e2be974225ed: Download complete [2023-03-21T22:13:55.905Z] 988bab9f4d93: Verifying Checksum [2023-03-21T22:13:55.905Z] 988bab9f4d93: Download complete [2023-03-21T22:13:56.166Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T22:13:56.166Z] 339a4e72a1f5: Download complete [2023-03-21T22:13:56.166Z] eaf3925da568: Verifying Checksum [2023-03-21T22:13:56.166Z] eaf3925da568: Download complete [2023-03-21T22:13:56.166Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-03-21T22:13:56.166Z] b85a868b505f: Download complete [2023-03-21T22:13:56.426Z] bde34c3a00c8: Download complete [2023-03-21T22:13:56.426Z] b352a97aabf1: Verifying Checksum [2023-03-21T22:13:56.426Z] b352a97aabf1: Download complete [2023-03-21T22:13:56.426Z] 4872d77fe225: Download complete [2023-03-21T22:13:56.426Z] 5851b861e8e6: Verifying Checksum [2023-03-21T22:13:56.426Z] 5851b861e8e6: Download complete [2023-03-21T22:13:56.693Z] bab4dde63d76: Verifying Checksum [2023-03-21T22:13:57.271Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-03-21T22:13:57.531Z] b85a868b505f: Pull complete [2023-03-21T22:13:57.794Z] e2be974225ed: Pull complete [2023-03-21T22:13:58.055Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-03-21T22:13:58.315Z] 339a4e72a1f5: Pull complete [2023-03-21T22:13:58.315Z] 988bab9f4d93: Pull complete [2023-03-21T22:13:59.253Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-03-21T22:14:00.193Z] 1469e6f7b9e6: Retrying in 1 second [2023-03-21T22:14:01.132Z] 1469e6f7b9e6: Retrying in 10 seconds [2023-03-21T22:14:02.071Z] 1469e6f7b9e6: Retrying in 9 seconds [2023-03-21T22:14:03.450Z] 1469e6f7b9e6: Retrying in 8 seconds [2023-03-21T22:14:04.387Z] 1469e6f7b9e6: Retrying in 7 seconds [2023-03-21T22:14:05.324Z] 1469e6f7b9e6: Retrying in 6 seconds [2023-03-21T22:14:06.264Z] 1469e6f7b9e6: Retrying in 5 seconds [2023-03-21T22:14:07.205Z] 1469e6f7b9e6: Retrying in 4 seconds [2023-03-21T22:14:08.142Z] 1469e6f7b9e6: Retrying in 3 seconds [2023-03-21T22:14:09.083Z] 1469e6f7b9e6: Retrying in 2 seconds [2023-03-21T22:14:10.470Z] 1469e6f7b9e6: Retrying in 1 second [2023-03-21T22:14:11.415Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T22:14:11.415Z] 1469e6f7b9e6: Download complete [2023-03-21T22:14:11.415Z] 1469e6f7b9e6: Pull complete [2023-03-21T22:14:11.720Z] eaf3925da568: Pull complete [2023-03-21T22:14:13.728Z] bab4dde63d76: Pull complete [2023-03-21T22:14:13.728Z] bde34c3a00c8: Pull complete [2023-03-21T22:14:13.728Z] b352a97aabf1: Pull complete [2023-03-21T22:14:13.729Z] 4872d77fe225: Pull complete [2023-03-21T22:14:13.729Z] 5851b861e8e6: Pull complete [2023-03-21T22:14:13.729Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T22:14:13.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T22:14:13.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:14:14.239Z] prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container [2023-03-21T22:14:14.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T22:14:16.746Z] $ docker top a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 -eo pid,comm [2023-03-21T22:14:16.803Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T22:14:16.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T22:14:16.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T22:14:16.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T22:14:17.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T22:14:17.062Z] $ docker exec a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent [2023-03-21T22:14:17.161Z] SSH_AUTH_SOCK=/tmp/ssh-lYcycRR6tZGU/agent.32 [2023-03-21T22:14:17.161Z] SSH_AGENT_PID=38 [2023-03-21T22:14:17.169Z] Running ssh-add (command line suppressed) [2023-03-21T22:14:17.294Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_7626092025617839149.key (/w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_7626092025617839149.key) [2023-03-21T22:14:17.305Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T22:14:17.636Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T22:14:17.665Z] $ docker exec --env ******** --env ******** a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent -k [2023-03-21T22:14:17.763Z] unset SSH_AUTH_SOCK; [2023-03-21T22:14:17.763Z] unset SSH_AGENT_PID; [2023-03-21T22:14:17.763Z] echo Agent pid 38 killed; [2023-03-21T22:14:17.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T22:14:17.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T22:14:17.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T22:14:17.986Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T22:14:17.992Z] $ docker exec a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent [2023-03-21T22:14:18.105Z] SSH_AUTH_SOCK=/tmp/ssh-FD8hq540Os7S/agent.70 [2023-03-21T22:14:18.105Z] SSH_AGENT_PID=76 [2023-03-21T22:14:18.110Z] Running ssh-add (command line suppressed) [2023-03-21T22:14:18.221Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_12084953850878952144.key (/w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_12084953850878952144.key) [2023-03-21T22:14:18.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T22:14:18.555Z] + git semver init [2023-03-21T22:14:18.815Z] 2023-03-21 22:14:18,791 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T22:14:18.815Z] 2023-03-21 22:14:18,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-283/.semver [2023-03-21T22:14:18.815Z] 2023-03-21 22:14:18,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-283/.semver [2023-03-21T22:14:18.815Z] 2023-03-21 22:14:18,793 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-283/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-283, universal_newlines=False, shell=None, istream=None) [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,686 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-283/.git/info/exclude [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,686 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 with force:False [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,686 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,689 [execute] INFO git cat-file --batch-check [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-283/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,695 [execute] INFO git cat-file --batch [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-283/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T22:14:19.753Z] 2023-03-21 22:14:19,700 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 [2023-03-21T22:14:19.753Z] 0.0.0 [Pipeline] } [2023-03-21T22:14:19.781Z] $ docker exec --env ******** --env ******** a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent -k [2023-03-21T22:14:19.892Z] unset SSH_AUTH_SOCK; [2023-03-21T22:14:19.893Z] unset SSH_AGENT_PID; [2023-03-21T22:14:19.893Z] echo Agent pid 76 killed; [2023-03-21T22:14:19.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T22:14:20.307Z] + git semver [Pipeline] } [2023-03-21T22:14:20.594Z] $ docker stop --time=1 a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 [2023-03-21T22:14:21.903Z] $ docker rm -f --volumes a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T22:14:22.305Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T22:14:22.573Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T22:14:22.591Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T22:14:23.181Z] provisioning config files... [2023-03-21T22:14:23.190Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config2294660915954240964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:14:23.530Z] ---> docker-login.sh [2023-03-21T22:14:23.530Z] nexus3.edgexfoundry.org:10001 [2023-03-21T22:14:23.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:14:23.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:14:23.530Z] Configure a credential helper to remove this warning. See [2023-03-21T22:14:23.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:14:23.530Z] [2023-03-21T22:14:23.530Z] Login Succeeded [2023-03-21T22:14:23.530Z] nexus3.edgexfoundry.org:10002 [2023-03-21T22:14:23.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:14:23.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:14:23.530Z] Configure a credential helper to remove this warning. See [2023-03-21T22:14:23.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:14:23.530Z] [2023-03-21T22:14:23.530Z] Login Succeeded [2023-03-21T22:14:23.530Z] nexus3.edgexfoundry.org:10003 [2023-03-21T22:14:23.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:14:23.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:14:23.790Z] Configure a credential helper to remove this warning. See [2023-03-21T22:14:23.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:14:23.790Z] [2023-03-21T22:14:23.790Z] Login Succeeded [2023-03-21T22:14:23.790Z] nexus3.edgexfoundry.org:10004 [2023-03-21T22:14:23.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:14:23.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:14:23.790Z] Configure a credential helper to remove this warning. See [2023-03-21T22:14:23.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:14:23.790Z] [2023-03-21T22:14:23.790Z] Login Succeeded [2023-03-21T22:14:23.790Z] docker.io [2023-03-21T22:14:24.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:14:24.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:14:24.050Z] Configure a credential helper to remove this warning. See [2023-03-21T22:14:24.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:14:24.050Z] [2023-03-21T22:14:24.050Z] Login Succeeded [2023-03-21T22:14:24.050Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T22:14:24.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T22:14:24.271Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T22:14:24.312Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T22:14:24.341Z] ========================================================= [2023-03-21T22:14:24.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-21T22:14:24.341Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:14:24.800Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T22:14:24.801Z] Sending build context to Docker daemon 27.01MB [2023-03-21T22:14:24.801Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T22:14:24.801Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T22:14:25.060Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T22:14:25.061Z] 213ec9aee27d: Pulling fs layer [2023-03-21T22:14:25.061Z] 4583459ba037: Pulling fs layer [2023-03-21T22:14:25.061Z] 93c1e223e6f2: Pulling fs layer [2023-03-21T22:14:25.061Z] 53926ce57604: Pulling fs layer [2023-03-21T22:14:25.061Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-21T22:14:25.061Z] 22ff95d597cd: Pulling fs layer [2023-03-21T22:14:25.061Z] 12d6caf4c0d1: Pulling fs layer [2023-03-21T22:14:25.061Z] 96b7cbca73a9: Pulling fs layer [2023-03-21T22:14:25.061Z] a7acece74701: Pulling fs layer [2023-03-21T22:14:25.061Z] 53926ce57604: Waiting [2023-03-21T22:14:25.061Z] 21b2b0c7a3f4: Waiting [2023-03-21T22:14:25.061Z] 22ff95d597cd: Waiting [2023-03-21T22:14:25.061Z] 12d6caf4c0d1: Waiting [2023-03-21T22:14:25.061Z] 96b7cbca73a9: Waiting [2023-03-21T22:14:25.061Z] a7acece74701: Waiting [2023-03-21T22:14:25.061Z] 93c1e223e6f2: Verifying Checksum [2023-03-21T22:14:25.061Z] 93c1e223e6f2: Download complete [2023-03-21T22:14:25.061Z] 4583459ba037: Download complete [2023-03-21T22:14:25.061Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-21T22:14:25.061Z] 21b2b0c7a3f4: Download complete [2023-03-21T22:14:25.061Z] 22ff95d597cd: Verifying Checksum [2023-03-21T22:14:25.061Z] 22ff95d597cd: Download complete [2023-03-21T22:14:25.061Z] 213ec9aee27d: Verifying Checksum [2023-03-21T22:14:25.061Z] 213ec9aee27d: Download complete [2023-03-21T22:14:25.061Z] 12d6caf4c0d1: Verifying Checksum [2023-03-21T22:14:25.061Z] 12d6caf4c0d1: Download complete [2023-03-21T22:14:25.061Z] 213ec9aee27d: Pull complete [2023-03-21T22:14:25.330Z] 4583459ba037: Pull complete [2023-03-21T22:14:25.330Z] 93c1e223e6f2: Pull complete [2023-03-21T22:14:25.592Z] a7acece74701: Verifying Checksum [2023-03-21T22:14:25.592Z] a7acece74701: Download complete [2023-03-21T22:14:25.852Z] 96b7cbca73a9: Verifying Checksum [2023-03-21T22:14:25.852Z] 96b7cbca73a9: Download complete [2023-03-21T22:14:25.852Z] 53926ce57604: Download complete [2023-03-21T22:14:30.041Z] 53926ce57604: Pull complete [2023-03-21T22:14:30.041Z] 21b2b0c7a3f4: Pull complete [2023-03-21T22:14:30.041Z] 22ff95d597cd: Pull complete [2023-03-21T22:14:30.041Z] 12d6caf4c0d1: Pull complete [2023-03-21T22:14:31.941Z] 96b7cbca73a9: Pull complete [2023-03-21T22:14:32.873Z] a7acece74701: Pull complete [2023-03-21T22:14:32.873Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-21T22:14:32.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-21T22:14:32.873Z] ---> db6d94c90886 [2023-03-21T22:14:32.873Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T22:14:37.075Z] ---> Running in 3764861a8918 [2023-03-21T22:14:37.075Z] Removing intermediate container 3764861a8918 [2023-03-21T22:14:37.075Z] ---> c3b9f2e59edc [2023-03-21T22:14:37.075Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T22:14:37.075Z] ---> Running in f7621da73ed5 [2023-03-21T22:14:37.075Z] Removing intermediate container f7621da73ed5 [2023-03-21T22:14:37.075Z] ---> 652d57c84654 [2023-03-21T22:14:37.075Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T22:14:37.075Z] ---> Running in 627d48bc85b4 [2023-03-21T22:14:37.334Z] Removing intermediate container 627d48bc85b4 [2023-03-21T22:14:37.334Z] ---> 75d32a73c990 [2023-03-21T22:14:37.334Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T22:14:37.334Z] ---> Running in 3b1b4fd31d86 [2023-03-21T22:14:37.334Z] Removing intermediate container 3b1b4fd31d86 [2023-03-21T22:14:37.334Z] ---> 650c021a19d7 [2023-03-21T22:14:37.334Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T22:14:37.334Z] ---> Running in 1257d31e9e9d [2023-03-21T22:14:37.334Z] Removing intermediate container 1257d31e9e9d [2023-03-21T22:14:37.334Z] ---> 89239a898c15 [2023-03-21T22:14:37.334Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T22:14:37.334Z] ---> Running in a772cc6af1a9 [2023-03-21T22:14:37.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T22:14:37.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T22:14:38.009Z] Still waiting to schedule task [2023-03-21T22:14:38.009Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-21T22:14:38.160Z] OK: 211 MiB in 51 packages [2023-03-21T22:14:38.419Z] Removing intermediate container a772cc6af1a9 [2023-03-21T22:14:38.419Z] ---> dd9ecf66f86b [2023-03-21T22:14:38.419Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T22:14:38.419Z] ---> Running in b8b5b6c2d65d [2023-03-21T22:14:38.679Z] Removing intermediate container b8b5b6c2d65d [2023-03-21T22:14:38.679Z] ---> 1b08eb84e910 [2023-03-21T22:14:38.679Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T22:14:38.679Z] ---> ed12937897a8 [2023-03-21T22:14:38.679Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T22:14:38.679Z] ---> Running in f8090ecea75d [2023-03-21T22:15:05.237Z] Removing intermediate container f8090ecea75d [2023-03-21T22:15:05.237Z] ---> b07f48cbfda1 [2023-03-21T22:15:05.237Z] Step 12/13 : COPY . . [2023-03-21T22:15:05.237Z] ---> 6cacbd8c2e34 [2023-03-21T22:15:05.237Z] Step 13/13 : RUN ${MAKE} [2023-03-21T22:15:05.237Z] ---> Running in 0640615286bc [2023-03-21T22:15:05.237Z] noop [2023-03-21T22:15:05.237Z] Removing intermediate container 0640615286bc [2023-03-21T22:15:05.237Z] ---> 642c430d6a79 [2023-03-21T22:15:05.237Z] Successfully built 642c430d6a79 [2023-03-21T22:15:05.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:15:05.691Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T22:15:05.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:15:05.843Z] prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container [2023-03-21T22:15:05.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T22:15:06.237Z] $ docker top 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T22:15:06.623Z] + go version [2023-03-21T22:15:06.623Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-21T22:15:06.657Z] $ docker stop --time=1 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de [2023-03-21T22:15:07.915Z] $ docker rm -f --volumes 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:15:08.622Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T22:15:08.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:15:08.771Z] prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container [2023-03-21T22:15:08.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T22:15:09.170Z] $ docker top afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T22:15:09.573Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-283 [Pipeline] fileExists [Pipeline] sh [2023-03-21T22:15:09.927Z] + make test [2023-03-21T22:15:09.927Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T22:15:10.185Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T22:15:22.380Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T22:15:24.915Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2023-03-21T22:15:24.915Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T22:15:24.915Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.404s coverage: 86.5% of statements [2023-03-21T22:15:33.033Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-21T22:15:33.033Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T22:15:36.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T22:15:36.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T22:15:36.313Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T22:15:36.353Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T22:15:36.386Z] $ docker stop --time=1 afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 [2023-03-21T22:15:38.513Z] $ docker rm -f --volumes afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T22:15:39.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T22:15:39.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T22:15:39.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T22:15:40.104Z] + ls -al . [2023-03-21T22:15:40.104Z] total 248 [2023-03-21T22:15:40.104Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 22:15 . [2023-03-21T22:15:40.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 .. [2023-03-21T22:15:40.104Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:15 .git [2023-03-21T22:15:40.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:13 .github [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 22:13 .gitignore [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 22:13 .golangci.yml [2023-03-21T22:15:40.104Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:14 .semver [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 22:13 Attribution.txt [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 22:13 CHANGELOG.md [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 22:13 Dockerfile [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:13 GOVERNANCE.md [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 22:13 Jenkinsfile [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 22:13 LICENSE [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 22:13 Makefile [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 22:13 OWNERS.md [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 22:13 README.md [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 22:14 VERSION [2023-03-21T22:15:40.104Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:13 bin [2023-03-21T22:15:40.104Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:13 cmd [2023-03-21T22:15:40.104Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 22:15 coverage.out [2023-03-21T22:15:40.104Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 22:13 doc [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 22:13 go.mod [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 22:13 go.sum [2023-03-21T22:15:40.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 internal [2023-03-21T22:15:40.104Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 snap [2023-03-21T22:15:40.104Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:15:40.566Z] + 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=52bb2f830998cbf2cea456f40f1b08ae3e247aaf --label arch=amd64 --label version=0.0.0 . [2023-03-21T22:15:40.566Z] Sending build context to Docker daemon 27.09MB [2023-03-21T22:15:40.566Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T22:15:40.566Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T22:15:40.566Z] ---> 642c430d6a79 [2023-03-21T22:15:40.566Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T22:15:40.825Z] ---> Running in f178b389b370 [2023-03-21T22:15:40.825Z] Removing intermediate container f178b389b370 [2023-03-21T22:15:40.825Z] ---> 3c014fa541f4 [2023-03-21T22:15:40.825Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T22:15:40.825Z] ---> Running in 4c4febc65634 [2023-03-21T22:15:40.825Z] Removing intermediate container 4c4febc65634 [2023-03-21T22:15:40.825Z] ---> 3f9369c81f36 [2023-03-21T22:15:40.825Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T22:15:41.082Z] ---> Running in 2a2a780c2586 [2023-03-21T22:15:41.082Z] Removing intermediate container 2a2a780c2586 [2023-03-21T22:15:41.082Z] ---> f01184603487 [2023-03-21T22:15:41.082Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T22:15:41.082Z] ---> Running in bd27fd6d61c3 [2023-03-21T22:15:41.082Z] Removing intermediate container bd27fd6d61c3 [2023-03-21T22:15:41.082Z] ---> 31ad0be3295b [2023-03-21T22:15:41.082Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T22:15:41.082Z] ---> Running in 86ae0128abad [2023-03-21T22:15:41.340Z] Removing intermediate container 86ae0128abad [2023-03-21T22:15:41.340Z] ---> f04631875251 [2023-03-21T22:15:41.340Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T22:15:41.340Z] ---> Running in c62766e42531 [2023-03-21T22:15:41.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T22:15:41.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T22:15:41.857Z] OK: 211 MiB in 51 packages [2023-03-21T22:15:42.423Z] Removing intermediate container c62766e42531 [2023-03-21T22:15:42.423Z] ---> 5f5262ecee59 [2023-03-21T22:15:42.423Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T22:15:42.423Z] ---> Running in 2f6fc16a7b8d [2023-03-21T22:15:42.423Z] Removing intermediate container 2f6fc16a7b8d [2023-03-21T22:15:42.423Z] ---> 6b63e9a35d2e [2023-03-21T22:15:42.423Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T22:15:42.423Z] ---> dba813207f60 [2023-03-21T22:15:42.423Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T22:15:42.423Z] ---> Running in fea691005d9a [2023-03-21T22:15:43.357Z] Removing intermediate container fea691005d9a [2023-03-21T22:15:43.357Z] ---> 45b4a226a6de [2023-03-21T22:15:43.357Z] Step 12/26 : COPY . . [2023-03-21T22:15:43.924Z] ---> 17a25e768731 [2023-03-21T22:15:43.924Z] Step 13/26 : RUN ${MAKE} [2023-03-21T22:15:43.924Z] ---> Running in d6392754ec41 [2023-03-21T22:15:44.181Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T22:16:06.087Z] Removing intermediate container d6392754ec41 [2023-03-21T22:16:06.087Z] ---> c25aa1408655 [2023-03-21T22:16:06.087Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T22:16:06.345Z] 3.16: Pulling from library/alpine [2023-03-21T22:16:06.345Z] ef5531b6e74e: Pulling fs layer [2023-03-21T22:16:06.647Z] ef5531b6e74e: Verifying Checksum [2023-03-21T22:16:06.647Z] ef5531b6e74e: Download complete [2023-03-21T22:16:06.647Z] ef5531b6e74e: Pull complete [2023-03-21T22:16:06.647Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T22:16:06.647Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T22:16:06.647Z] ---> dfd21b5a31f5 [2023-03-21T22:16:06.647Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T22:16:06.906Z] ---> Running in 6eaa21012257 [2023-03-21T22:16:06.906Z] Removing intermediate container 6eaa21012257 [2023-03-21T22:16:06.906Z] ---> 7c179e498842 [2023-03-21T22:16:06.906Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T22:16:06.906Z] ---> Running in 575958986c2c [2023-03-21T22:16:07.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-21T22:16:07.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-21T22:16:07.423Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T22:16:07.423Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T22:16:07.423Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T22:16:07.700Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T22:16:07.700Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T22:16:07.700Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T22:16:07.700Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T22:16:07.700Z] OK: 8 MiB in 20 packages [2023-03-21T22:16:07.958Z] Removing intermediate container 575958986c2c [2023-03-21T22:16:07.959Z] ---> 0df6dd8d7bc7 [2023-03-21T22:16:07.959Z] Step 17/26 : WORKDIR / [2023-03-21T22:16:07.959Z] ---> Running in 1c074daf8218 [2023-03-21T22:16:07.959Z] Removing intermediate container 1c074daf8218 [2023-03-21T22:16:07.959Z] ---> 121cc052dfca [2023-03-21T22:16:07.959Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T22:16:08.893Z] ---> 6a1d7cc28996 [2023-03-21T22:16:08.893Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T22:16:08.893Z] ---> 3044dcfd7650 [2023-03-21T22:16:08.893Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T22:16:08.893Z] ---> c2032a9972dd [2023-03-21T22:16:08.893Z] Step 21/26 : EXPOSE 59984 [2023-03-21T22:16:08.893Z] ---> Running in ed2be6958a7d [2023-03-21T22:16:09.152Z] Removing intermediate container ed2be6958a7d [2023-03-21T22:16:09.152Z] ---> 888e24c5534e [2023-03-21T22:16:09.152Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T22:16:09.152Z] ---> Running in 9223363715f4 [2023-03-21T22:16:09.152Z] Removing intermediate container 9223363715f4 [2023-03-21T22:16:09.152Z] ---> 74f42f9c6c90 [2023-03-21T22:16:09.152Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T22:16:09.152Z] ---> Running in d7e2e5f66f3a [2023-03-21T22:16:09.152Z] Removing intermediate container d7e2e5f66f3a [2023-03-21T22:16:09.152Z] ---> f973389566c3 [2023-03-21T22:16:09.152Z] Step 24/26 : LABEL arch=amd64 [2023-03-21T22:16:09.152Z] ---> Running in 02ea0b06ad29 [2023-03-21T22:16:09.409Z] Removing intermediate container 02ea0b06ad29 [2023-03-21T22:16:09.409Z] ---> 893fc72f215e [2023-03-21T22:16:09.409Z] Step 25/26 : LABEL git_sha=52bb2f830998cbf2cea456f40f1b08ae3e247aaf [2023-03-21T22:16:09.409Z] ---> Running in 45e32b89d4a3 [2023-03-21T22:16:09.409Z] Removing intermediate container 45e32b89d4a3 [2023-03-21T22:16:09.409Z] ---> 430b7e77e02e [2023-03-21T22:16:09.409Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T22:16:09.409Z] ---> Running in 14ef00fe097d [2023-03-21T22:16:09.409Z] Removing intermediate container 14ef00fe097d [2023-03-21T22:16:09.409Z] ---> 0aa62e278c49 [2023-03-21T22:16:09.409Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T22:16:09.667Z] Successfully built 0aa62e278c49 [2023-03-21T22:16:09.667Z] 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 [2023-03-21T22:16:10.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T22:16:10.492Z] [2023-03-21T22:16:10.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:16:10.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T22:16:10.870Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T22:16:10.870Z] 5eb5b503b376: Pulling fs layer [2023-03-21T22:16:10.870Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T22:16:10.870Z] ec43610c2a17: Pulling fs layer [2023-03-21T22:16:10.870Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T22:16:10.870Z] 33b1e0a273af: Pulling fs layer [2023-03-21T22:16:10.870Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T22:16:10.870Z] 2f39f015ded8: Pulling fs layer [2023-03-21T22:16:10.870Z] 3a2ae6a8a46f: Waiting [2023-03-21T22:16:10.870Z] 33b1e0a273af: Waiting [2023-03-21T22:16:10.870Z] 5d3b04190fa2: Waiting [2023-03-21T22:16:10.870Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T22:16:10.870Z] 5c69ac0246d0: Download complete [2023-03-21T22:16:10.870Z] 3a2ae6a8a46f: Download complete [2023-03-21T22:16:11.135Z] ec43610c2a17: Verifying Checksum [2023-03-21T22:16:11.135Z] ec43610c2a17: Download complete [2023-03-21T22:16:11.135Z] 33b1e0a273af: Verifying Checksum [2023-03-21T22:16:11.136Z] 33b1e0a273af: Download complete [2023-03-21T22:16:11.136Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T22:16:11.136Z] 5d3b04190fa2: Download complete [2023-03-21T22:16:11.136Z] 5eb5b503b376: Verifying Checksum [2023-03-21T22:16:11.136Z] 5eb5b503b376: Download complete [2023-03-21T22:16:12.069Z] 2f39f015ded8: Download complete [2023-03-21T22:16:12.327Z] 5eb5b503b376: Pull complete [2023-03-21T22:16:12.584Z] 5c69ac0246d0: Pull complete [2023-03-21T22:16:12.843Z] ec43610c2a17: Pull complete [2023-03-21T22:16:13.101Z] 3a2ae6a8a46f: Pull complete [2023-03-21T22:16:13.359Z] 33b1e0a273af: Pull complete [2023-03-21T22:16:13.359Z] 5d3b04190fa2: Pull complete [2023-03-21T22:16:17.548Z] 2f39f015ded8: Pull complete [2023-03-21T22:16:17.548Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T22:16:17.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T22:16:17.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:16:17.770Z] prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container [2023-03-21T22:16:17.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T22:16:21.175Z] $ docker top 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:16:21.608Z] ---> job-cost.sh [2023-03-21T22:16:21.608Z] lf-activate-venv: SKIPPING [2023-03-21T22:16:21.608Z] INFO: No Stack... [2023-03-21T22:16:22.176Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T22:16:22.435Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T22:16:22.749Z] + cat /w/workspace/undry_device-onvif-camera_PR-283/archives/cost.csv [2023-03-21T22:16:22.749Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T22:16:22.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [2023-03-21T22:16:22.796Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] did not exist. Created. [2023-03-21T22:16:22.796Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T22:16:23.178Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T22:16:23.234Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T22:16:23.261Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T22:16:23.338Z] $ docker stop --time=1 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f [2023-03-21T22:16:24.486Z] $ docker rm -f --volumes 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T22:16:57.841Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4969 in /w/workspace/undry_device-onvif-camera_PR-283 [Pipeline] { [Pipeline] ws [2023-03-21T22:16:57.891Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-21T22:16:57.992Z] The recommended git tool is: git [2023-03-21T22:17:04.279Z] using credential edgex-jenkins-ssh [2023-03-21T22:17:04.296Z] Cloning the remote Git repository [2023-03-21T22:17:04.352Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T22:17:04.455Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-21T22:17:04.623Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T22:17:04.624Z] > git --version # timeout=10 [2023-03-21T22:17:04.653Z] > git --version # 'git version 2.25.1' [2023-03-21T22:17:04.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T22:17:04.814Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T22:17:06.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T22:17:06.364Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T22:17:07.902Z] Merging remotes/origin/levski commit a19c49b13c0fa898c897ffa06db9bfcb5560ce91 into PR head commit 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [2023-03-21T22:17:07.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-21T22:17:07.275Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-21T22:17:07.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T22:17:07.295Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-21T22:17:07.924Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T22:17:08.010Z] > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 [2023-03-21T22:17:08.423Z] Merge succeeded, producing 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [2023-03-21T22:17:08.424Z] Checking out Revision 52bb2f830998cbf2cea456f40f1b08ae3e247aaf (PR-283) [2023-03-21T22:17:08.300Z] > git remote # timeout=10 [2023-03-21T22:17:08.322Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T22:17:08.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T22:17:08.366Z] > git merge a19c49b13c0fa898c897ffa06db9bfcb5560ce91 # timeout=10 [2023-03-21T22:17:08.398Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T22:17:08.430Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T22:17:08.444Z] > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 [2023-03-21T22:17:12.320Z] Commit message: "docs: change log upated with levski patch" [2023-03-21T22:17:12.384Z] > git --version # timeout=10 [2023-03-21T22:17:12.399Z] > git --version # 'git version 2.25.1' [2023-03-21T22:17:12.421Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T22:17:13.503Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T22:17:13.503Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T22:17:13.503Z] Dload Upload Total Spent Left Speed [2023-03-21T22:17:13.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-03-21T22:17:14.220Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T22:17:14.566Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T22:17:14.566Z] + sudo tee /etc/docker/daemon.new [2023-03-21T22:17:14.566Z] { [2023-03-21T22:17:14.566Z] "registry-mirrors": [ [2023-03-21T22:17:14.566Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T22:17:14.566Z] ], [2023-03-21T22:17:14.566Z] "bip": "10.250.0.254/24", [2023-03-21T22:17:14.566Z] "hosts": [ [2023-03-21T22:17:14.566Z] "tcp://0.0.0.0:5555", [2023-03-21T22:17:14.566Z] "unix:///var/run/docker.sock" [2023-03-21T22:17:14.566Z] ], [2023-03-21T22:17:14.566Z] "mtu": 1458, [2023-03-21T22:17:14.566Z] "selinux-enabled": true, [2023-03-21T22:17:14.566Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T22:17:14.566Z] } [Pipeline] sh [2023-03-21T22:17:14.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T22:17:15.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T22:17:33.616Z] provisioning config files... [2023-03-21T22:17:33.644Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6745028443569082100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:17:34.039Z] ---> docker-login.sh [2023-03-21T22:17:34.039Z] nexus3.edgexfoundry.org:10001 [2023-03-21T22:17:34.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:17:34.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:17:34.630Z] Configure a credential helper to remove this warning. See [2023-03-21T22:17:34.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:17:34.630Z] [2023-03-21T22:17:34.630Z] Login Succeeded [2023-03-21T22:17:34.630Z] nexus3.edgexfoundry.org:10002 [2023-03-21T22:17:34.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:17:35.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:17:35.171Z] Configure a credential helper to remove this warning. See [2023-03-21T22:17:35.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:17:35.171Z] [2023-03-21T22:17:35.171Z] Login Succeeded [2023-03-21T22:17:35.171Z] nexus3.edgexfoundry.org:10003 [2023-03-21T22:17:35.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:17:35.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:17:35.440Z] Configure a credential helper to remove this warning. See [2023-03-21T22:17:35.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:17:35.440Z] [2023-03-21T22:17:35.440Z] Login Succeeded [2023-03-21T22:17:35.440Z] nexus3.edgexfoundry.org:10004 [2023-03-21T22:17:35.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:17:35.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:17:35.711Z] Configure a credential helper to remove this warning. See [2023-03-21T22:17:35.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:17:35.711Z] [2023-03-21T22:17:35.711Z] Login Succeeded [2023-03-21T22:17:35.711Z] docker.io [2023-03-21T22:17:35.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T22:17:36.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T22:17:36.247Z] Configure a credential helper to remove this warning. See [2023-03-21T22:17:36.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T22:17:36.247Z] [2023-03-21T22:17:36.247Z] Login Succeeded [2023-03-21T22:17:36.247Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T22:17:36.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T22:17:36.668Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T22:17:36.706Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T22:17:36.737Z] ========================================================= [2023-03-21T22:17:36.737Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-21T22:17:36.737Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:17:37.228Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T22:17:37.817Z] Sending build context to Docker daemon 19.71MB [2023-03-21T22:17:37.817Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T22:17:37.817Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-21T22:17:37.817Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T22:17:37.817Z] 9b18e9b68314: Pulling fs layer [2023-03-21T22:17:37.817Z] 35d82f9e3411: Pulling fs layer [2023-03-21T22:17:37.817Z] e16973657156: Pulling fs layer [2023-03-21T22:17:37.817Z] fc693d55d65f: Pulling fs layer [2023-03-21T22:17:37.817Z] 7e9fc2657dce: Pulling fs layer [2023-03-21T22:17:37.817Z] dda99020689f: Pulling fs layer [2023-03-21T22:17:37.817Z] db1c61fa0a46: Pulling fs layer [2023-03-21T22:17:37.817Z] 891c053d2c06: Pulling fs layer [2023-03-21T22:17:37.817Z] fc693d55d65f: Waiting [2023-03-21T22:17:37.817Z] 7e9fc2657dce: Waiting [2023-03-21T22:17:37.817Z] dda99020689f: Waiting [2023-03-21T22:17:37.817Z] db1c61fa0a46: Waiting [2023-03-21T22:17:37.817Z] 891c053d2c06: Waiting [2023-03-21T22:17:38.089Z] e16973657156: Verifying Checksum [2023-03-21T22:17:38.089Z] e16973657156: Download complete [2023-03-21T22:17:38.089Z] 35d82f9e3411: Download complete [2023-03-21T22:17:38.089Z] 7e9fc2657dce: Verifying Checksum [2023-03-21T22:17:38.089Z] 7e9fc2657dce: Download complete [2023-03-21T22:17:38.089Z] dda99020689f: Verifying Checksum [2023-03-21T22:17:38.089Z] dda99020689f: Download complete [2023-03-21T22:17:38.089Z] 9b18e9b68314: Verifying Checksum [2023-03-21T22:17:38.089Z] 9b18e9b68314: Download complete [2023-03-21T22:17:39.083Z] 9b18e9b68314: Pull complete [2023-03-21T22:17:39.083Z] 891c053d2c06: Verifying Checksum [2023-03-21T22:17:39.083Z] 891c053d2c06: Download complete [2023-03-21T22:17:39.684Z] 35d82f9e3411: Pull complete [2023-03-21T22:17:39.954Z] e16973657156: Pull complete [2023-03-21T22:17:40.543Z] db1c61fa0a46: Verifying Checksum [2023-03-21T22:17:40.543Z] db1c61fa0a46: Download complete [2023-03-21T22:17:41.130Z] fc693d55d65f: Verifying Checksum [2023-03-21T22:17:41.130Z] fc693d55d65f: Download complete [2023-03-21T22:17:53.473Z] fc693d55d65f: Pull complete [2023-03-21T22:17:53.473Z] 7e9fc2657dce: Pull complete [2023-03-21T22:17:53.473Z] dda99020689f: Pull complete [2023-03-21T22:17:58.841Z] db1c61fa0a46: Pull complete [2023-03-21T22:18:00.795Z] 891c053d2c06: Pull complete [2023-03-21T22:18:00.795Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-21T22:18:00.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-21T22:18:00.795Z] ---> f96f9c87975a [2023-03-21T22:18:00.795Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-21T22:18:02.768Z] ---> Running in d5eb1fba6812 [2023-03-21T22:18:02.768Z] Removing intermediate container d5eb1fba6812 [2023-03-21T22:18:02.768Z] ---> f729c2bc3a5d [2023-03-21T22:18:02.768Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T22:18:03.034Z] ---> Running in 60a35f590b4d [2023-03-21T22:18:03.299Z] Removing intermediate container 60a35f590b4d [2023-03-21T22:18:03.299Z] ---> 4f82ee082bcd [2023-03-21T22:18:03.299Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T22:18:03.299Z] ---> Running in e4b11a08c6e4 [2023-03-21T22:18:03.566Z] Removing intermediate container e4b11a08c6e4 [2023-03-21T22:18:03.566Z] ---> 90eb88b83355 [2023-03-21T22:18:03.566Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T22:18:03.566Z] ---> Running in c30d907741aa [2023-03-21T22:18:03.838Z] Removing intermediate container c30d907741aa [2023-03-21T22:18:03.838Z] ---> 30dcc0eb2a96 [2023-03-21T22:18:03.838Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-21T22:18:04.109Z] ---> Running in 38ed3e3483c7 [2023-03-21T22:18:04.379Z] Removing intermediate container 38ed3e3483c7 [2023-03-21T22:18:04.379Z] ---> d4e1462bed23 [2023-03-21T22:18:04.379Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T22:18:04.379Z] ---> Running in b91351068c66 [2023-03-21T22:18:05.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T22:18:05.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T22:18:07.205Z] OK: 221 MiB in 51 packages [2023-03-21T22:18:09.794Z] Removing intermediate container b91351068c66 [2023-03-21T22:18:09.794Z] ---> 894c86edf476 [2023-03-21T22:18:09.794Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-21T22:18:09.794Z] ---> Running in 6b7039b1dab5 [2023-03-21T22:18:10.065Z] Removing intermediate container 6b7039b1dab5 [2023-03-21T22:18:10.065Z] ---> 7cc08fcd9cec [2023-03-21T22:18:10.065Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-21T22:18:10.657Z] ---> 8ab0e77bcbfd [2023-03-21T22:18:10.657Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T22:18:10.657Z] ---> Running in b788cd2dc883 [2023-03-21T22:19:18.553Z] Removing intermediate container b788cd2dc883 [2023-03-21T22:19:18.553Z] ---> c44f8fbb6d9d [2023-03-21T22:19:18.553Z] Step 12/13 : COPY . . [2023-03-21T22:19:18.553Z] ---> 27cb6440b752 [2023-03-21T22:19:18.553Z] Step 13/13 : RUN ${MAKE} [2023-03-21T22:19:18.553Z] ---> Running in 2902592677c5 [2023-03-21T22:19:18.553Z] noop [2023-03-21T22:19:18.553Z] Removing intermediate container 2902592677c5 [2023-03-21T22:19:18.553Z] ---> 33efdb51ba57 [2023-03-21T22:19:18.553Z] Successfully built 33efdb51ba57 [2023-03-21T22:19:18.553Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:19:19.044Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T22:19:19.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:19:19.347Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-03-21T22:19:19.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T22:19:20.701Z] $ docker top 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T22:19:21.607Z] + go version [2023-03-21T22:19:21.607Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-21T22:19:21.647Z] $ docker stop --time=1 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 [2023-03-21T22:19:23.276Z] $ docker rm -f --volumes 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:19:24.128Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T22:19:24.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:19:24.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-03-21T22:19:24.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T22:19:26.463Z] $ docker top cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T22:19:27.344Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T22:19:27.735Z] + make test [2023-03-21T22:19:27.736Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-21T22:19:29.678Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-21T22:21:06.329Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-21T22:21:16.437Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 29.3% of statements [2023-03-21T22:21:16.437Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-21T22:21:34.677Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.983s coverage: 86.5% of statements [2023-03-21T22:21:34.677Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T22:21:34.677Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-03-21T22:22:06.947Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T22:22:06.947Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T22:22:06.947Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T22:22:06.991Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T22:22:07.023Z] $ docker stop --time=1 cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 [2023-03-21T22:22:08.795Z] $ docker rm -f --volumes cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T22:22:09.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T22:22:09.907Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T22:22:10.516Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T22:22:11.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T22:22:11.464Z] + ls -al . [2023-03-21T22:22:11.464Z] total 244 [2023-03-21T22:22:11.464Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 22:19 . [2023-03-21T22:22:11.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 .. [2023-03-21T22:22:11.464Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:17 .git [2023-03-21T22:22:11.464Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:17 .github [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 22:17 .gitignore [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 22:17 .golangci.yml [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 22:17 Attribution.txt [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 22:17 CHANGELOG.md [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 22:17 Dockerfile [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:17 GOVERNANCE.md [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 22:17 Jenkinsfile [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 22:17 LICENSE [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 22:17 Makefile [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 22:17 OWNERS.md [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 22:17 README.md [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 22:14 VERSION [2023-03-21T22:22:11.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:17 bin [2023-03-21T22:22:11.464Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:17 cmd [2023-03-21T22:22:11.464Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 22:21 coverage.out [2023-03-21T22:22:11.464Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 22:17 doc [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 22:17 go.mod [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 22:17 go.sum [2023-03-21T22:22:11.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 internal [2023-03-21T22:22:11.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 snap [2023-03-21T22:22:11.464Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:22:11.978Z] + 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=52bb2f830998cbf2cea456f40f1b08ae3e247aaf --label arch=arm64 --label version=0.0.0 . [2023-03-21T22:22:12.597Z] Sending build context to Docker daemon 19.79MB [2023-03-21T22:22:12.597Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-21T22:22:12.597Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-21T22:22:12.597Z] ---> 33efdb51ba57 [2023-03-21T22:22:12.597Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-21T22:22:12.873Z] ---> Running in be4ddfdfe0a0 [2023-03-21T22:22:13.150Z] Removing intermediate container be4ddfdfe0a0 [2023-03-21T22:22:13.150Z] ---> 1f7f0806d259 [2023-03-21T22:22:13.150Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T22:22:13.150Z] ---> Running in 057dafdc9a85 [2023-03-21T22:22:13.427Z] Removing intermediate container 057dafdc9a85 [2023-03-21T22:22:13.427Z] ---> a578534b332e [2023-03-21T22:22:13.427Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-03-21T22:22:13.722Z] ---> Running in cafeca02777d [2023-03-21T22:22:14.013Z] Removing intermediate container cafeca02777d [2023-03-21T22:22:14.013Z] ---> 2473392bee10 [2023-03-21T22:22:14.013Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T22:22:14.013Z] ---> Running in 0c717a033405 [2023-03-21T22:22:14.291Z] Removing intermediate container 0c717a033405 [2023-03-21T22:22:14.291Z] ---> 35fa70947764 [2023-03-21T22:22:14.291Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-21T22:22:14.569Z] ---> Running in b56baa96f30d [2023-03-21T22:22:14.853Z] Removing intermediate container b56baa96f30d [2023-03-21T22:22:14.853Z] ---> 60d8d35de88e [2023-03-21T22:22:14.853Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T22:22:14.853Z] ---> Running in 417bf3d5a5c9 [2023-03-21T22:22:16.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T22:22:16.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T22:22:17.705Z] OK: 221 MiB in 51 packages [2023-03-21T22:22:18.291Z] Removing intermediate container 417bf3d5a5c9 [2023-03-21T22:22:18.291Z] ---> ea4a27c5e4e0 [2023-03-21T22:22:18.291Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-21T22:22:18.291Z] ---> Running in 50959c50a529 [2023-03-21T22:22:18.877Z] Removing intermediate container 50959c50a529 [2023-03-21T22:22:18.877Z] ---> 83530f32c989 [2023-03-21T22:22:18.877Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-21T22:22:19.153Z] ---> 7b420241c4de [2023-03-21T22:22:19.153Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T22:22:19.421Z] ---> Running in 931d6a816ca3 [2023-03-21T22:22:21.366Z] Removing intermediate container 931d6a816ca3 [2023-03-21T22:22:21.366Z] ---> e22b507aac40 [2023-03-21T22:22:21.366Z] Step 12/26 : COPY . . [2023-03-21T22:22:23.312Z] ---> c7baf9be4055 [2023-03-21T22:22:23.312Z] Step 13/26 : RUN ${MAKE} [2023-03-21T22:22:23.312Z] ---> Running in 7cad3efbaa14 [2023-03-21T22:22:24.271Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-03-21T22:25:00.999Z] Removing intermediate container 7cad3efbaa14 [2023-03-21T22:25:00.999Z] ---> 4f47a8c306e9 [2023-03-21T22:25:00.999Z] Step 14/26 : FROM alpine:3.16 [2023-03-21T22:25:00.999Z] 3.16: Pulling from library/alpine [2023-03-21T22:25:00.999Z] 3760b48202b3: Pulling fs layer [2023-03-21T22:25:00.999Z] 3760b48202b3: Verifying Checksum [2023-03-21T22:25:00.999Z] 3760b48202b3: Download complete [2023-03-21T22:25:00.999Z] 3760b48202b3: Pull complete [2023-03-21T22:25:00.999Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-21T22:25:00.999Z] Status: Downloaded newer image for alpine:3.16 [2023-03-21T22:25:00.999Z] ---> 4c81e5bf8899 [2023-03-21T22:25:00.999Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-21T22:25:00.999Z] ---> Running in 220e57de2705 [2023-03-21T22:25:00.999Z] Removing intermediate container 220e57de2705 [2023-03-21T22:25:00.999Z] ---> 175be56af361 [2023-03-21T22:25:00.999Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-03-21T22:25:00.999Z] ---> Running in 13dc269d15ec [2023-03-21T22:25:00.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-21T22:25:00.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-21T22:25:00.999Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-03-21T22:25:00.999Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-03-21T22:25:00.999Z] (3/6) Installing libsodium (1.0.18-r0) [2023-03-21T22:25:00.999Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-21T22:25:00.999Z] (5/6) Installing libzmq (4.3.4-r0) [2023-03-21T22:25:00.999Z] (6/6) Installing zeromq (4.3.4-r0) [2023-03-21T22:25:00.999Z] Executing busybox-1.35.0-r17.trigger [2023-03-21T22:25:00.999Z] OK: 8 MiB in 20 packages [2023-03-21T22:25:00.999Z] Removing intermediate container 13dc269d15ec [2023-03-21T22:25:00.999Z] ---> eb33ed9081aa [2023-03-21T22:25:00.999Z] Step 17/26 : WORKDIR / [2023-03-21T22:25:00.999Z] ---> Running in 4f5843f2c1b2 [2023-03-21T22:25:00.999Z] Removing intermediate container 4f5843f2c1b2 [2023-03-21T22:25:00.999Z] ---> cc8b695db3ba [2023-03-21T22:25:00.999Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-21T22:25:00.999Z] ---> 702946259d3d [2023-03-21T22:25:00.999Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-21T22:25:00.999Z] ---> c318e17aea99 [2023-03-21T22:25:00.999Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-21T22:25:00.999Z] ---> df3e473a064d [2023-03-21T22:25:00.999Z] Step 21/26 : EXPOSE 59984 [2023-03-21T22:25:00.999Z] ---> Running in 7fa0c7f1f1e7 [2023-03-21T22:25:00.999Z] Removing intermediate container 7fa0c7f1f1e7 [2023-03-21T22:25:00.999Z] ---> 2cf17fb80cca [2023-03-21T22:25:00.999Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-21T22:25:00.999Z] ---> Running in 0543a2a96376 [2023-03-21T22:25:00.999Z] Removing intermediate container 0543a2a96376 [2023-03-21T22:25:00.999Z] ---> 78b1eed21cac [2023-03-21T22:25:00.999Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-21T22:25:00.999Z] ---> Running in f7366b211517 [2023-03-21T22:25:00.999Z] Removing intermediate container f7366b211517 [2023-03-21T22:25:00.999Z] ---> fc678d7e6abd [2023-03-21T22:25:00.999Z] Step 24/26 : LABEL arch=arm64 [2023-03-21T22:25:00.999Z] ---> Running in 5af656eb99e2 [2023-03-21T22:25:00.999Z] Removing intermediate container 5af656eb99e2 [2023-03-21T22:25:00.999Z] ---> 2a326832b335 [2023-03-21T22:25:00.999Z] Step 25/26 : LABEL git_sha=52bb2f830998cbf2cea456f40f1b08ae3e247aaf [2023-03-21T22:25:00.999Z] ---> Running in 1089c1e56087 [2023-03-21T22:25:00.999Z] Removing intermediate container 1089c1e56087 [2023-03-21T22:25:00.999Z] ---> 238d5152de5d [2023-03-21T22:25:00.999Z] Step 26/26 : LABEL version=0.0.0 [2023-03-21T22:25:00.999Z] ---> Running in 66c5c1884e54 [2023-03-21T22:25:00.999Z] Removing intermediate container 66c5c1884e54 [2023-03-21T22:25:00.999Z] ---> 424607f6999b [2023-03-21T22:25:00.999Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T22:25:00.999Z] Successfully built 424607f6999b [2023-03-21T22:25:00.999Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:25:01.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T22:25:01.785Z] [2023-03-21T22:25:01.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:25:02.186Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T22:25:02.186Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T22:25:02.186Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T22:25:02.186Z] 04944245beec: Pulling fs layer [2023-03-21T22:25:02.186Z] 699f458cf7ca: Pulling fs layer [2023-03-21T22:25:02.186Z] 765212b225bb: Pulling fs layer [2023-03-21T22:25:02.186Z] f23df028b6ca: Pulling fs layer [2023-03-21T22:25:02.186Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T22:25:02.186Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T22:25:02.186Z] 765212b225bb: Waiting [2023-03-21T22:25:02.186Z] f23df028b6ca: Waiting [2023-03-21T22:25:02.186Z] d65c8cfc05b1: Waiting [2023-03-21T22:25:02.186Z] 2437ff75d9bd: Waiting [2023-03-21T22:25:02.457Z] 04944245beec: Verifying Checksum [2023-03-21T22:25:02.457Z] 04944245beec: Download complete [2023-03-21T22:25:02.457Z] 765212b225bb: Verifying Checksum [2023-03-21T22:25:02.457Z] 765212b225bb: Download complete [2023-03-21T22:25:02.457Z] f23df028b6ca: Verifying Checksum [2023-03-21T22:25:02.457Z] f23df028b6ca: Download complete [2023-03-21T22:25:02.457Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T22:25:02.457Z] d65c8cfc05b1: Download complete [2023-03-21T22:25:02.727Z] 699f458cf7ca: Verifying Checksum [2023-03-21T22:25:02.727Z] 699f458cf7ca: Download complete [2023-03-21T22:25:02.998Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T22:25:02.998Z] 8998bd30e6a1: Download complete [2023-03-21T22:25:05.589Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T22:25:05.589Z] 2437ff75d9bd: Download complete [2023-03-21T22:25:06.997Z] 8998bd30e6a1: Pull complete [2023-03-21T22:25:07.580Z] 04944245beec: Pull complete [2023-03-21T22:25:08.991Z] 699f458cf7ca: Pull complete [2023-03-21T22:25:08.991Z] 765212b225bb: Pull complete [2023-03-21T22:25:09.952Z] f23df028b6ca: Pull complete [2023-03-21T22:25:09.952Z] d65c8cfc05b1: Pull complete [2023-03-21T22:25:24.977Z] 2437ff75d9bd: Pull complete [2023-03-21T22:25:24.977Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T22:25:24.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T22:25:24.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:25:25.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-03-21T22:25:25.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T22:25:27.935Z] $ docker top 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:28.804Z] ---> job-cost.sh [2023-03-21T22:25:28.804Z] lf-activate-venv: SKIPPING [2023-03-21T22:25:28.804Z] INFO: No Stack... [2023-03-21T22:25:29.388Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T22:25:29.969Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T22:25:30.628Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-21T22:25:30.628Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T22:25:30.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [2023-03-21T22:25:30.713Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] did not exist. Created. [2023-03-21T22:25:30.713Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T22:25:31.440Z] /w/workspace/device-onvif-camera/1@tmp/durable-b7ab3a34/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T22:25:32.110Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T22:25:32.144Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T22:25:32.202Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T22:25:32.216Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T22:25:32.311Z] $ docker stop --time=1 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec [2023-03-21T22:25:33.828Z] $ docker rm -f --volumes 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T22:25:34.805Z] provisioning config files... [2023-03-21T22:25:34.811Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config7655912678966233749tmp [Pipeline] { [Pipeline] sh [2023-03-21T22:25:35.144Z] + set +x [2023-03-21T22:25:35.144Z] + curl -s https://codecov.io/bash [2023-03-21T22:25:35.144Z] + bash -s -- [2023-03-21T22:25:35.144Z] [2023-03-21T22:25:35.144Z] _____ _ [2023-03-21T22:25:35.144Z] / ____| | | [2023-03-21T22:25:35.144Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T22:25:35.144Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T22:25:35.144Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T22:25:35.144Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T22:25:35.144Z] Bash-1.0.6 [2023-03-21T22:25:35.144Z] [2023-03-21T22:25:35.144Z] [2023-03-21T22:25:35.144Z] ==> git version 2.25.1 found [2023-03-21T22:25:35.144Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T22:25:35.144Z] Release-Date: 2020-01-08 [2023-03-21T22:25:35.144Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T22:25:35.144Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T22:25:35.144Z] ==> Jenkins CI detected. [2023-03-21T22:25:35.144Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-283 [2023-03-21T22:25:35.144Z] project root: . [2023-03-21T22:25:35.144Z] --> token set from env [2023-03-21T22:25:35.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T22:25:35.144Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T22:25:35.144Z] ==> Python coveragepy not found [2023-03-21T22:25:35.144Z] ==> Searching for coverage reports in: [2023-03-21T22:25:35.144Z] + . [2023-03-21T22:25:35.144Z] -> Found 1 reports [2023-03-21T22:25:35.144Z] ==> Detecting git/mercurial file structure [2023-03-21T22:25:35.144Z] ==> Reading reports [2023-03-21T22:25:35.144Z] + ./coverage.out bytes=79184 [2023-03-21T22:25:35.144Z] ==> Appending adjustments [2023-03-21T22:25:35.144Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T22:25:35.404Z] + Found adjustments [2023-03-21T22:25:35.404Z] ==> Gzipping contents [2023-03-21T22:25:35.404Z] 12K /tmp/codecov.w0KdFh.gz [2023-03-21T22:25:35.404Z] ==> Uploading reports [2023-03-21T22:25:35.404Z] url: https://codecov.io [2023-03-21T22:25:35.404Z] query: branch=PR-283&commit=52bb2f830998cbf2cea456f40f1b08ae3e247aaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=283&job=&cmd_args= [2023-03-21T22:25:35.404Z] -> Pinging Codecov [2023-03-21T22:25:35.404Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-283&commit=52bb2f830998cbf2cea456f40f1b08ae3e247aaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=283&job=&cmd_args= [2023-03-21T22:25:35.671Z] -> Uploading to [2023-03-21T22:25:35.672Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/52bb2f830998cbf2cea456f40f1b08ae3e247aaf/0a95a289-cdfe-4961-a973-af1cfdab315f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T222535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d0e19d15336a5e3263077af8c18cf596b94797fb1dd652a10a29c1a0ebe2731 [2023-03-21T22:25:35.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T22:25:35.672Z] Dload Upload Total Spent Left Speed [2023-03-21T22:25:35.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10888 0 0 100 10888 0 53900 --:--:-- --:--:-- --:--:-- 53635 100 10888 0 0 100 10888 0 41557 --:--:-- --:--:-- --:--:-- 41399 [2023-03-21T22:25:35.932Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] } [2023-03-21T22:25:35.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T22:25:37.714Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-283/archives ] [2023-03-21T22:25:37.715Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-283/archives [2023-03-21T22:25:37.715Z] total 16 [2023-03-21T22:25:37.715Z] drwxr-xr-x 3 root root 4096 Mar 21 22:16 . [2023-03-21T22:25:37.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 22:16 .. [2023-03-21T22:25:37.715Z] drwxr-xr-x 2 root root 4096 Mar 21 22:16 cost [2023-03-21T22:25:37.715Z] -rw-r--r-- 1 root root 91 Mar 21 22:16 cost.csv [2023-03-21T22:25:37.715Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-283/archives [2023-03-21T22:25:37.715Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-283/archives [2023-03-21T22:25:37.715Z] total 16 [2023-03-21T22:25:37.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:16 . [2023-03-21T22:25:37.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 22:16 .. [2023-03-21T22:25:37.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 22:16 cost [2023-03-21T22:25:37.715Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 21 22:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:38.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:38.929Z] ---> package-listing.sh [2023-03-21T22:25:38.929Z] ++ facter osfamily [2023-03-21T22:25:38.929Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T22:25:39.187Z] + OS_FAMILY=debian [2023-03-21T22:25:39.187Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-283 [2023-03-21T22:25:39.187Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T22:25:39.187Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T22:25:39.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T22:25:39.187Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T22:25:39.187Z] + '[' /w/workspace/undry_device-onvif-camera_PR-283 ']' [2023-03-21T22:25:39.187Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T22:25:39.187Z] + case "${OS_FAMILY}" in [2023-03-21T22:25:39.187Z] + dpkg -l [2023-03-21T22:25:39.187Z] + grep '^ii' [2023-03-21T22:25:39.187Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T22:25:39.187Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T22:25:39.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T22:25:39.187Z] + '[' /w/workspace/undry_device-onvif-camera_PR-283 ']' [2023-03-21T22:25:39.187Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-283/archives/ [2023-03-21T22:25:39.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-283/archives/ [Pipeline] echo [2023-03-21T22:25:39.217Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T22:25:39.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T22:25:40.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T22:25:40.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T22:25:40.292Z] prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container [2023-03-21T22:25:40.329Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T22:25:40.530Z] $ docker top 00295b4d859007ca214d341d0a7aea40d2fb2515f86b7a47f69077cf24c03e82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T22:25:40.918Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T22:25:41.228Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T22:25:41.540Z] + ls /var/log/sa-host [2023-03-21T22:25:41.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T22:25:41.770Z] provisioning config files... [2023-03-21T22:25:41.780Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config13067286969735142586tmp [Pipeline] { [Pipeline] echo [2023-03-21T22:25:41.835Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:42.159Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T22:25:42.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:42.591Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T22:25:42.621Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:42.933Z] ---> sudo-logs.sh [2023-03-21T22:25:42.933Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T22:25:43.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:43.327Z] ---> job-cost.sh [2023-03-21T22:25:43.327Z] lf-activate-venv: SKIPPING [2023-03-21T22:25:43.327Z] DEBUG: total: 0.2199999988079071 [2023-03-21T22:25:43.327Z] INFO: Retrieving Stack Cost... [2023-03-21T22:25:43.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T22:25:44.158Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T22:25:44.193Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T22:25:44.500Z] ---> logs-deploy.sh [2023-03-21T22:25:44.500Z] lf-activate-venv: SKIPPING [2023-03-21T22:25:44.500Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-283/1 [2023-03-21T22:25:44.500Z] INFO: archiving workspace using pattern(s): [2023-03-21T22:25:45.434Z] Archives upload complete. [2023-03-21T22:25:45.434Z] INFO: archiving logs to Nexus