Pull request #182 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c606ad227c7573c7ba828fdfaccb601fc033aacf rather than c58213e788bcf294d0585e02c40c1f0a9868ac23 Obtained Jenkinsfile from c606ad227c7573c7ba828fdfaccb601fc033aacf 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-ssh4356321259611348353.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-ssh11570985168386592715.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-182/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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh38598464973144041.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-ssh6953116240012361387.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-182/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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14633836133834139067.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117454 in /w/workspace/undry_device-onvif-camera_PR-182 [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-182 # 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/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c606ad227c7573c7ba828fdfaccb601fc033aacf into PR head commit c58213e788bcf294d0585e02c40c1f0a9868ac23 Merge succeeded, producing c07bbc2b67b6aea0de87f688f7f348999bda3c4b Checking out Revision c07bbc2b67b6aea0de87f688f7f348999bda3c4b (PR-182) > git config core.sparsecheckout # timeout=10 > git checkout -f c58213e788bcf294d0585e02c40c1f0a9868ac23 # 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 c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c07bbc2b67b6aea0de87f688f7f348999bda3c4b # timeout=10 Commit message: "Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-27T14:32:33.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-27T14:32:33.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-27T14:32:33.531Z] ========================================================= [2022-10-27T14:32:33.531Z] EdgeX Global Pipelines Version Info [2022-10-27T14:32:33.531Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 # timeout=10 [2022-10-27T14:32:34.595Z] ------------------- [2022-10-27T14:32:34.595Z] stable info: [2022-10-27T14:32:34.595Z] ------------------- [2022-10-27T14:32:34.596Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-27T14:32:34.596Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T14:32:34.596Z] Message: update stable to v1.0.243 [2022-10-27T14:32:34.856Z] ------------------- [2022-10-27T14:32:34.856Z] experimental info: [2022-10-27T14:32:34.856Z] ------------------- [2022-10-27T14:32:34.856Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-27T14:32:34.856Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-27T14:32:34.856Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-27T14:32:35.001Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-27T14:32:35.016Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-27T14:32:35.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-27T14:32:35.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-27T14:32:35.054Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-27T14:32:35.068Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-27T14:32:35.083Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-27T14:32:35.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-27T14:32:35.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-27T14:32:35.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-27T14:32:35.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-27T14:32:35.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-27T14:32:35.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-27T14:32:35.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-27T14:32:35.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-27T14:32:35.210Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-27T14:32:35.220Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T14:32:35.232Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-27T14:32:35.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-27T14:32:35.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-27T14:32:35.276Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-27T14:32:35.291Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-27T14:32:35.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-27T14:32:35.314Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-27T14:32:35.326Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-27T14:32:35.337Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-27T14:32:35.347Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-27T14:32:35.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-10-27T14:32:35.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-10-27T14:32:35.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-10-27T14:32:35.398Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c07bbc2b67b6aea0de87f688f7f348999bda3c4b [Pipeline] echo [2022-10-27T14:32:35.412Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c07bbc2 [Pipeline] echo [2022-10-27T14:32:35.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T14:32:35.461Z] provisioning config files... [2022-10-27T14:32:35.474Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config17193284314044417442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:32:35.771Z] ---> docker-login.sh [2022-10-27T14:32:35.771Z] nexus3.edgexfoundry.org:10001 [2022-10-27T14:32:36.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:36.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:36.293Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:36.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:36.293Z] [2022-10-27T14:32:36.293Z] Login Succeeded [2022-10-27T14:32:36.293Z] nexus3.edgexfoundry.org:10002 [2022-10-27T14:32:36.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:36.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:36.293Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:36.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:36.293Z] [2022-10-27T14:32:36.293Z] Login Succeeded [2022-10-27T14:32:36.293Z] nexus3.edgexfoundry.org:10003 [2022-10-27T14:32:36.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:36.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:36.552Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:36.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:36.552Z] [2022-10-27T14:32:36.552Z] Login Succeeded [2022-10-27T14:32:36.552Z] nexus3.edgexfoundry.org:10004 [2022-10-27T14:32:36.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:36.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:36.552Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:36.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:36.552Z] [2022-10-27T14:32:36.552Z] Login Succeeded [2022-10-27T14:32:36.552Z] docker.io [2022-10-27T14:32:36.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:37.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:37.123Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:37.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:37.123Z] [2022-10-27T14:32:37.123Z] Login Succeeded [2022-10-27T14:32:37.123Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T14:32:37.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-27T14:32:37.514Z] + git rev-list -1 --merges c07bbc2b67b6aea0de87f688f7f348999bda3c4b~1..c07bbc2b67b6aea0de87f688f7f348999bda3c4b [Pipeline] echo [2022-10-27T14:32:37.545Z] -----------> git rev-list -1 --merges c07bbc2b67b6aea0de87f688f7f348999bda3c4b~1..c07bbc2b67b6aea0de87f688f7f348999bda3c4b c07bbc2b67b6aea0de87f688f7f348999bda3c4b [2022-10-27T14:32:37.545Z] c07bbc2b67b6aea0de87f688f7f348999bda3c4b [false] [Pipeline] sh [2022-10-27T14:32:37.843Z] + git log --format=format:%s -1 c07bbc2b67b6aea0de87f688f7f348999bda3c4b [Pipeline] echo [2022-10-27T14:32:37.862Z] ========================================================= [2022-10-27T14:32:37.862Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-27T14:32:37.862Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T14:32:38.197Z] + git log --format=format:%s -1 c07bbc2b67b6aea0de87f688f7f348999bda3c4b [Pipeline] echo [2022-10-27T14:32:38.212Z] [semverPrep] GIT_COMMIT: c07bbc2b67b6aea0de87f688f7f348999bda3c4b, Commit Message: Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD [Pipeline] echo [2022-10-27T14:32:38.224Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-27T14:32:38.585Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-27T14:32:38.585Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-27T14:32:38.585Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-27T14:32:38.585Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-27T14:32:38.585Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-27T14:32:38.585Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-27T14:32:38.585Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:32:38.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T14:32:38.963Z] [2022-10-27T14:32:38.963Z] 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-27T14:32:39.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T14:32:39.269Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-27T14:32:39.269Z] b85a868b505f: Pulling fs layer [2022-10-27T14:32:39.269Z] e2be974225ed: Pulling fs layer [2022-10-27T14:32:39.269Z] 339a4e72a1f5: Pulling fs layer [2022-10-27T14:32:39.269Z] 988bab9f4d93: Pulling fs layer [2022-10-27T14:32:39.269Z] 1469e6f7b9e6: Pulling fs layer [2022-10-27T14:32:39.269Z] eaf3925da568: Pulling fs layer [2022-10-27T14:32:39.269Z] bab4dde63d76: Pulling fs layer [2022-10-27T14:32:39.269Z] bde34c3a00c8: Pulling fs layer [2022-10-27T14:32:39.269Z] b352a97aabf1: Pulling fs layer [2022-10-27T14:32:39.269Z] 4872d77fe225: Pulling fs layer [2022-10-27T14:32:39.269Z] 1469e6f7b9e6: Waiting [2022-10-27T14:32:39.269Z] 5851b861e8e6: Pulling fs layer [2022-10-27T14:32:39.269Z] bab4dde63d76: Waiting [2022-10-27T14:32:39.269Z] bde34c3a00c8: Waiting [2022-10-27T14:32:39.269Z] eaf3925da568: Waiting [2022-10-27T14:32:39.269Z] b352a97aabf1: Waiting [2022-10-27T14:32:39.269Z] 4872d77fe225: Waiting [2022-10-27T14:32:39.269Z] 988bab9f4d93: Waiting [2022-10-27T14:32:39.269Z] 5851b861e8e6: Waiting [2022-10-27T14:32:39.269Z] e2be974225ed: Verifying Checksum [2022-10-27T14:32:39.269Z] e2be974225ed: Download complete [2022-10-27T14:32:39.269Z] 988bab9f4d93: Verifying Checksum [2022-10-27T14:32:39.269Z] 988bab9f4d93: Download complete [2022-10-27T14:32:39.527Z] 1469e6f7b9e6: Verifying Checksum [2022-10-27T14:32:39.527Z] 1469e6f7b9e6: Download complete [2022-10-27T14:32:39.527Z] eaf3925da568: Verifying Checksum [2022-10-27T14:32:39.528Z] eaf3925da568: Download complete [2022-10-27T14:32:39.528Z] 339a4e72a1f5: Verifying Checksum [2022-10-27T14:32:39.528Z] 339a4e72a1f5: Download complete [2022-10-27T14:32:39.528Z] bde34c3a00c8: Verifying Checksum [2022-10-27T14:32:39.528Z] bde34c3a00c8: Download complete [2022-10-27T14:32:39.528Z] b352a97aabf1: Download complete [2022-10-27T14:32:39.528Z] 4872d77fe225: Verifying Checksum [2022-10-27T14:32:39.528Z] 4872d77fe225: Download complete [2022-10-27T14:32:39.528Z] 5851b861e8e6: Verifying Checksum [2022-10-27T14:32:39.528Z] 5851b861e8e6: Download complete [2022-10-27T14:32:39.528Z] b85a868b505f: Verifying Checksum [2022-10-27T14:32:39.528Z] b85a868b505f: Download complete [2022-10-27T14:32:39.786Z] bab4dde63d76: Verifying Checksum [2022-10-27T14:32:39.786Z] bab4dde63d76: Download complete [2022-10-27T14:32:40.723Z] b85a868b505f: Pull complete [2022-10-27T14:32:40.982Z] e2be974225ed: Pull complete [2022-10-27T14:32:41.549Z] 339a4e72a1f5: Pull complete [2022-10-27T14:32:41.549Z] 988bab9f4d93: Pull complete [2022-10-27T14:32:41.809Z] 1469e6f7b9e6: Pull complete [2022-10-27T14:32:41.809Z] eaf3925da568: Pull complete [2022-10-27T14:32:43.718Z] bab4dde63d76: Pull complete [2022-10-27T14:32:43.719Z] bde34c3a00c8: Pull complete [2022-10-27T14:32:43.719Z] b352a97aabf1: Pull complete [2022-10-27T14:32:43.719Z] 4872d77fe225: Pull complete [2022-10-27T14:32:43.977Z] 5851b861e8e6: Pull complete [2022-10-27T14:32:43.977Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-27T14:32:43.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-27T14:32:43.977Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:32:44.060Z] prd-ubuntu20.04-docker-8c-8g-117454 does not seem to be running inside a container [2022-10-27T14:32:44.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-27T14:32:45.285Z] $ docker top 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 -eo pid,comm [2022-10-27T14:32:45.344Z] 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-27T14:32:45.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-27T14:32:45.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T14:32:45.389Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T14:32:45.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T14:32:45.516Z] $ docker exec 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 ssh-agent [2022-10-27T14:32:45.629Z] SSH_AUTH_SOCK=/tmp/ssh-Ev67AGyvHH8C/agent.32 [2022-10-27T14:32:45.629Z] SSH_AGENT_PID=38 [2022-10-27T14:32:45.636Z] Running ssh-add (command line suppressed) [2022-10-27T14:32:45.762Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_17728243769741851398.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_17728243769741851398.key) [2022-10-27T14:32:45.777Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T14:32:46.069Z] + git tag --points-at HEAD [Pipeline] } [2022-10-27T14:32:46.087Z] $ docker exec --env ******** --env ******** 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 ssh-agent -k [2022-10-27T14:32:46.197Z] unset SSH_AUTH_SOCK; [2022-10-27T14:32:46.197Z] unset SSH_AGENT_PID; [2022-10-27T14:32:46.197Z] echo Agent pid 38 killed; [2022-10-27T14:32:46.206Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-27T14:32:46.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-27T14:32:46.233Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-27T14:32:46.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-27T14:32:46.353Z] $ docker exec 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 ssh-agent [2022-10-27T14:32:46.465Z] SSH_AUTH_SOCK=/tmp/ssh-bAqqmiUJ84DW/agent.70 [2022-10-27T14:32:46.465Z] SSH_AGENT_PID=76 [2022-10-27T14:32:46.470Z] Running ssh-add (command line suppressed) [2022-10-27T14:32:46.572Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_15385640345760766361.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_15385640345760766361.key) [2022-10-27T14:32:46.583Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-27T14:32:46.876Z] + git semver init [2022-10-27T14:32:47.137Z] 2022-10-27 14:32:47,069 [run_init] DEBUG init version:0.0.0 force:False [2022-10-27T14:32:47.137Z] 2022-10-27 14:32:47,071 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-27T14:32:47.137Z] 2022-10-27 14:32:47,071 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-182/.semver [2022-10-27T14:32:47.137Z] 2022-10-27 14:32:47,071 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-182/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-182, universal_newlines=False, shell=None, istream=None) [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,142 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 with force:False [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,143 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,146 [execute] INFO git cat-file --batch-check [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,153 [execute] INFO git cat-file --batch [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-10-27T14:32:48.520Z] 2022-10-27 14:32:48,160 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 [2022-10-27T14:32:48.520Z] 0.0.0 [Pipeline] } [2022-10-27T14:32:48.531Z] $ docker exec --env ******** --env ******** 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 ssh-agent -k [2022-10-27T14:32:48.652Z] unset SSH_AUTH_SOCK; [2022-10-27T14:32:48.653Z] unset SSH_AGENT_PID; [2022-10-27T14:32:48.653Z] echo Agent pid 76 killed; [2022-10-27T14:32:48.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-27T14:32:48.957Z] + git semver [Pipeline] } [2022-10-27T14:32:49.238Z] $ docker stop --time=1 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 [2022-10-27T14:32:50.504Z] $ docker rm -f 846764e7d29cf9cc183d21d3419453e80f24fd2d304004bf5d535580116b6e89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T14:32:50.835Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-27T14:32:51.006Z] Stashed 1 file(s) [Pipeline] echo [2022-10-27T14:32:51.009Z] [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-27T14:32:51.184Z] provisioning config files... [2022-10-27T14:32:51.196Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config12512421321154069567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:32:51.491Z] ---> docker-login.sh [2022-10-27T14:32:51.492Z] nexus3.edgexfoundry.org:10001 [2022-10-27T14:32:51.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:51.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:51.492Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:51.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:51.492Z] [2022-10-27T14:32:51.492Z] Login Succeeded [2022-10-27T14:32:51.492Z] nexus3.edgexfoundry.org:10002 [2022-10-27T14:32:51.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:51.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:51.492Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:51.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:51.492Z] [2022-10-27T14:32:51.492Z] Login Succeeded [2022-10-27T14:32:51.492Z] nexus3.edgexfoundry.org:10003 [2022-10-27T14:32:51.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:51.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:51.751Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:51.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:51.751Z] [2022-10-27T14:32:51.751Z] Login Succeeded [2022-10-27T14:32:51.751Z] nexus3.edgexfoundry.org:10004 [2022-10-27T14:32:51.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:51.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:51.751Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:51.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:51.751Z] [2022-10-27T14:32:51.751Z] Login Succeeded [2022-10-27T14:32:51.751Z] docker.io [2022-10-27T14:32:52.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:32:52.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:32:52.274Z] Configure a credential helper to remove this warning. See [2022-10-27T14:32:52.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:32:52.274Z] [2022-10-27T14:32:52.274Z] Login Succeeded [2022-10-27T14:32:52.274Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T14:32:52.283Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T14:32:52.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T14:32:52.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T14:32:52.379Z] ========================================================= [2022-10-27T14:32:52.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-27T14:32:52.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:32:52.702Z] + 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-27T14:32:52.702Z] Sending build context to Docker daemon 27.48MB [2022-10-27T14:32:52.702Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T14:32:52.702Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-27T14:32:52.964Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-27T14:32:52.964Z] 213ec9aee27d: Pulling fs layer [2022-10-27T14:32:52.964Z] 4583459ba037: Pulling fs layer [2022-10-27T14:32:52.964Z] 93c1e223e6f2: Pulling fs layer [2022-10-27T14:32:52.964Z] 53926ce57604: Pulling fs layer [2022-10-27T14:32:52.964Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-27T14:32:52.964Z] 53926ce57604: Waiting [2022-10-27T14:32:52.964Z] 30f14e443154: Pulling fs layer [2022-10-27T14:32:52.964Z] 801331c1e519: Pulling fs layer [2022-10-27T14:32:52.964Z] 99cc6dd402b0: Pulling fs layer [2022-10-27T14:32:52.964Z] 7d9ed39f4882: Pulling fs layer [2022-10-27T14:32:52.964Z] 21b2b0c7a3f4: Waiting [2022-10-27T14:32:52.964Z] 99cc6dd402b0: Waiting [2022-10-27T14:32:52.964Z] 7d9ed39f4882: Waiting [2022-10-27T14:32:52.964Z] 801331c1e519: Waiting [2022-10-27T14:32:52.964Z] 30f14e443154: Waiting [2022-10-27T14:32:52.964Z] 93c1e223e6f2: Verifying Checksum [2022-10-27T14:32:52.964Z] 93c1e223e6f2: Download complete [2022-10-27T14:32:52.964Z] 4583459ba037: Verifying Checksum [2022-10-27T14:32:52.964Z] 4583459ba037: Download complete [2022-10-27T14:32:52.964Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-27T14:32:52.964Z] 21b2b0c7a3f4: Download complete [2022-10-27T14:32:52.964Z] 30f14e443154: Verifying Checksum [2022-10-27T14:32:52.964Z] 30f14e443154: Download complete [2022-10-27T14:32:52.964Z] 213ec9aee27d: Verifying Checksum [2022-10-27T14:32:52.964Z] 213ec9aee27d: Download complete [2022-10-27T14:32:52.964Z] 801331c1e519: Verifying Checksum [2022-10-27T14:32:52.964Z] 801331c1e519: Download complete [2022-10-27T14:32:52.964Z] 213ec9aee27d: Pull complete [2022-10-27T14:32:53.225Z] 4583459ba037: Pull complete [2022-10-27T14:32:53.225Z] 93c1e223e6f2: Pull complete [2022-10-27T14:32:53.794Z] 99cc6dd402b0: Verifying Checksum [2022-10-27T14:32:53.794Z] 99cc6dd402b0: Download complete [2022-10-27T14:32:53.794Z] 53926ce57604: Download complete [2022-10-27T14:32:53.794Z] 7d9ed39f4882: Verifying Checksum [2022-10-27T14:32:57.076Z] 53926ce57604: Pull complete [2022-10-27T14:32:57.076Z] 21b2b0c7a3f4: Pull complete [2022-10-27T14:32:57.076Z] 30f14e443154: Pull complete [2022-10-27T14:32:57.076Z] 801331c1e519: Pull complete [2022-10-27T14:32:58.979Z] 99cc6dd402b0: Pull complete [2022-10-27T14:32:59.912Z] 7d9ed39f4882: Pull complete [2022-10-27T14:32:59.912Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-27T14:32:59.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-27T14:32:59.912Z] ---> 1dedd983c030 [2022-10-27T14:32:59.912Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-27T14:33:01.290Z] ---> Running in 21676e5ed07a [2022-10-27T14:33:01.291Z] Removing intermediate container 21676e5ed07a [2022-10-27T14:33:01.291Z] ---> ac38c39f0b17 [2022-10-27T14:33:01.291Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T14:33:01.291Z] ---> Running in f81745b7f888 [2022-10-27T14:33:01.291Z] Removing intermediate container f81745b7f888 [2022-10-27T14:33:01.291Z] ---> 125c4ca8d480 [2022-10-27T14:33:01.291Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T14:33:01.291Z] ---> Running in 3667ca0b7d0c [2022-10-27T14:33:01.548Z] Removing intermediate container 3667ca0b7d0c [2022-10-27T14:33:01.548Z] ---> 0f175dd63d11 [2022-10-27T14:33:01.548Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T14:33:01.549Z] ---> Running in 3e32bec2506c [2022-10-27T14:33:01.549Z] Removing intermediate container 3e32bec2506c [2022-10-27T14:33:01.549Z] ---> 72db6d3bb7a7 [2022-10-27T14:33:01.549Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-27T14:33:01.549Z] ---> Running in ad1739e8ef6a [2022-10-27T14:33:01.806Z] Removing intermediate container ad1739e8ef6a [2022-10-27T14:33:01.807Z] ---> 096098a8846b [2022-10-27T14:33:01.807Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T14:33:01.807Z] ---> Running in 951dcbaa2961 [2022-10-27T14:33:02.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T14:33:02.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T14:33:02.325Z] OK: 211 MiB in 51 packages [2022-10-27T14:33:02.585Z] Removing intermediate container 951dcbaa2961 [2022-10-27T14:33:02.585Z] ---> baf0026c9fc7 [2022-10-27T14:33:02.585Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-27T14:33:02.585Z] ---> Running in 0b3915f1b2f1 [2022-10-27T14:33:02.848Z] Removing intermediate container 0b3915f1b2f1 [2022-10-27T14:33:02.848Z] ---> a8b228cc5aa3 [2022-10-27T14:33:02.848Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-27T14:33:02.848Z] ---> 1543f7c1d848 [2022-10-27T14:33:02.848Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T14:33:02.848Z] ---> Running in 20fe9fc4b556 [2022-10-27T14:33:06.130Z] Still waiting to schedule task [2022-10-27T14:33:06.131Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-27T14:33:24.792Z] Removing intermediate container 20fe9fc4b556 [2022-10-27T14:33:24.792Z] ---> ecbf41387836 [2022-10-27T14:33:24.792Z] Step 12/13 : COPY . . [2022-10-27T14:33:25.360Z] ---> 1a7abc2ab981 [2022-10-27T14:33:25.360Z] Step 13/13 : RUN ${MAKE} [2022-10-27T14:33:25.360Z] ---> Running in cd0dc95d8382 [2022-10-27T14:33:25.620Z] noop [2022-10-27T14:33:25.879Z] Removing intermediate container cd0dc95d8382 [2022-10-27T14:33:25.879Z] ---> 3c1788c6fd69 [2022-10-27T14:33:25.879Z] Successfully built 3c1788c6fd69 [2022-10-27T14:33:25.879Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:33:26.181Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T14:33:26.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:33:26.247Z] prd-ubuntu20.04-docker-8c-8g-117454 does not seem to be running inside a container [2022-10-27T14:33:26.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-27T14:33:26.626Z] $ docker top 3a2519c54e411849a5d170b6031dbe7f2e04d207c60cac75ca0f3e2765b3e523 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T14:33:26.965Z] + go version [2022-10-27T14:33:26.965Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-27T14:33:26.978Z] $ docker stop --time=1 3a2519c54e411849a5d170b6031dbe7f2e04d207c60cac75ca0f3e2765b3e523 [2022-10-27T14:33:28.225Z] $ docker rm -f 3a2519c54e411849a5d170b6031dbe7f2e04d207c60cac75ca0f3e2765b3e523 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:33:28.632Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-27T14:33:28.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:33:28.695Z] prd-ubuntu20.04-docker-8c-8g-117454 does not seem to be running inside a container [2022-10-27T14:33:28.727Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-27T14:33:29.060Z] $ docker top 8987c048512473df2593187b9c690bb86044638ccf67771505158e3427f5f45a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T14:33:29.393Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh [2022-10-27T14:33:29.683Z] + make test [2022-10-27T14:33:29.683Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-27T14:33:29.940Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-27T14:33:42.130Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-27T14:33:44.034Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2022-10-27T14:33:44.034Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-27T14:33:44.034Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.345s coverage: 86.5% of statements [2022-10-27T14:33:52.149Z] 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-27T14:33:52.149Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-27T14:33:54.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T14:33:54.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T14:33:54.676Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-27T14:33:54.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T14:33:54.708Z] $ docker stop --time=1 8987c048512473df2593187b9c690bb86044638ccf67771505158e3427f5f45a [2022-10-27T14:33:56.349Z] $ docker rm -f 8987c048512473df2593187b9c690bb86044638ccf67771505158e3427f5f45a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T14:33:56.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T14:33:56.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-27T14:33:57.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T14:33:57.708Z] + ls -al . [2022-10-27T14:33:57.708Z] total 244 [2022-10-27T14:33:57.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 14:33 . [2022-10-27T14:33:57.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:32 .. [2022-10-27T14:33:57.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 14:33 .git [2022-10-27T14:33:57.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 14:32 .github [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 27 14:32 .gitignore [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 14:32 .golangci.yml [2022-10-27T14:33:57.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 14:32 .semver [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 27 14:32 Attribution.txt [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 27 14:32 CHANGELOG.md [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 27 14:32 Dockerfile [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 14:32 GOVERNANCE.md [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 27 14:32 Jenkinsfile [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 14:32 LICENSE [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 27 14:32 Makefile [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 14:32 OWNERS.md [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 27 14:32 README.md [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 14:32 VERSION [2022-10-27T14:33:57.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 14:32 bin [2022-10-27T14:33:57.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 14:32 cmd [2022-10-27T14:33:57.708Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 27 14:33 coverage.out [2022-10-27T14:33:57.708Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 14:32 doc [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 27 14:32 go.mod [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 27 14:32 go.sum [2022-10-27T14:33:57.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:32 internal [2022-10-27T14:33:57.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:32 snap [2022-10-27T14:33:57.708Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 14:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:33:58.018Z] + 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=c07bbc2b67b6aea0de87f688f7f348999bda3c4b --label arch=amd64 --label version=0.0.0 . [2022-10-27T14:33:58.018Z] Sending build context to Docker daemon 27.56MB [2022-10-27T14:33:58.018Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T14:33:58.018Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-27T14:33:58.018Z] ---> 3c1788c6fd69 [2022-10-27T14:33:58.018Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-27T14:33:58.277Z] ---> Running in ae677136a511 [2022-10-27T14:33:58.277Z] Removing intermediate container ae677136a511 [2022-10-27T14:33:58.277Z] ---> c3cb4e1f705d [2022-10-27T14:33:58.277Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T14:33:58.277Z] ---> Running in d9c21663446a [2022-10-27T14:33:58.277Z] Removing intermediate container d9c21663446a [2022-10-27T14:33:58.277Z] ---> dc6441032d28 [2022-10-27T14:33:58.277Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T14:33:58.277Z] ---> Running in e9b3ee2953df [2022-10-27T14:33:58.277Z] Removing intermediate container e9b3ee2953df [2022-10-27T14:33:58.277Z] ---> 9e0807cb3172 [2022-10-27T14:33:58.277Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T14:33:58.537Z] ---> Running in b51cee80555d [2022-10-27T14:33:58.537Z] Removing intermediate container b51cee80555d [2022-10-27T14:33:58.537Z] ---> 6040627871e8 [2022-10-27T14:33:58.537Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-27T14:33:58.537Z] ---> Running in d419f03b0ceb [2022-10-27T14:33:58.537Z] Removing intermediate container d419f03b0ceb [2022-10-27T14:33:58.537Z] ---> 802c0c755699 [2022-10-27T14:33:58.537Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T14:33:58.537Z] ---> Running in 32e458097767 [2022-10-27T14:33:58.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T14:33:59.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T14:33:59.311Z] OK: 211 MiB in 51 packages [2022-10-27T14:33:59.570Z] Removing intermediate container 32e458097767 [2022-10-27T14:33:59.570Z] ---> 0151f3775055 [2022-10-27T14:33:59.570Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-27T14:33:59.570Z] ---> Running in 4b73912187d0 [2022-10-27T14:33:59.570Z] Removing intermediate container 4b73912187d0 [2022-10-27T14:33:59.570Z] ---> d61c54c4fc6c [2022-10-27T14:33:59.570Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-27T14:33:59.831Z] ---> 9d87825a8365 [2022-10-27T14:33:59.831Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T14:33:59.831Z] ---> Running in 1df0a4fb3776 [2022-10-27T14:34:00.398Z] Removing intermediate container 1df0a4fb3776 [2022-10-27T14:34:00.398Z] ---> 380d3aeafd7b [2022-10-27T14:34:00.398Z] Step 12/26 : COPY . . [2022-10-27T14:34:00.968Z] ---> 13fe6f9540aa [2022-10-27T14:34:00.968Z] Step 13/26 : RUN ${MAKE} [2022-10-27T14:34:00.968Z] ---> Running in 201cedff564d [2022-10-27T14:34:01.226Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-27T14:34:23.176Z] Removing intermediate container 201cedff564d [2022-10-27T14:34:23.176Z] ---> dffb618b596b [2022-10-27T14:34:23.176Z] Step 14/26 : FROM alpine:3.16 [2022-10-27T14:34:23.176Z] 3.16: Pulling from library/alpine [2022-10-27T14:34:23.176Z] 213ec9aee27d: Already exists [2022-10-27T14:34:23.176Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T14:34:23.176Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T14:34:23.176Z] ---> 9c6f07244728 [2022-10-27T14:34:23.176Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-27T14:34:23.177Z] ---> Running in 935cf46c158f [2022-10-27T14:34:23.177Z] Removing intermediate container 935cf46c158f [2022-10-27T14:34:23.177Z] ---> 1698a4bb9f3e [2022-10-27T14:34:23.177Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-27T14:34:23.177Z] ---> Running in c5df15566faf [2022-10-27T14:34:23.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-27T14:34:23.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-27T14:34:23.435Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-27T14:34:23.435Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T14:34:23.435Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-27T14:34:23.435Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T14:34:23.435Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-27T14:34:23.435Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-27T14:34:23.435Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T14:34:23.435Z] OK: 8 MiB in 20 packages [2022-10-27T14:34:23.693Z] Removing intermediate container c5df15566faf [2022-10-27T14:34:23.693Z] ---> 7b18f4643a83 [2022-10-27T14:34:23.693Z] Step 17/26 : WORKDIR / [2022-10-27T14:34:23.693Z] ---> Running in 2fa835760ebd [2022-10-27T14:34:23.950Z] Removing intermediate container 2fa835760ebd [2022-10-27T14:34:23.950Z] ---> 71a2e6cf4762 [2022-10-27T14:34:23.950Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-27T14:34:24.209Z] ---> 6dccfba9ccd6 [2022-10-27T14:34:24.209Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-27T14:34:24.467Z] ---> 888f871501ec [2022-10-27T14:34:24.467Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-27T14:34:24.467Z] ---> 11734fa53fc0 [2022-10-27T14:34:24.467Z] Step 21/26 : EXPOSE 59984 [2022-10-27T14:34:24.467Z] ---> Running in b0e855e02b28 [2022-10-27T14:34:24.726Z] Removing intermediate container b0e855e02b28 [2022-10-27T14:34:24.726Z] ---> 785f98564424 [2022-10-27T14:34:24.726Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-27T14:34:24.726Z] ---> Running in 355aed93d5d4 [2022-10-27T14:34:24.726Z] Removing intermediate container 355aed93d5d4 [2022-10-27T14:34:24.726Z] ---> f2de7e7606a9 [2022-10-27T14:34:24.726Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T14:34:24.726Z] ---> Running in 5e9a36da1e10 [2022-10-27T14:34:24.726Z] Removing intermediate container 5e9a36da1e10 [2022-10-27T14:34:24.726Z] ---> 37f101d677b7 [2022-10-27T14:34:24.726Z] Step 24/26 : LABEL arch=amd64 [2022-10-27T14:34:24.726Z] ---> Running in 4801fc715d92 [2022-10-27T14:34:24.986Z] Removing intermediate container 4801fc715d92 [2022-10-27T14:34:24.986Z] ---> 62c3e7dbf3a6 [2022-10-27T14:34:24.986Z] Step 25/26 : LABEL git_sha=c07bbc2b67b6aea0de87f688f7f348999bda3c4b [2022-10-27T14:34:24.986Z] ---> Running in 26663a91089b [2022-10-27T14:34:24.986Z] Removing intermediate container 26663a91089b [2022-10-27T14:34:24.986Z] ---> 9e8e05a0b6ac [2022-10-27T14:34:24.986Z] Step 26/26 : LABEL version=0.0.0 [2022-10-27T14:34:24.986Z] ---> Running in 7343497ca507 [2022-10-27T14:34:24.986Z] Removing intermediate container 7343497ca507 [2022-10-27T14:34:24.986Z] ---> ef28243f0f6c [2022-10-27T14:34:24.986Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T14:34:24.986Z] Successfully built ef28243f0f6c [2022-10-27T14:34:24.986Z] 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-27T14:34:25.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T14:34:25.421Z] [2022-10-27T14:34:25.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:34:25.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T14:34:25.727Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-27T14:34:25.727Z] 5eb5b503b376: Pulling fs layer [2022-10-27T14:34:25.727Z] 5c69ac0246d0: Pulling fs layer [2022-10-27T14:34:25.727Z] ec43610c2a17: Pulling fs layer [2022-10-27T14:34:25.727Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-27T14:34:25.727Z] 33b1e0a273af: Pulling fs layer [2022-10-27T14:34:25.727Z] 5d3b04190fa2: Pulling fs layer [2022-10-27T14:34:25.727Z] 2f39f015ded8: Pulling fs layer [2022-10-27T14:34:25.727Z] 33b1e0a273af: Waiting [2022-10-27T14:34:25.727Z] 2f39f015ded8: Waiting [2022-10-27T14:34:25.727Z] 5d3b04190fa2: Waiting [2022-10-27T14:34:25.727Z] 3a2ae6a8a46f: Waiting [2022-10-27T14:34:25.727Z] 5c69ac0246d0: Download complete [2022-10-27T14:34:25.727Z] 3a2ae6a8a46f: Download complete [2022-10-27T14:34:25.988Z] ec43610c2a17: Verifying Checksum [2022-10-27T14:34:25.988Z] ec43610c2a17: Download complete [2022-10-27T14:34:25.988Z] 33b1e0a273af: Verifying Checksum [2022-10-27T14:34:25.988Z] 33b1e0a273af: Download complete [2022-10-27T14:34:25.988Z] 5d3b04190fa2: Verifying Checksum [2022-10-27T14:34:25.988Z] 5d3b04190fa2: Download complete [2022-10-27T14:34:25.988Z] 5eb5b503b376: Verifying Checksum [2022-10-27T14:34:25.988Z] 5eb5b503b376: Download complete [2022-10-27T14:34:26.557Z] 2f39f015ded8: Download complete [2022-10-27T14:34:27.122Z] 5eb5b503b376: Pull complete [2022-10-27T14:34:27.379Z] 5c69ac0246d0: Pull complete [2022-10-27T14:34:27.637Z] ec43610c2a17: Pull complete [2022-10-27T14:34:27.894Z] 3a2ae6a8a46f: Pull complete [2022-10-27T14:34:27.894Z] 33b1e0a273af: Pull complete [2022-10-27T14:34:28.153Z] 5d3b04190fa2: Pull complete [2022-10-27T14:34:32.335Z] 2f39f015ded8: Pull complete [2022-10-27T14:34:32.335Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-27T14:34:32.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T14:34:32.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:34:32.408Z] prd-ubuntu20.04-docker-8c-8g-117454 does not seem to be running inside a container [2022-10-27T14:34:32.432Z] $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-27T14:34:33.567Z] $ docker top d3a309a69ece387554ddd22cb3219f5211d5c2757b52d5fe64cba4efdc484c6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:34:33.932Z] ---> job-cost.sh [2022-10-27T14:34:33.932Z] lf-activate-venv: SKIPPING [2022-10-27T14:34:33.932Z] INFO: No Stack... [2022-10-27T14:34:34.500Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T14:34:34.759Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T14:34:35.043Z] + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv [2022-10-27T14:34:35.043Z] + cut -d, -f6 [Pipeline] lock [2022-10-27T14:34:35.055Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [2022-10-27T14:34:35.060Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] did not exist. Created. [2022-10-27T14:34:35.060Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T14:34:35.352Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-27T14:34:35.374Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T14:34:35.380Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T14:34:35.400Z] $ docker stop --time=1 d3a309a69ece387554ddd22cb3219f5211d5c2757b52d5fe64cba4efdc484c6f [2022-10-27T14:34:36.185Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117455 in /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-27T14:34:36.552Z] $ docker rm -f d3a309a69ece387554ddd22cb3219f5211d5c2757b52d5fe64cba4efdc484c6f [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-10-27T14:34:36.605Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [2022-10-27T14:34:36.636Z] The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-27T14:34:41.412Z] using credential edgex-jenkins-ssh [2022-10-27T14:34:41.430Z] Cloning the remote Git repository [2022-10-27T14:34:41.478Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T14:34:41.547Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-10-27T14:34:41.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T14:34:41.718Z] > git --version # timeout=10 [2022-10-27T14:34:41.738Z] > git --version # 'git version 2.25.1' [2022-10-27T14:34:41.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T14:34:41.787Z] Verifying host key using known hosts file [2022-10-27T14:34:41.972Z] 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-27T14:34:41.986Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T14:34:43.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-27T14:34:43.683Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-27T14:34:45.200Z] Merging remotes/origin/main commit c606ad227c7573c7ba828fdfaccb601fc033aacf into PR head commit c58213e788bcf294d0585e02c40c1f0a9868ac23 [2022-10-27T14:34:44.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-27T14:34:44.483Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-27T14:34:44.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T14:34:44.489Z] Verifying host key using known hosts file [2022-10-27T14:34:44.495Z] 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-27T14:34:44.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-27T14:34:45.221Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T14:34:45.237Z] > git checkout -f c58213e788bcf294d0585e02c40c1f0a9868ac23 # timeout=10 [2022-10-27T14:34:46.191Z] Merge succeeded, producing bdd67670d448a47841b98ba119feb6107cdfa9ba [2022-10-27T14:34:46.192Z] Checking out Revision bdd67670d448a47841b98ba119feb6107cdfa9ba (PR-182) [2022-10-27T14:34:45.464Z] > git remote # timeout=10 [2022-10-27T14:34:45.480Z] > git config --get remote.origin.url # timeout=10 [2022-10-27T14:34:45.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-27T14:34:45.509Z] Verifying host key using known hosts file [2022-10-27T14:34:45.512Z] 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-27T14:34:45.520Z] > git merge c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 [2022-10-27T14:34:46.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-27T14:34:46.199Z] > git config core.sparsecheckout # timeout=10 [2022-10-27T14:34:46.213Z] > git checkout -f bdd67670d448a47841b98ba119feb6107cdfa9ba # timeout=10 [2022-10-27T14:34:50.020Z] Commit message: "Merge commit 'c606ad227c7573c7ba828fdfaccb601fc033aacf' into HEAD" [2022-10-27T14:34:50.045Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T14:34:51.018Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-27T14:34:51.018Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T14:34:51.018Z] Dload Upload Total Spent Left Speed [2022-10-27T14:34:51.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh [2022-10-27T14:34:50.029Z] > git rev-list --no-walk ebf1bfe8d2c43c9aee301924cc21d14dd610ac05 # timeout=10 [2022-10-27T14:34:51.697Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-27T14:34:52.023Z] + sudo tee /etc/docker/daemon.new [2022-10-27T14:34:52.024Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-27T14:34:52.024Z] { [2022-10-27T14:34:52.024Z] "registry-mirrors": [ [2022-10-27T14:34:52.024Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-27T14:34:52.024Z] ], [2022-10-27T14:34:52.024Z] "bip": "10.250.0.254/24", [2022-10-27T14:34:52.024Z] "hosts": [ [2022-10-27T14:34:52.024Z] "tcp://0.0.0.0:5555", [2022-10-27T14:34:52.024Z] "unix:///var/run/docker.sock" [2022-10-27T14:34:52.024Z] ], [2022-10-27T14:34:52.024Z] "mtu": 1458, [2022-10-27T14:34:52.024Z] "selinux-enabled": true, [2022-10-27T14:34:52.024Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-27T14:34:52.024Z] } [Pipeline] sh [2022-10-27T14:34:52.355Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-27T14:34:52.692Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T14:35:10.966Z] provisioning config files... [2022-10-27T14:35:10.990Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config9551474346763003412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:35:11.347Z] ---> docker-login.sh [2022-10-27T14:35:11.347Z] nexus3.edgexfoundry.org:10001 [2022-10-27T14:35:11.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:35:11.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:35:11.889Z] Configure a credential helper to remove this warning. See [2022-10-27T14:35:11.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:35:11.889Z] [2022-10-27T14:35:11.889Z] Login Succeeded [2022-10-27T14:35:11.889Z] nexus3.edgexfoundry.org:10002 [2022-10-27T14:35:12.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:35:12.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:35:12.162Z] Configure a credential helper to remove this warning. See [2022-10-27T14:35:12.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:35:12.162Z] [2022-10-27T14:35:12.162Z] Login Succeeded [2022-10-27T14:35:12.162Z] nexus3.edgexfoundry.org:10003 [2022-10-27T14:35:12.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:35:12.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:35:12.701Z] Configure a credential helper to remove this warning. See [2022-10-27T14:35:12.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:35:12.701Z] [2022-10-27T14:35:12.701Z] Login Succeeded [2022-10-27T14:35:12.701Z] nexus3.edgexfoundry.org:10004 [2022-10-27T14:35:12.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:35:12.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:35:12.970Z] Configure a credential helper to remove this warning. See [2022-10-27T14:35:12.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:35:12.970Z] [2022-10-27T14:35:12.970Z] Login Succeeded [2022-10-27T14:35:12.970Z] docker.io [2022-10-27T14:35:13.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-27T14:35:13.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-27T14:35:13.825Z] Configure a credential helper to remove this warning. See [2022-10-27T14:35:13.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-27T14:35:13.825Z] [2022-10-27T14:35:13.825Z] Login Succeeded [2022-10-27T14:35:13.825Z] ---> docker-login.sh ends [Pipeline] } [2022-10-27T14:35:13.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-27T14:35:13.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T14:35:14.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-27T14:35:14.019Z] ========================================================= [2022-10-27T14:35:14.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-27T14:35:14.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:35:14.354Z] + 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-27T14:35:14.948Z] Sending build context to Docker daemon 20.44MB [2022-10-27T14:35:14.948Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T14:35:14.948Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-27T14:35:15.217Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-27T14:35:15.217Z] 9b18e9b68314: Pulling fs layer [2022-10-27T14:35:15.217Z] d32db5db7311: Pulling fs layer [2022-10-27T14:35:15.217Z] d0c4b47475fc: Pulling fs layer [2022-10-27T14:35:15.217Z] 5831b945b038: Pulling fs layer [2022-10-27T14:35:15.217Z] 86bbec2aaacd: Pulling fs layer [2022-10-27T14:35:15.217Z] e10730c5d714: Pulling fs layer [2022-10-27T14:35:15.217Z] 5dd5c2283517: Pulling fs layer [2022-10-27T14:35:15.217Z] d5ac0230b979: Pulling fs layer [2022-10-27T14:35:15.217Z] 5831b945b038: Waiting [2022-10-27T14:35:15.217Z] 86bbec2aaacd: Waiting [2022-10-27T14:35:15.217Z] e10730c5d714: Waiting [2022-10-27T14:35:15.217Z] 5dd5c2283517: Waiting [2022-10-27T14:35:15.217Z] d5ac0230b979: Waiting [2022-10-27T14:35:15.217Z] d0c4b47475fc: Verifying Checksum [2022-10-27T14:35:15.217Z] d0c4b47475fc: Download complete [2022-10-27T14:35:15.217Z] d32db5db7311: Verifying Checksum [2022-10-27T14:35:15.217Z] d32db5db7311: Download complete [2022-10-27T14:35:15.217Z] 86bbec2aaacd: Download complete [2022-10-27T14:35:15.217Z] e10730c5d714: Verifying Checksum [2022-10-27T14:35:15.217Z] e10730c5d714: Download complete [2022-10-27T14:35:15.217Z] 9b18e9b68314: Verifying Checksum [2022-10-27T14:35:15.217Z] 9b18e9b68314: Download complete [2022-10-27T14:35:16.191Z] 9b18e9b68314: Pull complete [2022-10-27T14:35:16.191Z] d5ac0230b979: Verifying Checksum [2022-10-27T14:35:16.191Z] d5ac0230b979: Download complete [2022-10-27T14:35:16.779Z] d32db5db7311: Pull complete [2022-10-27T14:35:17.052Z] d0c4b47475fc: Pull complete [2022-10-27T14:35:17.321Z] 5dd5c2283517: Verifying Checksum [2022-10-27T14:35:17.321Z] 5dd5c2283517: Download complete [2022-10-27T14:35:18.280Z] 5831b945b038: Verifying Checksum [2022-10-27T14:35:18.280Z] 5831b945b038: Download complete [2022-10-27T14:35:30.593Z] 5831b945b038: Pull complete [2022-10-27T14:35:30.593Z] 86bbec2aaacd: Pull complete [2022-10-27T14:35:30.593Z] e10730c5d714: Pull complete [2022-10-27T14:35:35.928Z] 5dd5c2283517: Pull complete [2022-10-27T14:35:36.892Z] d5ac0230b979: Pull complete [2022-10-27T14:35:36.892Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-27T14:35:36.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-27T14:35:36.892Z] ---> 59b3b1a385d4 [2022-10-27T14:35:36.892Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-27T14:35:38.839Z] ---> Running in 24c7cd4e923b [2022-10-27T14:35:39.109Z] Removing intermediate container 24c7cd4e923b [2022-10-27T14:35:39.109Z] ---> 34ad1aa5c669 [2022-10-27T14:35:39.109Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T14:35:39.109Z] ---> Running in b183478f3398 [2022-10-27T14:35:39.405Z] Removing intermediate container b183478f3398 [2022-10-27T14:35:39.405Z] ---> 8531772f1674 [2022-10-27T14:35:39.405Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T14:35:39.405Z] ---> Running in 3e0dd601ca52 [2022-10-27T14:35:39.988Z] Removing intermediate container 3e0dd601ca52 [2022-10-27T14:35:39.988Z] ---> a2d75973373c [2022-10-27T14:35:39.988Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T14:35:39.988Z] ---> Running in 5ceefd6168f5 [2022-10-27T14:35:40.261Z] Removing intermediate container 5ceefd6168f5 [2022-10-27T14:35:40.261Z] ---> 1d423a9c21eb [2022-10-27T14:35:40.261Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-27T14:35:40.261Z] ---> Running in 597832eac930 [2022-10-27T14:35:40.534Z] Removing intermediate container 597832eac930 [2022-10-27T14:35:40.534Z] ---> 69119468c959 [2022-10-27T14:35:40.534Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T14:35:40.534Z] ---> Running in 0417707a5aed [2022-10-27T14:35:41.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T14:35:41.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T14:35:42.901Z] OK: 221 MiB in 51 packages [2022-10-27T14:35:43.484Z] Removing intermediate container 0417707a5aed [2022-10-27T14:35:43.484Z] ---> abf1d7cf6384 [2022-10-27T14:35:43.484Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-27T14:35:43.766Z] ---> Running in c899546a55b9 [2022-10-27T14:35:44.034Z] Removing intermediate container c899546a55b9 [2022-10-27T14:35:44.034Z] ---> e60f763222ad [2022-10-27T14:35:44.034Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-27T14:35:44.302Z] ---> a94807b97ef6 [2022-10-27T14:35:44.302Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T14:35:44.573Z] ---> Running in 39c337c05f4e [2022-10-27T14:36:41.011Z] Removing intermediate container 39c337c05f4e [2022-10-27T14:36:41.011Z] ---> ef6aa7732c8d [2022-10-27T14:36:41.011Z] Step 12/13 : COPY . . [2022-10-27T14:36:41.011Z] ---> 2ba293528580 [2022-10-27T14:36:41.011Z] Step 13/13 : RUN ${MAKE} [2022-10-27T14:36:41.011Z] ---> Running in 8c7c91d8c53d [2022-10-27T14:36:41.011Z] noop [2022-10-27T14:36:41.011Z] Removing intermediate container 8c7c91d8c53d [2022-10-27T14:36:41.011Z] ---> 75c781ce560f [2022-10-27T14:36:41.011Z] Successfully built 75c781ce560f [2022-10-27T14:36:41.011Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:36:41.365Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T14:36:41.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:36:41.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-117455 does not seem to be running inside a container [2022-10-27T14:36:41.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-27T14:36:42.731Z] $ docker top 577e6e8191570b529204a9896a160df221dd5381269b437dc80da75aa6f62acf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T14:36:43.552Z] + go version [2022-10-27T14:36:43.553Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-27T14:36:43.572Z] $ docker stop --time=1 577e6e8191570b529204a9896a160df221dd5381269b437dc80da75aa6f62acf [2022-10-27T14:36:45.149Z] $ docker rm -f 577e6e8191570b529204a9896a160df221dd5381269b437dc80da75aa6f62acf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:36:45.686Z] + docker inspect -f . ci-base-image-arm64 [2022-10-27T14:36:45.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:36:45.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-117455 does not seem to be running inside a container [2022-10-27T14:36:45.931Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-27T14:36:47.059Z] $ docker top 0810cce01fada49c755fc5e4e3fc4d2111387e3c107d59fa8955d22d97b5fe58 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T14:36:47.880Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-10-27T14:36:48.210Z] + make test [2022-10-27T14:36:48.480Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-27T14:36:50.423Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-27T14:38:27.078Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-27T14:38:27.078Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.212s coverage: 29.3% of statements [2022-10-27T14:38:27.078Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-27T14:38:45.320Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.884s coverage: 86.5% of statements [2022-10-27T14:38:45.320Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-27T14:38:45.320Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-27T14:39:17.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-27T14:39:17.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-27T14:39:17.593Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-27T14:39:17.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-27T14:39:17.626Z] $ docker stop --time=1 0810cce01fada49c755fc5e4e3fc4d2111387e3c107d59fa8955d22d97b5fe58 [2022-10-27T14:39:19.352Z] $ docker rm -f 0810cce01fada49c755fc5e4e3fc4d2111387e3c107d59fa8955d22d97b5fe58 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-27T14:39:20.301Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-27T14:39:20.321Z] Warning: overwriting stash ‘coverage-report’ [2022-10-27T14:39:20.811Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-27T14:39:21.164Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-27T14:39:21.490Z] + ls -al . [2022-10-27T14:39:21.490Z] total 240 [2022-10-27T14:39:21.490Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 14:36 . [2022-10-27T14:39:21.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:34 .. [2022-10-27T14:39:21.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 14:34 .git [2022-10-27T14:39:21.490Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 14:34 .github [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 27 14:34 .gitignore [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 14:34 .golangci.yml [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 27 14:34 Attribution.txt [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 27 14:34 CHANGELOG.md [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 27 14:34 Dockerfile [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 14:34 GOVERNANCE.md [2022-10-27T14:39:21.490Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 27 14:34 Jenkinsfile [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 27 14:34 LICENSE [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 27 14:34 Makefile [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 27 14:34 OWNERS.md [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 27 14:34 README.md [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 14:32 VERSION [2022-10-27T14:39:21.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 14:34 bin [2022-10-27T14:39:21.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 14:34 cmd [2022-10-27T14:39:21.491Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 27 14:38 coverage.out [2022-10-27T14:39:21.491Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 14:34 doc [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 27 14:34 go.mod [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 27 14:34 go.sum [2022-10-27T14:39:21.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:34 internal [2022-10-27T14:39:21.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 14:34 snap [2022-10-27T14:39:21.491Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 27 14:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:39:21.825Z] + 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=bdd67670d448a47841b98ba119feb6107cdfa9ba --label arch=arm64 --label version=0.0.0 . [2022-10-27T14:39:22.409Z] Sending build context to Docker daemon 20.52MB [2022-10-27T14:39:22.409Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-27T14:39:22.409Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-27T14:39:22.409Z] ---> 75c781ce560f [2022-10-27T14:39:22.409Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-27T14:39:22.992Z] ---> Running in 54fc0e73f140 [2022-10-27T14:39:23.259Z] Removing intermediate container 54fc0e73f140 [2022-10-27T14:39:23.259Z] ---> 839697b5de52 [2022-10-27T14:39:23.259Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-27T14:39:23.259Z] ---> Running in 995de60ecc3b [2022-10-27T14:39:23.525Z] Removing intermediate container 995de60ecc3b [2022-10-27T14:39:23.525Z] ---> 0be2cd53fd20 [2022-10-27T14:39:23.525Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-27T14:39:23.793Z] ---> Running in e421dab96462 [2022-10-27T14:39:24.061Z] Removing intermediate container e421dab96462 [2022-10-27T14:39:24.061Z] ---> c4a41d1fab97 [2022-10-27T14:39:24.061Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-27T14:39:24.061Z] ---> Running in 6ae4572bb546 [2022-10-27T14:39:24.330Z] Removing intermediate container 6ae4572bb546 [2022-10-27T14:39:24.330Z] ---> 29de383980f2 [2022-10-27T14:39:24.330Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-27T14:39:24.330Z] ---> Running in edfc998c40e9 [2022-10-27T14:39:24.919Z] Removing intermediate container edfc998c40e9 [2022-10-27T14:39:24.919Z] ---> 86d4e9f5386c [2022-10-27T14:39:24.919Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-27T14:39:24.919Z] ---> Running in 18d6313e3c6a [2022-10-27T14:39:25.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T14:39:26.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T14:39:27.114Z] OK: 221 MiB in 51 packages [2022-10-27T14:39:28.078Z] Removing intermediate container 18d6313e3c6a [2022-10-27T14:39:28.078Z] ---> 3006061e03d4 [2022-10-27T14:39:28.078Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-27T14:39:28.078Z] ---> Running in de130cd2b343 [2022-10-27T14:39:28.347Z] Removing intermediate container de130cd2b343 [2022-10-27T14:39:28.347Z] ---> 6d436bc91482 [2022-10-27T14:39:28.347Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-27T14:39:30.948Z] ---> 93ee0cd17cb0 [2022-10-27T14:39:30.948Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-27T14:39:30.948Z] ---> Running in f2f5f18d11c4 [2022-10-27T14:39:32.903Z] Removing intermediate container f2f5f18d11c4 [2022-10-27T14:39:32.903Z] ---> 3864f88ee4a4 [2022-10-27T14:39:32.903Z] Step 12/26 : COPY . . [2022-10-27T14:39:35.493Z] ---> 9c8e9d4057b6 [2022-10-27T14:39:35.493Z] Step 13/26 : RUN ${MAKE} [2022-10-27T14:39:35.493Z] ---> Running in a7cb9ef4018d [2022-10-27T14:39:36.456Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-27T14:41:58.191Z] Removing intermediate container a7cb9ef4018d [2022-10-27T14:41:58.192Z] ---> 7d2d2938e564 [2022-10-27T14:41:58.192Z] Step 14/26 : FROM alpine:3.16 [2022-10-27T14:41:58.192Z] 3.16: Pulling from library/alpine [2022-10-27T14:41:58.192Z] 9b18e9b68314: Already exists [2022-10-27T14:41:58.192Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-27T14:41:58.192Z] Status: Downloaded newer image for alpine:3.16 [2022-10-27T14:41:58.192Z] ---> a6215f271958 [2022-10-27T14:41:58.192Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-27T14:41:58.192Z] ---> Running in d8d60c358524 [2022-10-27T14:41:58.460Z] Removing intermediate container d8d60c358524 [2022-10-27T14:41:58.460Z] ---> 04f161d3cc26 [2022-10-27T14:41:58.460Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-27T14:41:58.460Z] ---> Running in 029d0e5b7bfb [2022-10-27T14:41:59.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-27T14:41:59.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-27T14:42:00.645Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-27T14:42:00.645Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-27T14:42:00.645Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-27T14:42:00.645Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-27T14:42:00.645Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-27T14:42:00.645Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-27T14:42:00.645Z] Executing busybox-1.35.0-r17.trigger [2022-10-27T14:42:00.645Z] OK: 8 MiB in 20 packages [2022-10-27T14:42:03.228Z] Removing intermediate container 029d0e5b7bfb [2022-10-27T14:42:03.228Z] ---> cac29c428ff3 [2022-10-27T14:42:03.228Z] Step 17/26 : WORKDIR / [2022-10-27T14:42:03.228Z] ---> Running in b25ada8ad01b [2022-10-27T14:42:03.496Z] Removing intermediate container b25ada8ad01b [2022-10-27T14:42:03.496Z] ---> 6e073b29ca8e [2022-10-27T14:42:03.496Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-27T14:42:04.901Z] ---> b6540e8529cf [2022-10-27T14:42:04.901Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-27T14:42:05.484Z] ---> e06781761d13 [2022-10-27T14:42:05.484Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-27T14:42:05.752Z] ---> 3df74f3142b0 [2022-10-27T14:42:05.752Z] Step 21/26 : EXPOSE 59984 [2022-10-27T14:42:06.018Z] ---> Running in eceaf46045ee [2022-10-27T14:42:06.018Z] Removing intermediate container eceaf46045ee [2022-10-27T14:42:06.018Z] ---> ce434b427f0e [2022-10-27T14:42:06.018Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-27T14:42:06.285Z] ---> Running in 5aba951aa068 [2022-10-27T14:42:06.551Z] Removing intermediate container 5aba951aa068 [2022-10-27T14:42:06.551Z] ---> e772e744aa05 [2022-10-27T14:42:06.551Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-27T14:42:06.551Z] ---> Running in 4ce71f29d5b6 [2022-10-27T14:42:06.869Z] Removing intermediate container 4ce71f29d5b6 [2022-10-27T14:42:06.869Z] ---> 7608767fe891 [2022-10-27T14:42:06.869Z] Step 24/26 : LABEL arch=arm64 [2022-10-27T14:42:06.869Z] ---> Running in 48b0fc521165 [2022-10-27T14:42:07.158Z] Removing intermediate container 48b0fc521165 [2022-10-27T14:42:07.158Z] ---> fb415ba861fd [2022-10-27T14:42:07.158Z] Step 25/26 : LABEL git_sha=bdd67670d448a47841b98ba119feb6107cdfa9ba [2022-10-27T14:42:07.427Z] ---> Running in 910b0af75ea3 [2022-10-27T14:42:07.695Z] Removing intermediate container 910b0af75ea3 [2022-10-27T14:42:07.695Z] ---> 7b47ea779338 [2022-10-27T14:42:07.695Z] Step 26/26 : LABEL version=0.0.0 [2022-10-27T14:42:07.695Z] ---> Running in 3a05e1bae861 [2022-10-27T14:42:07.969Z] Removing intermediate container 3a05e1bae861 [2022-10-27T14:42:07.969Z] ---> 2857ac3abecc [2022-10-27T14:42:07.969Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-27T14:42:07.969Z] Successfully built 2857ac3abecc [2022-10-27T14:42:07.969Z] 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-27T14:42:08.394Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T14:42:08.394Z] [2022-10-27T14:42:08.394Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:42:08.737Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T14:42:08.737Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-27T14:42:08.737Z] 8998bd30e6a1: Pulling fs layer [2022-10-27T14:42:08.737Z] 04944245beec: Pulling fs layer [2022-10-27T14:42:08.737Z] 699f458cf7ca: Pulling fs layer [2022-10-27T14:42:08.737Z] 765212b225bb: Pulling fs layer [2022-10-27T14:42:08.737Z] f23df028b6ca: Pulling fs layer [2022-10-27T14:42:08.737Z] d65c8cfc05b1: Pulling fs layer [2022-10-27T14:42:08.737Z] 2437ff75d9bd: Pulling fs layer [2022-10-27T14:42:08.737Z] 765212b225bb: Waiting [2022-10-27T14:42:08.737Z] f23df028b6ca: Waiting [2022-10-27T14:42:08.737Z] d65c8cfc05b1: Waiting [2022-10-27T14:42:08.737Z] 2437ff75d9bd: Waiting [2022-10-27T14:42:09.023Z] 04944245beec: Verifying Checksum [2022-10-27T14:42:09.023Z] 04944245beec: Download complete [2022-10-27T14:42:09.023Z] 765212b225bb: Verifying Checksum [2022-10-27T14:42:09.023Z] 765212b225bb: Download complete [2022-10-27T14:42:09.023Z] f23df028b6ca: Verifying Checksum [2022-10-27T14:42:09.023Z] f23df028b6ca: Download complete [2022-10-27T14:42:09.023Z] d65c8cfc05b1: Verifying Checksum [2022-10-27T14:42:09.023Z] d65c8cfc05b1: Download complete [2022-10-27T14:42:09.023Z] 699f458cf7ca: Verifying Checksum [2022-10-27T14:42:09.023Z] 699f458cf7ca: Download complete [2022-10-27T14:42:09.643Z] 8998bd30e6a1: Verifying Checksum [2022-10-27T14:42:09.643Z] 8998bd30e6a1: Download complete [2022-10-27T14:42:12.260Z] 2437ff75d9bd: Verifying Checksum [2022-10-27T14:42:12.260Z] 2437ff75d9bd: Download complete [2022-10-27T14:42:13.676Z] 8998bd30e6a1: Pull complete [2022-10-27T14:42:13.945Z] 04944245beec: Pull complete [2022-10-27T14:42:15.361Z] 699f458cf7ca: Pull complete [2022-10-27T14:42:15.627Z] 765212b225bb: Pull complete [2022-10-27T14:42:16.209Z] f23df028b6ca: Pull complete [2022-10-27T14:42:16.477Z] d65c8cfc05b1: Pull complete [2022-10-27T14:42:31.451Z] 2437ff75d9bd: Pull complete [2022-10-27T14:42:31.451Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-27T14:42:31.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-27T14:42:31.451Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:42:31.619Z] prd-ubuntu20.04-docker-arm64-4c-16g-117455 does not seem to be running inside a container [2022-10-27T14:42:31.680Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-27T14:42:34.340Z] $ docker top 0f30738944dff1fa6c54f3f00c56aab6450997b27bb550a22c6c0ba816606705 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:35.169Z] ---> job-cost.sh [2022-10-27T14:42:35.169Z] lf-activate-venv: SKIPPING [2022-10-27T14:42:35.169Z] INFO: No Stack... [2022-10-27T14:42:35.751Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-27T14:42:36.702Z] INFO: Archiving Costs [Pipeline] sh [2022-10-27T14:42:37.015Z] + cut -d, -f6 [2022-10-27T14:42:37.015Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-10-27T14:42:37.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [2022-10-27T14:42:37.081Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] did not exist. Created. [2022-10-27T14:42:37.081Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-27T14:42:37.411Z] /w/workspace/device-onvif-camera/7@tmp/durable-c7fca5da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-27T14:42:37.740Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-27T14:42:37.763Z] Warning: overwriting stash ‘stack-cost’ [2022-10-27T14:42:37.818Z] Stashed 1 file(s) [Pipeline] } [2022-10-27T14:42:37.828Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-27T14:42:37.841Z] $ docker stop --time=1 0f30738944dff1fa6c54f3f00c56aab6450997b27bb550a22c6c0ba816606705 [2022-10-27T14:42:39.300Z] $ docker rm -f 0f30738944dff1fa6c54f3f00c56aab6450997b27bb550a22c6c0ba816606705 [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-27T14:42:39.683Z] provisioning config files... [2022-10-27T14:42:39.690Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config2272140492932742895tmp [Pipeline] { [Pipeline] sh [2022-10-27T14:42:39.975Z] + set +x [2022-10-27T14:42:39.975Z] + curl -s https://codecov.io/bash [2022-10-27T14:42:39.975Z] + bash -s -- [2022-10-27T14:42:39.975Z] [2022-10-27T14:42:39.975Z] _____ _ [2022-10-27T14:42:39.975Z] / ____| | | [2022-10-27T14:42:39.975Z] | | ___ __| | ___ ___ _____ __ [2022-10-27T14:42:39.975Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-27T14:42:39.975Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-27T14:42:39.975Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-27T14:42:39.975Z] Bash-1.0.6 [2022-10-27T14:42:39.975Z] [2022-10-27T14:42:39.975Z] [2022-10-27T14:42:39.975Z] ==> git version 2.25.1 found [2022-10-27T14:42:39.975Z] ==> 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-27T14:42:39.975Z] Release-Date: 2020-01-08 [2022-10-27T14:42:39.975Z] 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-27T14:42:39.975Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-27T14:42:39.975Z] ==> Jenkins CI detected. [2022-10-27T14:42:39.975Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-182 [2022-10-27T14:42:39.975Z] project root: . [2022-10-27T14:42:39.975Z] --> token set from env [2022-10-27T14:42:39.975Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-27T14:42:39.975Z] ==> Running gcov in . (disable via -X gcov) [2022-10-27T14:42:39.975Z] ==> Python coveragepy not found [2022-10-27T14:42:39.975Z] ==> Searching for coverage reports in: [2022-10-27T14:42:39.975Z] + . [2022-10-27T14:42:39.975Z] -> Found 1 reports [2022-10-27T14:42:39.975Z] ==> Detecting git/mercurial file structure [2022-10-27T14:42:40.233Z] ==> Reading reports [2022-10-27T14:42:40.233Z] + ./coverage.out bytes=79184 [2022-10-27T14:42:40.233Z] ==> Appending adjustments [2022-10-27T14:42:40.233Z] https://docs.codecov.io/docs/fixing-reports [2022-10-27T14:42:40.233Z] + Found adjustments [2022-10-27T14:42:40.233Z] ==> Gzipping contents [2022-10-27T14:42:40.233Z] 12K /tmp/codecov.mf4NYz.gz [2022-10-27T14:42:40.233Z] ==> Uploading reports [2022-10-27T14:42:40.233Z] url: https://codecov.io [2022-10-27T14:42:40.233Z] query: branch=PR-182&commit=c07bbc2b67b6aea0de87f688f7f348999bda3c4b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-27T14:42:40.233Z] -> Pinging Codecov [2022-10-27T14:42:40.233Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-182&commit=c07bbc2b67b6aea0de87f688f7f348999bda3c4b&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-10-27T14:42:40.491Z] -> Uploading to [2022-10-27T14:42:40.491Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-27/F29A59C45E3A92E06B3E522C9905F8EF/c07bbc2b67b6aea0de87f688f7f348999bda3c4b/c24f07a0-2c79-447e-8a71-51b01b43ecf0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221027T144240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d6406febfc465f0b8b12e7b0a1c53258944137e74970ad1769aac109b0d9f12 [2022-10-27T14:42:40.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-27T14:42:40.491Z] Dload Upload Total Spent Left Speed [2022-10-27T14:42:40.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10855 0 0 100 10855 0 40655 --:--:-- --:--:-- --:--:-- 40655 [2022-10-27T14:42:40.749Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c07bbc2b67b6aea0de87f688f7f348999bda3c4b [Pipeline] } [2022-10-27T14:42:40.755Z] 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-27T14:42:41.452Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] [2022-10-27T14:42:41.452Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T14:42:41.452Z] total 16 [2022-10-27T14:42:41.452Z] drwxr-xr-x 3 root root 4096 Oct 27 14:34 . [2022-10-27T14:42:41.452Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 14:34 .. [2022-10-27T14:42:41.452Z] drwxr-xr-x 2 root root 4096 Oct 27 14:34 cost [2022-10-27T14:42:41.452Z] -rw-r--r-- 1 root root 91 Oct 27 14:34 cost.csv [2022-10-27T14:42:41.452Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T14:42:41.452Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives [2022-10-27T14:42:41.452Z] total 16 [2022-10-27T14:42:41.452Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 14:34 . [2022-10-27T14:42:41.452Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 14:34 .. [2022-10-27T14:42:41.452Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 14:34 cost [2022-10-27T14:42:41.452Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 27 14:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:41.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:42.598Z] ---> package-listing.sh [2022-10-27T14:42:42.598Z] ++ facter osfamily [2022-10-27T14:42:42.598Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-27T14:42:42.857Z] + OS_FAMILY=debian [2022-10-27T14:42:42.857Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-182 [2022-10-27T14:42:42.857Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-27T14:42:42.857Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-27T14:42:42.857Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-27T14:42:42.857Z] + PACKAGES=/tmp/packages_start.txt [2022-10-27T14:42:42.857Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-27T14:42:42.857Z] + PACKAGES=/tmp/packages_end.txt [2022-10-27T14:42:42.857Z] + case "${OS_FAMILY}" in [2022-10-27T14:42:42.857Z] + dpkg -l [2022-10-27T14:42:42.857Z] + grep '^ii' [2022-10-27T14:42:42.857Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-27T14:42:42.857Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-27T14:42:42.857Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-27T14:42:42.857Z] + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' [2022-10-27T14:42:42.857Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ [2022-10-27T14:42:42.857Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-182/archives/ [Pipeline] echo [2022-10-27T14:42:42.867Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-27T14:42:43.144Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-27T14:42:43.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-27T14:42:43.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-27T14:42:43.502Z] prd-ubuntu20.04-docker-8c-8g-117454 does not seem to be running inside a container [2022-10-27T14:42:43.534Z] $ 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-182/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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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-27T14:42:43.767Z] $ docker top 9a694b923264eb2aeddefcb6e7fd265a122b1bea1aa25c4e264d8480b780ad3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-27T14:42:44.107Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-27T14:42:44.393Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-27T14:42:44.680Z] + ls /var/log/sa-host [2022-10-27T14:42:44.680Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-27T14:42:44.856Z] provisioning config files... [2022-10-27T14:42:44.865Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config6454128431773362096tmp [Pipeline] { [Pipeline] echo [2022-10-27T14:42:44.875Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:45.160Z] ---> create-netrc.sh [Pipeline] } [2022-10-27T14:42:45.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:45.525Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-27T14:42:45.537Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:45.821Z] ---> sudo-logs.sh [2022-10-27T14:42:45.821Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-27T14:42:45.850Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:46.131Z] ---> job-cost.sh [2022-10-27T14:42:46.132Z] lf-activate-venv: SKIPPING [2022-10-27T14:42:46.132Z] DEBUG: total: 0.2199999988079071 [2022-10-27T14:42:46.132Z] INFO: Retrieving Stack Cost... [2022-10-27T14:42:46.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-27T14:42:47.269Z] INFO: Archiving Costs [Pipeline] echo [2022-10-27T14:42:47.282Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-27T14:42:47.566Z] ---> logs-deploy.sh [2022-10-27T14:42:47.567Z] lf-activate-venv: SKIPPING [2022-10-27T14:42:47.567Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/7 [2022-10-27T14:42:47.567Z] INFO: archiving workspace using pattern(s): [2022-10-27T14:42:48.504Z] Archives upload complete. [2022-10-27T14:42:48.764Z] INFO: archiving logs to Nexus [2022-10-27T14:42:49.330Z] ---> uname -a: [2022-10-27T14:42:49.330Z] Linux prd-ubuntu20-04-docker-8c-8g-117454 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] ---> lscpu: [2022-10-27T14:42:49.330Z] Architecture: x86_64 [2022-10-27T14:42:49.330Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-27T14:42:49.330Z] Byte Order: Little Endian [2022-10-27T14:42:49.330Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-27T14:42:49.330Z] CPU(s): 8 [2022-10-27T14:42:49.330Z] On-line CPU(s) list: 0-7 [2022-10-27T14:42:49.330Z] Thread(s) per core: 1 [2022-10-27T14:42:49.330Z] Core(s) per socket: 1 [2022-10-27T14:42:49.330Z] Socket(s): 8 [2022-10-27T14:42:49.330Z] NUMA node(s): 1 [2022-10-27T14:42:49.330Z] Vendor ID: AuthenticAMD [2022-10-27T14:42:49.330Z] CPU family: 23 [2022-10-27T14:42:49.330Z] Model: 49 [2022-10-27T14:42:49.330Z] Model name: AMD EPYC-Rome Processor [2022-10-27T14:42:49.330Z] Stepping: 0 [2022-10-27T14:42:49.330Z] CPU MHz: 2799.998 [2022-10-27T14:42:49.330Z] BogoMIPS: 5599.99 [2022-10-27T14:42:49.330Z] Virtualization: AMD-V [2022-10-27T14:42:49.330Z] Hypervisor vendor: KVM [2022-10-27T14:42:49.330Z] Virtualization type: full [2022-10-27T14:42:49.330Z] L1d cache: 256 KiB [2022-10-27T14:42:49.330Z] L1i cache: 256 KiB [2022-10-27T14:42:49.330Z] L2 cache: 4 MiB [2022-10-27T14:42:49.330Z] L3 cache: 128 MiB [2022-10-27T14:42:49.330Z] NUMA node0 CPU(s): 0-7 [2022-10-27T14:42:49.330Z] Vulnerability Itlb multihit: Not affected [2022-10-27T14:42:49.330Z] Vulnerability L1tf: Not affected [2022-10-27T14:42:49.330Z] Vulnerability Mds: Not affected [2022-10-27T14:42:49.330Z] Vulnerability Meltdown: Not affected [2022-10-27T14:42:49.330Z] Vulnerability Mmio stale data: Not affected [2022-10-27T14:42:49.330Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-27T14:42:49.330Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-27T14:42:49.330Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-27T14:42:49.330Z] Vulnerability Srbds: Not affected [2022-10-27T14:42:49.330Z] Vulnerability Tsx async abort: Not affected [2022-10-27T14:42:49.330Z] 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-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] ---> nproc: [2022-10-27T14:42:49.330Z] 8 [2022-10-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] [2022-10-27T14:42:49.330Z] ---> df -h: [2022-10-27T14:42:49.330Z] Filesystem Size Used Avail Use% Mounted on [2022-10-27T14:42:49.330Z] overlay 155G 12G 144G 8% / [2022-10-27T14:42:49.330Z] tmpfs 64M 0 64M 0% /dev [2022-10-27T14:42:49.330Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-27T14:42:49.330Z] shm 64M 0 64M 0% /dev/shm [2022-10-27T14:42:49.331Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-27T14:42:49.331Z] [2022-10-27T14:42:49.331Z]