Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+48aac476b513547f736cc1fa92662379694eca8e (73c8f9c52e2a8159f9c0a26876b68f5acecf27dd) 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-ssh16445781779146583735.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14318914512295105737.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14285312548652133384.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh9546867603440309547.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2849903309290172957.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-117024’ Running on prd-ubuntu20.04-docker-8c-8g-117030 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 Merge succeeded, producing c272949fa86cdc5ae4366c46be47a9cccedc0603 Checking out Revision c272949fa86cdc5ae4366c46be47a9cccedc0603 (PR-185) > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c272949fa86cdc5ae4366c46be47a9cccedc0603 # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 490580d7b7cc3035f8468c1ab33b8e1a8cd382ae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T02:10:42.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T02:10:42.622Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T02:10:42.633Z] ========================================================= [2022-10-26T02:10:42.633Z] EdgeX Global Pipelines Version Info [2022-10-26T02:10:42.633Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:10:43.368Z] ------------------- [2022-10-26T02:10:43.368Z] stable info: [2022-10-26T02:10:43.368Z] ------------------- [2022-10-26T02:10:43.368Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T02:10:43.368Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:10:43.368Z] Message: update stable to v1.0.243 [2022-10-26T02:10:43.940Z] ------------------- [2022-10-26T02:10:43.940Z] experimental info: [2022-10-26T02:10:43.940Z] ------------------- [2022-10-26T02:10:43.940Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T02:10:43.940Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:10:43.940Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T02:10:44.102Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T02:10:44.110Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T02:10:44.120Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T02:10:44.127Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T02:10:44.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T02:10:44.143Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T02:10:44.151Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T02:10:44.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T02:10:44.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T02:10:44.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T02:10:44.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T02:10:44.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T02:10:44.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T02:10:44.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T02:10:44.218Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:10:44.227Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:10:44.236Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:10:44.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:10:44.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T02:10:44.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T02:10:44.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T02:10:44.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T02:10:44.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T02:10:44.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T02:10:44.303Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T02:10:44.310Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T02:10:44.318Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T02:10:44.326Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-10-26T02:10:44.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-10-26T02:10:44.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-10-26T02:10:44.367Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c272949fa86cdc5ae4366c46be47a9cccedc0603 [Pipeline] echo [2022-10-26T02:10:44.379Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c272949 [Pipeline] echo [2022-10-26T02:10:44.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:10:44.431Z] provisioning config files... [2022-10-26T02:10:44.445Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config16410621570195560313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:10:44.755Z] ---> docker-login.sh [2022-10-26T02:10:44.755Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:10:45.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:10:45.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:10:45.281Z] Configure a credential helper to remove this warning. See [2022-10-26T02:10:45.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:10:45.281Z] [2022-10-26T02:10:45.281Z] Login Succeeded [2022-10-26T02:10:45.281Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:10:45.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:10:45.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:10:45.281Z] Configure a credential helper to remove this warning. See [2022-10-26T02:10:45.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:10:45.281Z] [2022-10-26T02:10:45.281Z] Login Succeeded [2022-10-26T02:10:45.281Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:10:45.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:10:45.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:10:45.544Z] Configure a credential helper to remove this warning. See [2022-10-26T02:10:45.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:10:45.544Z] [2022-10-26T02:10:45.544Z] Login Succeeded [2022-10-26T02:10:45.544Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:10:45.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:10:45.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:10:45.544Z] Configure a credential helper to remove this warning. See [2022-10-26T02:10:45.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:10:45.544Z] [2022-10-26T02:10:45.544Z] Login Succeeded [2022-10-26T02:10:45.544Z] docker.io [2022-10-26T02:10:45.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:10:46.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:10:46.117Z] Configure a credential helper to remove this warning. See [2022-10-26T02:10:46.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:10:46.117Z] [2022-10-26T02:10:46.117Z] Login Succeeded [2022-10-26T02:10:46.117Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:10:46.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T02:10:46.509Z] + git rev-list -1 --merges c272949fa86cdc5ae4366c46be47a9cccedc0603~1..c272949fa86cdc5ae4366c46be47a9cccedc0603 [Pipeline] echo [2022-10-26T02:10:46.537Z] -----------> git rev-list -1 --merges c272949fa86cdc5ae4366c46be47a9cccedc0603~1..c272949fa86cdc5ae4366c46be47a9cccedc0603 c272949fa86cdc5ae4366c46be47a9cccedc0603 [2022-10-26T02:10:46.537Z] c272949fa86cdc5ae4366c46be47a9cccedc0603 [false] [Pipeline] sh [2022-10-26T02:10:46.824Z] + git log --format=format:%s -1 c272949fa86cdc5ae4366c46be47a9cccedc0603 [Pipeline] echo [2022-10-26T02:10:46.840Z] ========================================================= [2022-10-26T02:10:46.840Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T02:10:46.840Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:10:47.158Z] + git log --format=format:%s -1 c272949fa86cdc5ae4366c46be47a9cccedc0603 [Pipeline] echo [2022-10-26T02:10:47.169Z] [semverPrep] GIT_COMMIT: c272949fa86cdc5ae4366c46be47a9cccedc0603, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo [2022-10-26T02:10:47.178Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T02:10:47.561Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T02:10:47.561Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T02:10:47.561Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T02:10:47.561Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T02:10:47.561Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T02:10:47.561Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T02:10:47.561Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:10:47.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:10:47.978Z] [2022-10-26T02:10:47.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:10:48.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:10:48.273Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T02:10:48.273Z] b85a868b505f: Pulling fs layer [2022-10-26T02:10:48.273Z] e2be974225ed: Pulling fs layer [2022-10-26T02:10:48.273Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T02:10:48.273Z] 988bab9f4d93: Pulling fs layer [2022-10-26T02:10:48.273Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T02:10:48.273Z] eaf3925da568: Pulling fs layer [2022-10-26T02:10:48.273Z] bab4dde63d76: Pulling fs layer [2022-10-26T02:10:48.273Z] bde34c3a00c8: Pulling fs layer [2022-10-26T02:10:48.273Z] b352a97aabf1: Pulling fs layer [2022-10-26T02:10:48.273Z] 4872d77fe225: Pulling fs layer [2022-10-26T02:10:48.273Z] 5851b861e8e6: Pulling fs layer [2022-10-26T02:10:48.273Z] 988bab9f4d93: Waiting [2022-10-26T02:10:48.273Z] 1469e6f7b9e6: Waiting [2022-10-26T02:10:48.273Z] eaf3925da568: Waiting [2022-10-26T02:10:48.273Z] bab4dde63d76: Waiting [2022-10-26T02:10:48.273Z] 4872d77fe225: Waiting [2022-10-26T02:10:48.273Z] bde34c3a00c8: Waiting [2022-10-26T02:10:48.273Z] b352a97aabf1: Waiting [2022-10-26T02:10:48.273Z] 5851b861e8e6: Waiting [2022-10-26T02:10:48.273Z] e2be974225ed: Verifying Checksum [2022-10-26T02:10:48.273Z] e2be974225ed: Download complete [2022-10-26T02:10:48.273Z] 988bab9f4d93: Verifying Checksum [2022-10-26T02:10:48.273Z] 988bab9f4d93: Download complete [2022-10-26T02:10:48.535Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T02:10:48.535Z] 1469e6f7b9e6: Download complete [2022-10-26T02:10:48.535Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T02:10:48.535Z] 339a4e72a1f5: Download complete [2022-10-26T02:10:48.535Z] eaf3925da568: Download complete [2022-10-26T02:10:48.535Z] bde34c3a00c8: Download complete [2022-10-26T02:10:48.535Z] b352a97aabf1: Download complete [2022-10-26T02:10:48.535Z] 4872d77fe225: Verifying Checksum [2022-10-26T02:10:48.535Z] 4872d77fe225: Download complete [2022-10-26T02:10:48.535Z] 5851b861e8e6: Download complete [2022-10-26T02:10:48.535Z] b85a868b505f: Download complete [2022-10-26T02:10:48.794Z] bab4dde63d76: Verifying Checksum [2022-10-26T02:10:48.794Z] bab4dde63d76: Download complete [2022-10-26T02:10:49.727Z] b85a868b505f: Pull complete [2022-10-26T02:10:49.987Z] e2be974225ed: Pull complete [2022-10-26T02:10:50.556Z] 339a4e72a1f5: Pull complete [2022-10-26T02:10:50.556Z] 988bab9f4d93: Pull complete [2022-10-26T02:10:50.814Z] 1469e6f7b9e6: Pull complete [2022-10-26T02:10:50.814Z] eaf3925da568: Pull complete [2022-10-26T02:10:52.719Z] bab4dde63d76: Pull complete [2022-10-26T02:10:52.719Z] bde34c3a00c8: Pull complete [2022-10-26T02:10:52.719Z] b352a97aabf1: Pull complete [2022-10-26T02:10:52.719Z] 4872d77fe225: Pull complete [2022-10-26T02:10:52.719Z] 5851b861e8e6: Pull complete [2022-10-26T02:10:52.719Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T02:10:52.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:10:52.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:10:52.801Z] prd-ubuntu20.04-docker-8c-8g-117030 does not seem to be running inside a container [2022-10-26T02:10:52.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T02:10:54.422Z] $ docker top a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 -eo pid,comm [2022-10-26T02:10:54.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T02:10:54.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T02:10:54.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:10:54.528Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:10:54.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:10:54.650Z] $ docker exec a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 ssh-agent [2022-10-26T02:10:54.777Z] SSH_AUTH_SOCK=/tmp/ssh-V5Rvvxj3SV6w/agent.32 [2022-10-26T02:10:54.777Z] SSH_AGENT_PID=38 [2022-10-26T02:10:54.784Z] Running ssh-add (command line suppressed) [2022-10-26T02:10:54.893Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_18333407283679409107.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_18333407283679409107.key) [2022-10-26T02:10:54.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:10:55.201Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T02:10:55.218Z] $ docker exec --env ******** --env ******** a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 ssh-agent -k [2022-10-26T02:10:55.318Z] unset SSH_AUTH_SOCK; [2022-10-26T02:10:55.318Z] unset SSH_AGENT_PID; [2022-10-26T02:10:55.319Z] echo Agent pid 38 killed; [2022-10-26T02:10:55.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T02:10:55.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:10:55.349Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:10:55.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:10:55.471Z] $ docker exec a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 ssh-agent [2022-10-26T02:10:55.584Z] SSH_AUTH_SOCK=/tmp/ssh-TWLlWW4frNqx/agent.70 [2022-10-26T02:10:55.584Z] SSH_AGENT_PID=76 [2022-10-26T02:10:55.590Z] Running ssh-add (command line suppressed) [2022-10-26T02:10:55.695Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_5886416569184084042.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_5886416569184084042.key) [2022-10-26T02:10:55.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:10:55.999Z] + git semver init [2022-10-26T02:10:56.260Z] 2022-10-26 02:10:56,174 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T02:10:56.260Z] 2022-10-26 02:10:56,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-10-26T02:10:56.260Z] 2022-10-26 02:10:56,176 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-10-26T02:10:56.260Z] 2022-10-26 02:10:56,176 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,204 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,204 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,205 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,209 [execute] INFO git cat-file --batch-check [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,215 [execute] INFO git cat-file --batch [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T02:10:57.645Z] 2022-10-26 02:10:57,220 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-10-26T02:10:57.645Z] 0.0.0 [Pipeline] } [2022-10-26T02:10:57.659Z] $ docker exec --env ******** --env ******** a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 ssh-agent -k [2022-10-26T02:10:57.773Z] unset SSH_AUTH_SOCK; [2022-10-26T02:10:57.774Z] unset SSH_AGENT_PID; [2022-10-26T02:10:57.774Z] echo Agent pid 76 killed; [2022-10-26T02:10:57.785Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T02:10:58.089Z] + git semver [Pipeline] } [2022-10-26T02:10:58.369Z] $ docker stop --time=1 a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 [2022-10-26T02:10:59.722Z] $ docker rm -f a8f884024dc2318edec141f679c7999bc5afb5f9b474d15225a112fba1615ba0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:11:00.072Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T02:11:00.246Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T02:11:00.249Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:11:00.351Z] provisioning config files... [2022-10-26T02:11:00.359Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config17412464907998515125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:00.659Z] ---> docker-login.sh [2022-10-26T02:11:00.659Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:11:00.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:00.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:00.659Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:00.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:00.659Z] [2022-10-26T02:11:00.659Z] Login Succeeded [2022-10-26T02:11:00.659Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:11:00.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:00.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:00.659Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:00.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:00.659Z] [2022-10-26T02:11:00.659Z] Login Succeeded [2022-10-26T02:11:00.659Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:11:00.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:00.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:00.920Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:00.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:00.920Z] [2022-10-26T02:11:00.920Z] Login Succeeded [2022-10-26T02:11:00.920Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:11:00.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:00.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:00.920Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:00.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:00.920Z] [2022-10-26T02:11:00.920Z] Login Succeeded [2022-10-26T02:11:00.920Z] docker.io [2022-10-26T02:11:01.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:01.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:01.439Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:01.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:01.439Z] [2022-10-26T02:11:01.439Z] Login Succeeded [2022-10-26T02:11:01.439Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:11:01.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:11:01.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:11:01.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:11:01.533Z] ========================================================= [2022-10-26T02:11:01.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T02:11:01.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:01.846Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T02:11:01.846Z] Sending build context to Docker daemon 21.46MB [2022-10-26T02:11:01.846Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:11:01.846Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:11:02.111Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T02:11:02.111Z] 213ec9aee27d: Pulling fs layer [2022-10-26T02:11:02.111Z] 4583459ba037: Pulling fs layer [2022-10-26T02:11:02.111Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T02:11:02.111Z] 53926ce57604: Pulling fs layer [2022-10-26T02:11:02.111Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T02:11:02.111Z] 30f14e443154: Pulling fs layer [2022-10-26T02:11:02.111Z] 801331c1e519: Pulling fs layer [2022-10-26T02:11:02.111Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T02:11:02.111Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T02:11:02.111Z] 53926ce57604: Waiting [2022-10-26T02:11:02.111Z] 801331c1e519: Waiting [2022-10-26T02:11:02.111Z] 99cc6dd402b0: Waiting [2022-10-26T02:11:02.111Z] 21b2b0c7a3f4: Waiting [2022-10-26T02:11:02.111Z] 7d9ed39f4882: Waiting [2022-10-26T02:11:02.111Z] 30f14e443154: Waiting [2022-10-26T02:11:02.111Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T02:11:02.111Z] 93c1e223e6f2: Download complete [2022-10-26T02:11:02.111Z] 4583459ba037: Verifying Checksum [2022-10-26T02:11:02.111Z] 4583459ba037: Download complete [2022-10-26T02:11:02.111Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T02:11:02.111Z] 21b2b0c7a3f4: Download complete [2022-10-26T02:11:02.111Z] 30f14e443154: Verifying Checksum [2022-10-26T02:11:02.111Z] 30f14e443154: Download complete [2022-10-26T02:11:02.111Z] 213ec9aee27d: Verifying Checksum [2022-10-26T02:11:02.111Z] 213ec9aee27d: Download complete [2022-10-26T02:11:02.111Z] 801331c1e519: Verifying Checksum [2022-10-26T02:11:02.111Z] 801331c1e519: Download complete [2022-10-26T02:11:02.373Z] 213ec9aee27d: Pull complete [2022-10-26T02:11:02.373Z] 4583459ba037: Pull complete [2022-10-26T02:11:02.373Z] 93c1e223e6f2: Pull complete [2022-10-26T02:11:02.638Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T02:11:02.638Z] 7d9ed39f4882: Download complete [2022-10-26T02:11:02.897Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T02:11:02.897Z] 99cc6dd402b0: Download complete [2022-10-26T02:11:02.897Z] 53926ce57604: Verifying Checksum [2022-10-26T02:11:02.897Z] 53926ce57604: Download complete [2022-10-26T02:11:07.081Z] 53926ce57604: Pull complete [2022-10-26T02:11:07.081Z] 21b2b0c7a3f4: Pull complete [2022-10-26T02:11:07.081Z] 30f14e443154: Pull complete [2022-10-26T02:11:07.081Z] 801331c1e519: Pull complete [2022-10-26T02:11:09.613Z] 99cc6dd402b0: Pull complete [2022-10-26T02:11:10.182Z] 7d9ed39f4882: Pull complete [2022-10-26T02:11:10.182Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T02:11:10.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T02:11:10.182Z] ---> 1dedd983c030 [2022-10-26T02:11:10.182Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:11:12.104Z] ---> Running in 7bc20efd7e4b [2022-10-26T02:11:12.105Z] Removing intermediate container 7bc20efd7e4b [2022-10-26T02:11:12.105Z] ---> 3f9f94d2b105 [2022-10-26T02:11:12.105Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:11:12.105Z] ---> Running in 3bc8e585c319 [2022-10-26T02:11:12.105Z] Removing intermediate container 3bc8e585c319 [2022-10-26T02:11:12.105Z] ---> 3ccd427da7fa [2022-10-26T02:11:12.105Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:11:12.105Z] ---> Running in d677485e8e95 [2022-10-26T02:11:12.364Z] Removing intermediate container d677485e8e95 [2022-10-26T02:11:12.364Z] ---> 8e4bd65bcbf4 [2022-10-26T02:11:12.364Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:11:12.364Z] ---> Running in 78ecb43f968f [2022-10-26T02:11:12.364Z] Removing intermediate container 78ecb43f968f [2022-10-26T02:11:12.364Z] ---> 3021a52bfa1d [2022-10-26T02:11:12.364Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:11:12.623Z] ---> Running in c87fc6799c69 [2022-10-26T02:11:12.623Z] Removing intermediate container c87fc6799c69 [2022-10-26T02:11:12.623Z] ---> fcbd4ea599f0 [2022-10-26T02:11:12.623Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:11:12.623Z] ---> Running in cd8b17cfcd4d [2022-10-26T02:11:13.198Z] Removing intermediate container cd8b17cfcd4d [2022-10-26T02:11:13.198Z] ---> 4d4294c10fe0 [2022-10-26T02:11:13.198Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:11:13.456Z] ---> Running in b4a5438757ee [2022-10-26T02:11:13.714Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:11:14.651Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:11:15.223Z] OK: 211 MiB in 51 packages [2022-10-26T02:11:15.326Z] Still waiting to schedule task [2022-10-26T02:11:15.326Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117028’ [2022-10-26T02:11:15.482Z] Removing intermediate container b4a5438757ee [2022-10-26T02:11:15.482Z] ---> 0353f7579eb4 [2022-10-26T02:11:15.482Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:11:15.482Z] ---> Running in 746d0b42c80d [2022-10-26T02:11:15.482Z] Removing intermediate container 746d0b42c80d [2022-10-26T02:11:15.482Z] ---> f0830d87799f [2022-10-26T02:11:15.482Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:11:15.742Z] ---> ce579bca2d77 [2022-10-26T02:11:15.742Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:11:15.742Z] ---> Running in b95adb02272c [2022-10-26T02:11:37.680Z] Removing intermediate container b95adb02272c [2022-10-26T02:11:37.680Z] ---> 212d4b740d52 [2022-10-26T02:11:37.680Z] Step 13/14 : COPY . . [2022-10-26T02:11:38.247Z] ---> e9a5d01c5a4f [2022-10-26T02:11:38.247Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:11:38.507Z] ---> Running in 1a0608755bb5 [2022-10-26T02:11:38.766Z] noop [2022-10-26T02:11:39.028Z] Removing intermediate container 1a0608755bb5 [2022-10-26T02:11:39.028Z] ---> 60215260672d [2022-10-26T02:11:39.028Z] Successfully built 60215260672d [2022-10-26T02:11:39.028Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:39.338Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:11:39.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:11:39.407Z] prd-ubuntu20.04-docker-8c-8g-117030 does not seem to be running inside a container [2022-10-26T02:11:39.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:11:39.816Z] $ docker top abc0e51dd66283d4a1ce673ecf7e4778f41d108fc64259b2908364688c924585 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:11:40.156Z] + go version [2022-10-26T02:11:40.156Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T02:11:40.168Z] $ docker stop --time=1 abc0e51dd66283d4a1ce673ecf7e4778f41d108fc64259b2908364688c924585 [2022-10-26T02:11:41.453Z] $ docker rm -f abc0e51dd66283d4a1ce673ecf7e4778f41d108fc64259b2908364688c924585 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:41.863Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:11:41.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:11:41.943Z] prd-ubuntu20.04-docker-8c-8g-117030 does not seem to be running inside a container [2022-10-26T02:11:41.977Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:11:42.336Z] $ docker top 3e5b323f7b637452890a5dee75b59d146555a00f697a1636e0639a11e1c94741 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:11:42.683Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:11:42.974Z] + make test [2022-10-26T02:11:42.974Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:11:43.233Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:11:55.422Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:11:55.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.2% of statements [2022-10-26T02:11:55.422Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:11:55.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.463s coverage: 86.5% of statements [2022-10-26T02:12:03.527Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T02:12:03.527Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:12:06.815Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:12:07.073Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:12:07.073Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:12:07.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:12:07.096Z] $ docker stop --time=1 3e5b323f7b637452890a5dee75b59d146555a00f697a1636e0639a11e1c94741 [2022-10-26T02:12:08.987Z] $ docker rm -f 3e5b323f7b637452890a5dee75b59d146555a00f697a1636e0639a11e1c94741 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:12:09.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:12:09.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T02:12:09.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:12:10.273Z] + ls -al . [2022-10-26T02:12:10.273Z] total 244 [2022-10-26T02:12:10.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 02:11 . [2022-10-26T02:12:10.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:10 .. [2022-10-26T02:12:10.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:11 .git [2022-10-26T02:12:10.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:10 .github [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:10 .gitignore [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:10 .golangci.yml [2022-10-26T02:12:10.273Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:10 .semver [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:10 Attribution.txt [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:10 CHANGELOG.md [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 02:10 Dockerfile [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:10 GOVERNANCE.md [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:10 Jenkinsfile [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:10 LICENSE [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:10 Makefile [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:10 OWNERS.md [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:10 README.md [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:12:10.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:10 bin [2022-10-26T02:12:10.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:10 cmd [2022-10-26T02:12:10.273Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:11 coverage.out [2022-10-26T02:12:10.273Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:10 doc [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:10 go.mod [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 02:10 go.sum [2022-10-26T02:12:10.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:10 internal [2022-10-26T02:12:10.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:10 snap [2022-10-26T02:12:10.273Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:10.601Z] + 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=c272949fa86cdc5ae4366c46be47a9cccedc0603 --label arch=amd64 --label version=0.0.0 . [2022-10-26T02:12:10.601Z] Sending build context to Docker daemon 21.54MB [2022-10-26T02:12:10.601Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:12:10.601Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-26T02:12:10.601Z] ---> 60215260672d [2022-10-26T02:12:10.601Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:12:10.862Z] ---> Running in adc9010e6d58 [2022-10-26T02:12:10.862Z] Removing intermediate container adc9010e6d58 [2022-10-26T02:12:10.862Z] ---> a012fa8ddff7 [2022-10-26T02:12:10.862Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:12:10.862Z] ---> Running in 7aed87a5373d [2022-10-26T02:12:11.122Z] Removing intermediate container 7aed87a5373d [2022-10-26T02:12:11.122Z] ---> 43147eeeb2e7 [2022-10-26T02:12:11.122Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:12:11.122Z] ---> Running in fd164955c8c9 [2022-10-26T02:12:11.122Z] Removing intermediate container fd164955c8c9 [2022-10-26T02:12:11.122Z] ---> 947da8acef2d [2022-10-26T02:12:11.122Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:12:11.122Z] ---> Running in 48f3201e0052 [2022-10-26T02:12:11.381Z] Removing intermediate container 48f3201e0052 [2022-10-26T02:12:11.381Z] ---> 92b14e7ad2b4 [2022-10-26T02:12:11.381Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:12:11.381Z] ---> Running in a13d7a5380c3 [2022-10-26T02:12:11.381Z] Removing intermediate container a13d7a5380c3 [2022-10-26T02:12:11.381Z] ---> b68ab176f352 [2022-10-26T02:12:11.381Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:12:11.381Z] ---> Running in 5c3ba32a93a0 [2022-10-26T02:12:11.946Z] Removing intermediate container 5c3ba32a93a0 [2022-10-26T02:12:11.946Z] ---> 8a0d560740da [2022-10-26T02:12:11.946Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:12:11.946Z] ---> Running in 51d6b90348b2 [2022-10-26T02:12:12.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:12.773Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:13.360Z] OK: 211 MiB in 51 packages [2022-10-26T02:12:13.621Z] Removing intermediate container 51d6b90348b2 [2022-10-26T02:12:13.621Z] ---> 7eed44278bf8 [2022-10-26T02:12:13.621Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-26T02:12:13.879Z] ---> Running in ef35e9510b4d [2022-10-26T02:12:13.879Z] Removing intermediate container ef35e9510b4d [2022-10-26T02:12:13.879Z] ---> d92739e52c94 [2022-10-26T02:12:13.879Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-26T02:12:13.879Z] ---> 6ac6fcca5ffa [2022-10-26T02:12:13.879Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:12:13.879Z] ---> Running in b3d44b64941d [2022-10-26T02:12:14.819Z] Removing intermediate container b3d44b64941d [2022-10-26T02:12:14.819Z] ---> d72aa5eb6e57 [2022-10-26T02:12:14.819Z] Step 13/27 : COPY . . [2022-10-26T02:12:15.387Z] ---> 3490a65edafc [2022-10-26T02:12:15.387Z] Step 14/27 : RUN ${MAKE} [2022-10-26T02:12:15.387Z] ---> Running in 4b4651a87af4 [2022-10-26T02:12:15.645Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T02:12:37.567Z] Removing intermediate container 4b4651a87af4 [2022-10-26T02:12:37.567Z] ---> 76f183bfb656 [2022-10-26T02:12:37.567Z] Step 15/27 : FROM alpine:3.16 [2022-10-26T02:12:37.825Z] 3.16: Pulling from library/alpine [2022-10-26T02:12:37.825Z] 213ec9aee27d: Already exists [2022-10-26T02:12:38.084Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:12:38.084Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:12:38.084Z] ---> 9c6f07244728 [2022-10-26T02:12:38.084Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:12:38.084Z] ---> Running in f6bd2327c46b [2022-10-26T02:12:38.343Z] Removing intermediate container f6bd2327c46b [2022-10-26T02:12:38.343Z] ---> 410dcaf59ae0 [2022-10-26T02:12:38.343Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T02:12:38.343Z] ---> Running in b632a9de71b7 [2022-10-26T02:12:38.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:38.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:38.860Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T02:12:38.860Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:12:38.860Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T02:12:38.860Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:12:38.860Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T02:12:38.860Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T02:12:38.860Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:12:39.121Z] OK: 8 MiB in 20 packages [2022-10-26T02:12:39.381Z] Removing intermediate container b632a9de71b7 [2022-10-26T02:12:39.381Z] ---> 2f467a1af55a [2022-10-26T02:12:39.381Z] Step 18/27 : WORKDIR / [2022-10-26T02:12:39.381Z] ---> Running in 6bdb49a97845 [2022-10-26T02:12:39.381Z] Removing intermediate container 6bdb49a97845 [2022-10-26T02:12:39.381Z] ---> 7b2aa35ffdb8 [2022-10-26T02:12:39.381Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:12:39.948Z] ---> 63620c82c09a [2022-10-26T02:12:39.948Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:12:40.207Z] ---> 399b04bb3f13 [2022-10-26T02:12:40.207Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:12:40.207Z] ---> eaf592c1b9d5 [2022-10-26T02:12:40.207Z] Step 22/27 : EXPOSE 59984 [2022-10-26T02:12:40.466Z] ---> Running in 2b1241a9cf01 [2022-10-26T02:12:40.466Z] Removing intermediate container 2b1241a9cf01 [2022-10-26T02:12:40.466Z] ---> d2f66c2fb587 [2022-10-26T02:12:40.466Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:12:40.466Z] ---> Running in 6c5495f945af [2022-10-26T02:12:40.466Z] Removing intermediate container 6c5495f945af [2022-10-26T02:12:40.466Z] ---> 89e54ec4631e [2022-10-26T02:12:40.466Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:12:40.466Z] ---> Running in 492d5ca01be5 [2022-10-26T02:12:40.725Z] Removing intermediate container 492d5ca01be5 [2022-10-26T02:12:40.725Z] ---> 98df29eb78f1 [2022-10-26T02:12:40.725Z] Step 25/27 : LABEL arch=amd64 [2022-10-26T02:12:40.725Z] ---> Running in cbb0a39a1515 [2022-10-26T02:12:40.725Z] Removing intermediate container cbb0a39a1515 [2022-10-26T02:12:40.725Z] ---> 3e0c7ad41edd [2022-10-26T02:12:40.725Z] Step 26/27 : LABEL git_sha=c272949fa86cdc5ae4366c46be47a9cccedc0603 [2022-10-26T02:12:40.725Z] ---> Running in 7403b5c1ec33 [2022-10-26T02:12:40.984Z] Removing intermediate container 7403b5c1ec33 [2022-10-26T02:12:40.984Z] ---> ef3479f5bd57 [2022-10-26T02:12:40.984Z] Step 27/27 : LABEL version=0.0.0 [2022-10-26T02:12:40.984Z] ---> Running in fa02f8c95354 [2022-10-26T02:12:40.984Z] Removing intermediate container fa02f8c95354 [2022-10-26T02:12:40.984Z] ---> 5e21c5837dc9 [2022-10-26T02:12:40.984Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:12:40.984Z] Successfully built 5e21c5837dc9 [2022-10-26T02:12:40.984Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:41.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:12:41.441Z] [2022-10-26T02:12:41.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:41.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:12:41.739Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T02:12:41.739Z] 5eb5b503b376: Pulling fs layer [2022-10-26T02:12:41.739Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T02:12:41.739Z] ec43610c2a17: Pulling fs layer [2022-10-26T02:12:41.739Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T02:12:41.739Z] 33b1e0a273af: Pulling fs layer [2022-10-26T02:12:41.739Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T02:12:41.739Z] 2f39f015ded8: Pulling fs layer [2022-10-26T02:12:41.739Z] 3a2ae6a8a46f: Waiting [2022-10-26T02:12:41.739Z] 5d3b04190fa2: Waiting [2022-10-26T02:12:41.739Z] 2f39f015ded8: Waiting [2022-10-26T02:12:41.739Z] 5c69ac0246d0: Download complete [2022-10-26T02:12:41.739Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T02:12:41.739Z] 3a2ae6a8a46f: Download complete [2022-10-26T02:12:41.739Z] 33b1e0a273af: Verifying Checksum [2022-10-26T02:12:41.739Z] 33b1e0a273af: Download complete [2022-10-26T02:12:41.999Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T02:12:41.999Z] 5d3b04190fa2: Download complete [2022-10-26T02:12:41.999Z] ec43610c2a17: Verifying Checksum [2022-10-26T02:12:41.999Z] ec43610c2a17: Download complete [2022-10-26T02:12:41.999Z] 5eb5b503b376: Download complete [2022-10-26T02:12:42.566Z] 2f39f015ded8: Verifying Checksum [2022-10-26T02:12:42.566Z] 2f39f015ded8: Download complete [2022-10-26T02:12:43.134Z] 5eb5b503b376: Pull complete [2022-10-26T02:12:43.134Z] 5c69ac0246d0: Pull complete [2022-10-26T02:12:43.700Z] ec43610c2a17: Pull complete [2022-10-26T02:12:43.700Z] 3a2ae6a8a46f: Pull complete [2022-10-26T02:12:43.958Z] 33b1e0a273af: Pull complete [2022-10-26T02:12:43.958Z] 5d3b04190fa2: Pull complete [2022-10-26T02:12:48.150Z] 2f39f015ded8: Pull complete [2022-10-26T02:12:48.150Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T02:12:48.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:12:48.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:12:48.234Z] prd-ubuntu20.04-docker-8c-8g-117030 does not seem to be running inside a container [2022-10-26T02:12:48.266Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:12:50.014Z] $ docker top 6ff4130a1e6c95af02172b196beef8d1f2a392f7b8835570ff83a550fab9d98b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:12:50.435Z] ---> job-cost.sh [2022-10-26T02:12:50.435Z] lf-activate-venv: SKIPPING [2022-10-26T02:12:50.435Z] INFO: No Stack... [2022-10-26T02:12:50.695Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:12:50.954Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:12:51.242Z] + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv [2022-10-26T02:12:51.242Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T02:12:51.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [2022-10-26T02:12:51.262Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] did not exist. Created. [2022-10-26T02:12:51.262Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:12:51.561Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T02:12:51.590Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:12:51.624Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:12:51.642Z] $ docker stop --time=1 6ff4130a1e6c95af02172b196beef8d1f2a392f7b8835570ff83a550fab9d98b [2022-10-26T02:12:52.810Z] $ docker rm -f 6ff4130a1e6c95af02172b196beef8d1f2a392f7b8835570ff83a550fab9d98b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T02:13:40.523Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117033 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws [2022-10-26T02:13:40.535Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-26T02:13:40.570Z] The recommended git tool is: git [2022-10-26T02:13:46.759Z] using credential edgex-jenkins-ssh [2022-10-26T02:13:46.775Z] Cloning the remote Git repository [2022-10-26T02:13:46.825Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:13:46.915Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-26T02:13:47.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:13:47.081Z] > git --version # timeout=10 [2022-10-26T02:13:47.109Z] > git --version # 'git version 2.25.1' [2022-10-26T02:13:47.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:13:47.164Z] Verifying host key using known hosts file [2022-10-26T02:13:47.359Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:13:47.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:13:48.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:13:48.768Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:13:50.308Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 [2022-10-26T02:13:49.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:13:49.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:13:49.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:13:49.723Z] Verifying host key using known hosts file [2022-10-26T02:13:49.730Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:13:49.741Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T02:13:50.330Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:13:50.360Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2022-10-26T02:13:50.633Z] > git remote # timeout=10 [2022-10-26T02:13:50.653Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T02:13:50.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:13:50.679Z] Verifying host key using known hosts file [2022-10-26T02:13:50.686Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:13:50.701Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-26T02:13:51.093Z] Merge succeeded, producing 51c571fe4f30899451120133df6ba469649ae0d3 [2022-10-26T02:13:51.094Z] Checking out Revision 51c571fe4f30899451120133df6ba469649ae0d3 (PR-185) [2022-10-26T02:13:51.072Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T02:13:51.103Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:13:51.121Z] > git checkout -f 51c571fe4f30899451120133df6ba469649ae0d3 # timeout=10 [2022-10-26T02:13:54.665Z] Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" [2022-10-26T02:13:54.692Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:13:54.673Z] > git rev-list --no-walk 490580d7b7cc3035f8468c1ab33b8e1a8cd382ae # timeout=10 [2022-10-26T02:13:55.504Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T02:13:55.504Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:13:55.504Z] Dload Upload Total Spent Left Speed [2022-10-26T02:13:55.504Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 143k 0 --:--:-- --:--:-- --:--:-- 143k [Pipeline] sh [2022-10-26T02:13:56.254Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T02:13:56.581Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T02:13:56.581Z] + sudo tee /etc/docker/daemon.new [2022-10-26T02:13:56.581Z] { [2022-10-26T02:13:56.581Z] "registry-mirrors": [ [2022-10-26T02:13:56.581Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T02:13:56.581Z] ], [2022-10-26T02:13:56.581Z] "bip": "10.250.0.254/24", [2022-10-26T02:13:56.581Z] "hosts": [ [2022-10-26T02:13:56.581Z] "tcp://0.0.0.0:5555", [2022-10-26T02:13:56.581Z] "unix:///var/run/docker.sock" [2022-10-26T02:13:56.581Z] ], [2022-10-26T02:13:56.581Z] "mtu": 1458, [2022-10-26T02:13:56.581Z] "selinux-enabled": true, [2022-10-26T02:13:56.581Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T02:13:56.581Z] } [Pipeline] sh [2022-10-26T02:13:56.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T02:13:57.248Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:14:15.522Z] provisioning config files... [2022-10-26T02:14:15.553Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config6166522084736331948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:14:15.910Z] ---> docker-login.sh [2022-10-26T02:14:15.910Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:14:16.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:14:16.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:14:16.501Z] Configure a credential helper to remove this warning. See [2022-10-26T02:14:16.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:14:16.501Z] [2022-10-26T02:14:16.501Z] Login Succeeded [2022-10-26T02:14:16.501Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:14:16.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:14:17.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:14:17.047Z] Configure a credential helper to remove this warning. See [2022-10-26T02:14:17.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:14:17.047Z] [2022-10-26T02:14:17.047Z] Login Succeeded [2022-10-26T02:14:17.047Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:14:17.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:14:17.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:14:17.321Z] Configure a credential helper to remove this warning. See [2022-10-26T02:14:17.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:14:17.321Z] [2022-10-26T02:14:17.321Z] Login Succeeded [2022-10-26T02:14:17.321Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:14:17.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:14:17.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:14:17.866Z] Configure a credential helper to remove this warning. See [2022-10-26T02:14:17.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:14:17.866Z] [2022-10-26T02:14:17.866Z] Login Succeeded [2022-10-26T02:14:17.866Z] docker.io [2022-10-26T02:14:18.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:14:18.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:14:18.409Z] Configure a credential helper to remove this warning. See [2022-10-26T02:14:18.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:14:18.409Z] [2022-10-26T02:14:18.409Z] Login Succeeded [2022-10-26T02:14:18.409Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:14:18.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:14:18.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:14:18.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:14:18.620Z] ========================================================= [2022-10-26T02:14:18.620Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T02:14:18.620Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:14:18.968Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T02:14:19.562Z] Sending build context to Docker daemon 14.76MB [2022-10-26T02:14:19.562Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:14:19.562Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:14:19.562Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T02:14:19.562Z] 9b18e9b68314: Pulling fs layer [2022-10-26T02:14:19.562Z] d32db5db7311: Pulling fs layer [2022-10-26T02:14:19.562Z] d0c4b47475fc: Pulling fs layer [2022-10-26T02:14:19.562Z] 5831b945b038: Pulling fs layer [2022-10-26T02:14:19.562Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T02:14:19.562Z] e10730c5d714: Pulling fs layer [2022-10-26T02:14:19.562Z] 5dd5c2283517: Pulling fs layer [2022-10-26T02:14:19.562Z] d5ac0230b979: Pulling fs layer [2022-10-26T02:14:19.562Z] e10730c5d714: Waiting [2022-10-26T02:14:19.562Z] 5dd5c2283517: Waiting [2022-10-26T02:14:19.562Z] 5831b945b038: Waiting [2022-10-26T02:14:19.562Z] d5ac0230b979: Waiting [2022-10-26T02:14:19.562Z] 86bbec2aaacd: Waiting [2022-10-26T02:14:19.562Z] d0c4b47475fc: Verifying Checksum [2022-10-26T02:14:19.562Z] d0c4b47475fc: Download complete [2022-10-26T02:14:19.562Z] d32db5db7311: Verifying Checksum [2022-10-26T02:14:19.562Z] d32db5db7311: Download complete [2022-10-26T02:14:19.836Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T02:14:19.836Z] 86bbec2aaacd: Download complete [2022-10-26T02:14:19.836Z] e10730c5d714: Verifying Checksum [2022-10-26T02:14:19.836Z] e10730c5d714: Download complete [2022-10-26T02:14:19.836Z] 9b18e9b68314: Verifying Checksum [2022-10-26T02:14:19.836Z] 9b18e9b68314: Download complete [2022-10-26T02:14:20.808Z] 9b18e9b68314: Pull complete [2022-10-26T02:14:20.808Z] d5ac0230b979: Verifying Checksum [2022-10-26T02:14:20.808Z] d5ac0230b979: Download complete [2022-10-26T02:14:21.086Z] d32db5db7311: Pull complete [2022-10-26T02:14:21.355Z] d0c4b47475fc: Pull complete [2022-10-26T02:14:21.949Z] 5dd5c2283517: Verifying Checksum [2022-10-26T02:14:21.949Z] 5dd5c2283517: Download complete [2022-10-26T02:14:22.546Z] 5831b945b038: Verifying Checksum [2022-10-26T02:14:22.546Z] 5831b945b038: Download complete [2022-10-26T02:14:34.892Z] 5831b945b038: Pull complete [2022-10-26T02:14:34.892Z] 86bbec2aaacd: Pull complete [2022-10-26T02:14:34.892Z] e10730c5d714: Pull complete [2022-10-26T02:14:39.229Z] 5dd5c2283517: Pull complete [2022-10-26T02:14:41.190Z] d5ac0230b979: Pull complete [2022-10-26T02:14:41.190Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T02:14:41.190Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T02:14:41.190Z] ---> 59b3b1a385d4 [2022-10-26T02:14:41.190Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:14:43.783Z] ---> Running in d41fd10fe8a7 [2022-10-26T02:14:43.783Z] Removing intermediate container d41fd10fe8a7 [2022-10-26T02:14:43.783Z] ---> e1cd14f6eee5 [2022-10-26T02:14:43.783Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:14:43.783Z] ---> Running in 81ab0f11297d [2022-10-26T02:14:44.052Z] Removing intermediate container 81ab0f11297d [2022-10-26T02:14:44.052Z] ---> 915db2d65b83 [2022-10-26T02:14:44.052Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:14:44.052Z] ---> Running in 2085b41626c1 [2022-10-26T02:14:44.319Z] Removing intermediate container 2085b41626c1 [2022-10-26T02:14:44.319Z] ---> 3963549cf7db [2022-10-26T02:14:44.319Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:14:44.587Z] ---> Running in 90044d914f31 [2022-10-26T02:14:44.856Z] Removing intermediate container 90044d914f31 [2022-10-26T02:14:44.856Z] ---> ad55bc0bb839 [2022-10-26T02:14:44.856Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:14:44.856Z] ---> Running in 00d9b7ad78cb [2022-10-26T02:14:45.123Z] Removing intermediate container 00d9b7ad78cb [2022-10-26T02:14:45.123Z] ---> 70af58ad7d77 [2022-10-26T02:14:45.123Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:14:45.392Z] ---> Running in 62a1b5be063f [2022-10-26T02:14:47.344Z] Removing intermediate container 62a1b5be063f [2022-10-26T02:14:47.344Z] ---> 79ed78a603ef [2022-10-26T02:14:47.344Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:14:47.344Z] ---> Running in 49cc79374503 [2022-10-26T02:14:48.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:14:48.919Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:14:50.338Z] OK: 221 MiB in 51 packages [2022-10-26T02:14:51.316Z] Removing intermediate container 49cc79374503 [2022-10-26T02:14:51.316Z] ---> 8c164d19ae37 [2022-10-26T02:14:51.316Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:14:51.316Z] ---> Running in cf3ff0b2f62f [2022-10-26T02:14:51.589Z] Removing intermediate container cf3ff0b2f62f [2022-10-26T02:14:51.589Z] ---> 361d87d2d3ba [2022-10-26T02:14:51.589Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:14:52.184Z] ---> 770b67976d0a [2022-10-26T02:14:52.184Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:14:52.455Z] ---> Running in d9ddefe4e2c3 [2022-10-26T02:15:48.955Z] Removing intermediate container d9ddefe4e2c3 [2022-10-26T02:15:48.955Z] ---> 2467d4cb77b7 [2022-10-26T02:15:48.955Z] Step 13/14 : COPY . . [2022-10-26T02:15:50.377Z] ---> 7be78da19efe [2022-10-26T02:15:50.377Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:15:50.647Z] ---> Running in bab29fc2f485 [2022-10-26T02:15:51.615Z] noop [2022-10-26T02:15:52.207Z] Removing intermediate container bab29fc2f485 [2022-10-26T02:15:52.207Z] ---> 83f1ce2622f2 [2022-10-26T02:15:52.478Z] Successfully built 83f1ce2622f2 [2022-10-26T02:15:52.478Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:15:52.861Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:15:52.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:15:53.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-117033 does not seem to be running inside a container [2022-10-26T02:15:53.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:15:54.594Z] $ docker top e1cf1ff52b43de94d05967eeff87a66fd95425362f3af955a3946a4acda1a331 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:15:55.447Z] + go version [2022-10-26T02:15:55.447Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T02:15:55.471Z] $ docker stop --time=1 e1cf1ff52b43de94d05967eeff87a66fd95425362f3af955a3946a4acda1a331 [2022-10-26T02:15:57.121Z] $ docker rm -f e1cf1ff52b43de94d05967eeff87a66fd95425362f3af955a3946a4acda1a331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:15:57.665Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:15:57.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:15:57.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-117033 does not seem to be running inside a container [2022-10-26T02:15:57.929Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:15:59.274Z] $ docker top ed9998bf615bc2fab1e7f066f30c799b59516bc3b8ab4d6eeb6f67a49891e1ac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:16:00.148Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:16:00.814Z] + make test [2022-10-26T02:16:00.814Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:16:02.776Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:17:54.816Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:17:57.426Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.258s coverage: 28.2% of statements [2022-10-26T02:17:57.426Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:18:15.695Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.975s coverage: 86.5% of statements [2022-10-26T02:18:15.695Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T02:18:15.695Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:18:54.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:18:54.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:18:54.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:18:54.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:18:54.747Z] $ docker stop --time=1 ed9998bf615bc2fab1e7f066f30c799b59516bc3b8ab4d6eeb6f67a49891e1ac [2022-10-26T02:18:56.996Z] $ docker rm -f ed9998bf615bc2fab1e7f066f30c799b59516bc3b8ab4d6eeb6f67a49891e1ac [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:18:58.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:18:58.216Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T02:18:58.807Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:18:59.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:18:59.554Z] + ls -al . [2022-10-26T02:18:59.554Z] total 240 [2022-10-26T02:18:59.554Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 02:16 . [2022-10-26T02:18:59.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:13 .. [2022-10-26T02:18:59.554Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:13 .git [2022-10-26T02:18:59.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:13 .github [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:13 .gitignore [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:13 .golangci.yml [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:13 Attribution.txt [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:13 CHANGELOG.md [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 02:13 Dockerfile [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:13 GOVERNANCE.md [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:13 Jenkinsfile [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:13 LICENSE [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:13 Makefile [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:13 OWNERS.md [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:13 README.md [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:18:59.554Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:13 bin [2022-10-26T02:18:59.554Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:13 cmd [2022-10-26T02:18:59.554Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:18 coverage.out [2022-10-26T02:18:59.554Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:13 doc [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:13 go.mod [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 02:13 go.sum [2022-10-26T02:18:59.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:13 internal [2022-10-26T02:18:59.554Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:13 snap [2022-10-26T02:18:59.554Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:18:59.927Z] + 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=51c571fe4f30899451120133df6ba469649ae0d3 --label arch=arm64 --label version=0.0.0 . [2022-10-26T02:19:02.525Z] Sending build context to Docker daemon 14.84MB [2022-10-26T02:19:02.525Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:19:02.525Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-26T02:19:02.525Z] ---> 83f1ce2622f2 [2022-10-26T02:19:02.525Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:19:02.525Z] ---> Running in 3b610c35bf9c [2022-10-26T02:19:02.802Z] Removing intermediate container 3b610c35bf9c [2022-10-26T02:19:02.802Z] ---> 631be51f6108 [2022-10-26T02:19:02.802Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:19:02.802Z] ---> Running in 03ac520957cb [2022-10-26T02:19:03.390Z] Removing intermediate container 03ac520957cb [2022-10-26T02:19:03.390Z] ---> d9d5f3592363 [2022-10-26T02:19:03.390Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:19:03.390Z] ---> Running in 7a6aad402b91 [2022-10-26T02:19:03.980Z] Removing intermediate container 7a6aad402b91 [2022-10-26T02:19:03.980Z] ---> 487a3df13d07 [2022-10-26T02:19:03.980Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:19:03.980Z] ---> Running in 51499f806356 [2022-10-26T02:19:04.569Z] Removing intermediate container 51499f806356 [2022-10-26T02:19:04.569Z] ---> 0b28dc8d6831 [2022-10-26T02:19:04.569Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:19:04.569Z] ---> Running in f49552c3ec5c [2022-10-26T02:19:04.837Z] Removing intermediate container f49552c3ec5c [2022-10-26T02:19:04.837Z] ---> f1b05030374d [2022-10-26T02:19:04.837Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:19:05.105Z] ---> Running in 1b4b22e0e0c6 [2022-10-26T02:19:07.082Z] Removing intermediate container 1b4b22e0e0c6 [2022-10-26T02:19:07.082Z] ---> 404c5d8de0ba [2022-10-26T02:19:07.082Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:19:07.353Z] ---> Running in 6a4baf9b59ac [2022-10-26T02:19:08.316Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:19:08.899Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:19:10.312Z] OK: 221 MiB in 51 packages [2022-10-26T02:19:11.281Z] Removing intermediate container 6a4baf9b59ac [2022-10-26T02:19:11.281Z] ---> 05e86607bfe4 [2022-10-26T02:19:11.281Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-26T02:19:11.281Z] ---> Running in 56e97688d306 [2022-10-26T02:19:11.869Z] Removing intermediate container 56e97688d306 [2022-10-26T02:19:11.869Z] ---> 013f9b789bad [2022-10-26T02:19:11.869Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-26T02:19:12.463Z] ---> 3effb38333d7 [2022-10-26T02:19:12.463Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:19:12.463Z] ---> Running in dff6b65730ef [2022-10-26T02:19:14.408Z] Removing intermediate container dff6b65730ef [2022-10-26T02:19:14.408Z] ---> 8d0e2f4b6144 [2022-10-26T02:19:14.408Z] Step 13/27 : COPY . . [2022-10-26T02:19:16.360Z] ---> 931703eb960d [2022-10-26T02:19:16.360Z] Step 14/27 : RUN ${MAKE} [2022-10-26T02:19:16.360Z] ---> Running in f17e25949ad3 [2022-10-26T02:19:17.322Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T02:22:09.102Z] Removing intermediate container f17e25949ad3 [2022-10-26T02:22:09.102Z] ---> fc805469ca99 [2022-10-26T02:22:09.102Z] Step 15/27 : FROM alpine:3.16 [2022-10-26T02:22:09.102Z] 3.16: Pulling from library/alpine [2022-10-26T02:22:09.102Z] 9b18e9b68314: Already exists [2022-10-26T02:22:09.102Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:22:09.102Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:22:09.102Z] ---> a6215f271958 [2022-10-26T02:22:09.102Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:22:09.102Z] ---> Running in 943051a65dea [2022-10-26T02:22:09.102Z] Removing intermediate container 943051a65dea [2022-10-26T02:22:09.102Z] ---> e4c9ba3aaa42 [2022-10-26T02:22:09.102Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T02:22:09.102Z] ---> Running in e4b8ed973e98 [2022-10-26T02:22:09.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:22:09.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:22:10.796Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T02:22:10.796Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:22:10.796Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T02:22:10.796Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:22:10.796Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T02:22:10.796Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T02:22:10.796Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:22:10.796Z] OK: 8 MiB in 20 packages [2022-10-26T02:22:11.763Z] Removing intermediate container e4b8ed973e98 [2022-10-26T02:22:11.763Z] ---> 8474b2314c6e [2022-10-26T02:22:11.763Z] Step 18/27 : WORKDIR / [2022-10-26T02:22:12.034Z] ---> Running in 4b325213d062 [2022-10-26T02:22:12.302Z] Removing intermediate container 4b325213d062 [2022-10-26T02:22:12.302Z] ---> f095687b655f [2022-10-26T02:22:12.302Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:22:14.263Z] ---> a06805340552 [2022-10-26T02:22:14.263Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:22:14.532Z] ---> 71a215ade1af [2022-10-26T02:22:14.532Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:22:15.121Z] ---> 48b38ede3316 [2022-10-26T02:22:15.121Z] Step 22/27 : EXPOSE 59984 [2022-10-26T02:22:15.121Z] ---> Running in 5894ce63abf4 [2022-10-26T02:22:15.390Z] Removing intermediate container 5894ce63abf4 [2022-10-26T02:22:15.390Z] ---> 2011086784ef [2022-10-26T02:22:15.390Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:22:15.390Z] ---> Running in 4ebed89fce35 [2022-10-26T02:22:15.978Z] Removing intermediate container 4ebed89fce35 [2022-10-26T02:22:15.978Z] ---> 8da81b503674 [2022-10-26T02:22:15.978Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:22:15.978Z] ---> Running in f7123c2adcb8 [2022-10-26T02:22:16.248Z] Removing intermediate container f7123c2adcb8 [2022-10-26T02:22:16.248Z] ---> bcd3c358e6b6 [2022-10-26T02:22:16.248Z] Step 25/27 : LABEL arch=arm64 [2022-10-26T02:22:16.248Z] ---> Running in e123634c6632 [2022-10-26T02:22:16.516Z] Removing intermediate container e123634c6632 [2022-10-26T02:22:16.516Z] ---> 85e2bcd72a9d [2022-10-26T02:22:16.516Z] Step 26/27 : LABEL git_sha=51c571fe4f30899451120133df6ba469649ae0d3 [2022-10-26T02:22:16.792Z] ---> Running in 6882ed430279 [2022-10-26T02:22:17.061Z] Removing intermediate container 6882ed430279 [2022-10-26T02:22:17.061Z] ---> 2d537463a39c [2022-10-26T02:22:17.061Z] Step 27/27 : LABEL version=0.0.0 [2022-10-26T02:22:17.061Z] ---> Running in 4557a180e47b [2022-10-26T02:22:17.647Z] Removing intermediate container 4557a180e47b [2022-10-26T02:22:17.647Z] ---> 2b908487244f [2022-10-26T02:22:17.647Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:22:17.647Z] Successfully built 2b908487244f [2022-10-26T02:22:17.647Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:22:18.092Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:22:18.092Z] [2022-10-26T02:22:18.092Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:22:18.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:22:18.424Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T02:22:18.424Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T02:22:18.424Z] 04944245beec: Pulling fs layer [2022-10-26T02:22:18.424Z] 699f458cf7ca: Pulling fs layer [2022-10-26T02:22:18.424Z] 765212b225bb: Pulling fs layer [2022-10-26T02:22:18.424Z] f23df028b6ca: Pulling fs layer [2022-10-26T02:22:18.424Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T02:22:18.424Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T02:22:18.424Z] 765212b225bb: Waiting [2022-10-26T02:22:18.424Z] f23df028b6ca: Waiting [2022-10-26T02:22:18.424Z] d65c8cfc05b1: Waiting [2022-10-26T02:22:18.424Z] 2437ff75d9bd: Waiting [2022-10-26T02:22:18.694Z] 04944245beec: Verifying Checksum [2022-10-26T02:22:18.694Z] 04944245beec: Download complete [2022-10-26T02:22:18.694Z] 765212b225bb: Verifying Checksum [2022-10-26T02:22:18.694Z] 765212b225bb: Download complete [2022-10-26T02:22:18.694Z] f23df028b6ca: Verifying Checksum [2022-10-26T02:22:18.694Z] f23df028b6ca: Download complete [2022-10-26T02:22:18.694Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T02:22:18.694Z] d65c8cfc05b1: Download complete [2022-10-26T02:22:18.965Z] 699f458cf7ca: Verifying Checksum [2022-10-26T02:22:18.965Z] 699f458cf7ca: Download complete [2022-10-26T02:22:19.232Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T02:22:19.232Z] 8998bd30e6a1: Download complete [2022-10-26T02:22:21.815Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T02:22:21.816Z] 2437ff75d9bd: Download complete [2022-10-26T02:22:23.229Z] 8998bd30e6a1: Pull complete [2022-10-26T02:22:23.814Z] 04944245beec: Pull complete [2022-10-26T02:22:25.226Z] 699f458cf7ca: Pull complete [2022-10-26T02:22:25.493Z] 765212b225bb: Pull complete [2022-10-26T02:22:26.077Z] f23df028b6ca: Pull complete [2022-10-26T02:22:26.345Z] d65c8cfc05b1: Pull complete [2022-10-26T02:22:41.546Z] 2437ff75d9bd: Pull complete [2022-10-26T02:22:41.546Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T02:22:41.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:22:41.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:22:41.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-117033 does not seem to be running inside a container [2022-10-26T02:22:41.815Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T02:22:44.694Z] $ docker top 971a8b57f4db9cd25a85ad4b8d29544877ed2df3adf98bffab2201fbb81f0415 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:45.560Z] ---> job-cost.sh [2022-10-26T02:22:45.560Z] lf-activate-venv: SKIPPING [2022-10-26T02:22:45.560Z] INFO: No Stack... [2022-10-26T02:22:46.145Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T02:22:47.109Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:22:47.751Z] + + cutcat -d, /w/workspace/device-onvif-camera/3/archives/cost.csv -f6 [2022-10-26T02:22:47.751Z] [Pipeline] lock [2022-10-26T02:22:47.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [2022-10-26T02:22:47.796Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] did not exist. Created. [2022-10-26T02:22:47.796Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:22:48.452Z] /w/workspace/device-onvif-camera/3@tmp/durable-45e51f43/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T02:22:49.111Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T02:22:49.128Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T02:22:49.196Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:22:49.205Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:22:49.227Z] $ docker stop --time=1 971a8b57f4db9cd25a85ad4b8d29544877ed2df3adf98bffab2201fbb81f0415 [2022-10-26T02:22:50.775Z] $ docker rm -f 971a8b57f4db9cd25a85ad4b8d29544877ed2df3adf98bffab2201fbb81f0415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-26T02:22:51.138Z] provisioning config files... [2022-10-26T02:22:51.146Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config10929011174973678866tmp [Pipeline] { [Pipeline] sh [2022-10-26T02:22:51.442Z] + set +x [2022-10-26T02:22:51.442Z] + bash -s -- [2022-10-26T02:22:51.442Z] + curl -s https://codecov.io/bash [2022-10-26T02:22:51.442Z] [2022-10-26T02:22:51.442Z] _____ _ [2022-10-26T02:22:51.442Z] / ____| | | [2022-10-26T02:22:51.442Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T02:22:51.442Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T02:22:51.442Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T02:22:51.442Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T02:22:51.442Z] Bash-1.0.6 [2022-10-26T02:22:51.442Z] [2022-10-26T02:22:51.442Z] [2022-10-26T02:22:51.442Z] ==> git version 2.25.1 found [2022-10-26T02:22:51.442Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-26T02:22:51.442Z] Release-Date: 2020-01-08 [2022-10-26T02:22:51.442Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T02:22:51.442Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T02:22:51.442Z] ==> Jenkins CI detected. [2022-10-26T02:22:51.442Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-185 [2022-10-26T02:22:51.442Z] project root: . [2022-10-26T02:22:51.442Z] --> token set from env [2022-10-26T02:22:51.442Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T02:22:51.442Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T02:22:51.442Z] ==> Python coveragepy not found [2022-10-26T02:22:51.442Z] ==> Searching for coverage reports in: [2022-10-26T02:22:51.442Z] + . [2022-10-26T02:22:51.442Z] -> Found 1 reports [2022-10-26T02:22:51.442Z] ==> Detecting git/mercurial file structure [2022-10-26T02:22:51.442Z] ==> Reading reports [2022-10-26T02:22:51.442Z] + ./coverage.out bytes=78636 [2022-10-26T02:22:51.442Z] ==> Appending adjustments [2022-10-26T02:22:51.442Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T02:22:51.702Z] + Found adjustments [2022-10-26T02:22:51.702Z] ==> Gzipping contents [2022-10-26T02:22:51.702Z] 12K /tmp/codecov.J1fCAV.gz [2022-10-26T02:22:51.702Z] ==> Uploading reports [2022-10-26T02:22:51.702Z] url: https://codecov.io [2022-10-26T02:22:51.702Z] query: branch=PR-185&commit=c272949fa86cdc5ae4366c46be47a9cccedc0603&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-10-26T02:22:51.702Z] -> Pinging Codecov [2022-10-26T02:22:51.702Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=c272949fa86cdc5ae4366c46be47a9cccedc0603&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-10-26T02:22:51.961Z] -> Uploading to [2022-10-26T02:22:51.961Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/c272949fa86cdc5ae4366c46be47a9cccedc0603/8094c43a-3788-4c79-bcbd-3bd3329e800a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T022251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d97dcdcd26105c633e3ca6140b7e50581586c71d2c4cfa726d7f63d3333b6f4 [2022-10-26T02:22:51.961Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:22:51.961Z] Dload Upload Total Spent Left Speed [2022-10-26T02:22:52.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10773 0 0 100 10773 0 53068 --:--:-- --:--:-- --:--:-- 52808 100 10773 0 0 100 10773 0 45075 --:--:-- --:--:-- --:--:-- 44887 [2022-10-26T02:22:52.220Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c272949fa86cdc5ae4366c46be47a9cccedc0603 [Pipeline] } [2022-10-26T02:22:52.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-26T02:22:52.874Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] [2022-10-26T02:22:52.874Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-26T02:22:52.874Z] total 16 [2022-10-26T02:22:52.874Z] drwxr-xr-x 3 root root 4096 Oct 26 02:12 . [2022-10-26T02:22:52.874Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:12 .. [2022-10-26T02:22:52.874Z] drwxr-xr-x 2 root root 4096 Oct 26 02:12 cost [2022-10-26T02:22:52.874Z] -rw-r--r-- 1 root root 91 Oct 26 02:12 cost.csv [2022-10-26T02:22:52.874Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-26T02:22:52.874Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-10-26T02:22:52.874Z] total 16 [2022-10-26T02:22:52.874Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:12 . [2022-10-26T02:22:52.874Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:12 .. [2022-10-26T02:22:52.874Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 02:12 cost [2022-10-26T02:22:52.874Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 26 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:53.162Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:54.021Z] ---> package-listing.sh [2022-10-26T02:22:54.021Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T02:22:54.021Z] ++ facter osfamily [2022-10-26T02:22:54.279Z] + OS_FAMILY=debian [2022-10-26T02:22:54.279Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-185 [2022-10-26T02:22:54.279Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T02:22:54.279Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T02:22:54.279Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T02:22:54.279Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T02:22:54.279Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-10-26T02:22:54.279Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T02:22:54.279Z] + case "${OS_FAMILY}" in [2022-10-26T02:22:54.279Z] + dpkg -l [2022-10-26T02:22:54.279Z] + grep '^ii' [2022-10-26T02:22:54.279Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T02:22:54.279Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T02:22:54.279Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T02:22:54.279Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-10-26T02:22:54.279Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ [2022-10-26T02:22:54.279Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo [2022-10-26T02:22:54.290Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T02:22:54.564Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:22:55.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:22:55.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:22:55.181Z] prd-ubuntu20.04-docker-8c-8g-117030 does not seem to be running inside a container [2022-10-26T02:22:55.214Z] $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:22:55.500Z] $ docker top 05845df60c216cffea52f37aa8fda00be5fe9c535404c93fb43d86102542c8a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:22:55.849Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T02:22:56.137Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T02:22:56.421Z] + ls /var/log/sa-host [2022-10-26T02:22:56.421Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:22:56.489Z] provisioning config files... [2022-10-26T02:22:56.497Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config4129899050645884052tmp [Pipeline] { [Pipeline] echo [2022-10-26T02:22:56.507Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:56.787Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T02:22:56.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:57.120Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T02:22:57.128Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:57.410Z] ---> sudo-logs.sh [2022-10-26T02:22:57.410Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T02:22:57.434Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:57.716Z] ---> job-cost.sh [2022-10-26T02:22:57.716Z] lf-activate-venv: SKIPPING [2022-10-26T02:22:57.716Z] DEBUG: total: 0.2199999988079071 [2022-10-26T02:22:57.716Z] INFO: Retrieving Stack Cost... [2022-10-26T02:22:58.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:22:58.544Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T02:22:58.553Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:22:58.832Z] ---> logs-deploy.sh [2022-10-26T02:22:58.832Z] lf-activate-venv: SKIPPING [2022-10-26T02:22:58.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/3 [2022-10-26T02:22:58.832Z] INFO: archiving workspace using pattern(s): [2022-10-26T02:22:59.765Z] Archives upload complete. [2022-10-26T02:23:00.027Z] INFO: archiving logs to Nexus [2022-10-26T02:23:00.595Z] ---> uname -a: [2022-10-26T02:23:00.595Z] Linux prd-ubuntu20-04-docker-8c-8g-117030 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T02:23:00.595Z] [2022-10-26T02:23:00.595Z] [2022-10-26T02:23:00.595Z] ---> lscpu: [2022-10-26T02:23:00.595Z] Architecture: x86_64 [2022-10-26T02:23:00.595Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T02:23:00.595Z] Byte Order: Little Endian [2022-10-26T02:23:00.595Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T02:23:00.595Z] CPU(s): 8 [2022-10-26T02:23:00.595Z] On-line CPU(s) list: 0-7 [2022-10-26T02:23:00.595Z] Thread(s) per core: 1 [2022-10-26T02:23:00.595Z] Core(s) per socket: 1 [2022-10-26T02:23:00.595Z] Socket(s): 8 [2022-10-26T02:23:00.595Z] NUMA node(s): 1 [2022-10-26T02:23:00.595Z] Vendor ID: AuthenticAMD [2022-10-26T02:23:00.595Z] CPU family: 23 [2022-10-26T02:23:00.595Z] Model: 49 [2022-10-26T02:23:00.595Z] Model name: AMD EPYC-Rome Processor [2022-10-26T02:23:00.595Z] Stepping: 0 [2022-10-26T02:23:00.595Z] CPU MHz: 2800.000 [2022-10-26T02:23:00.595Z] BogoMIPS: 5600.00 [2022-10-26T02:23:00.595Z] Virtualization: AMD-V [2022-10-26T02:23:00.595Z] Hypervisor vendor: KVM [2022-10-26T02:23:00.595Z] Virtualization type: full [2022-10-26T02:23:00.595Z] L1d cache: 256 KiB [2022-10-26T02:23:00.595Z] L1i cache: 256 KiB [2022-10-26T02:23:00.595Z] L2 cache: 4 MiB [2022-10-26T02:23:00.595Z] L3 cache: 128 MiB [2022-10-26T02:23:00.595Z] NUMA node0 CPU(s): 0-7 [2022-10-26T02:23:00.595Z] Vulnerability Itlb multihit: Not affected [2022-10-26T02:23:00.595Z] Vulnerability L1tf: Not affected [2022-10-26T02:23:00.595Z] Vulnerability Mds: Not affected [2022-10-26T02:23:00.595Z] Vulnerability Meltdown: Not affected [2022-10-26T02:23:00.595Z] Vulnerability Mmio stale data: Not affected [2022-10-26T02:23:00.595Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T02:23:00.595Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T02:23:00.595Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T02:23:00.595Z] Vulnerability Srbds: Not affected [2022-10-26T02:23:00.595Z] Vulnerability Tsx async abort: Not affected [2022-10-26T02:23:00.595Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-26T02:23:00.595Z] [2022-10-26T02:23:00.595Z] [2022-10-26T02:23:00.595Z] ---> nproc: [2022-10-26T02:23:00.595Z] 8 [2022-10-26T02:23:00.595Z] [2022-10-26T02:23:00.595Z]