Pull request #172 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 edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh2037459685554409950.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5750207390619946780.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10111801709150014739.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh17541736130862123808.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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16816299309658749427.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 ‘prd-ubuntu20.04-docker-8c-8g-7333’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7335 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # 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/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 Merge succeeded, producing b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 Checking out Revision b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 (PR-172) Commit message: "fix discovery mode netscan when using docker-compose" > git config core.sparsecheckout # timeout=10 > git checkout -f b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 # timeout=10 > git rev-list --no-walk ca837fe545fbfa1313c6f31ccf1912afdfef5133 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-07T11:26:22.914Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T11:26:22.968Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T11:26:22.984Z] ========================================================= [2022-10-07T11:26:22.984Z] EdgeX Global Pipelines Version Info [2022-10-07T11:26:22.984Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:26:23.696Z] ------------------- [2022-10-07T11:26:23.696Z] stable info: [2022-10-07T11:26:23.696Z] ------------------- [2022-10-07T11:26:23.696Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T11:26:23.696Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T11:26:23.696Z] Message: update stable to v1.0.239 [2022-10-07T11:26:24.275Z] ------------------- [2022-10-07T11:26:24.276Z] experimental info: [2022-10-07T11:26:24.276Z] ------------------- [2022-10-07T11:26:24.276Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T11:26:24.276Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T11:26:24.276Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T11:26:24.471Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-07T11:26:24.482Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-07T11:26:24.498Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T11:26:24.515Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T11:26:24.531Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T11:26:24.540Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T11:26:24.551Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T11:26:24.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T11:26:24.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T11:26:24.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T11:26:24.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T11:26:24.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-07T11:26:24.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T11:26:24.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T11:26:24.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T11:26:24.661Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T11:26:24.675Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T11:26:24.689Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T11:26:24.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T11:26:24.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T11:26:24.729Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-07T11:26:24.739Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-07T11:26:24.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T11:26:24.761Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T11:26:24.773Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T11:26:24.784Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T11:26:24.795Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T11:26:24.805Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-07T11:26:24.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-07T11:26:24.828Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-07T11:26:24.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [Pipeline] echo [2022-10-07T11:26:24.850Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5e49bb [Pipeline] echo [2022-10-07T11:26:24.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:26:24.909Z] provisioning config files... [2022-10-07T11:26:24.925Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config6664340091403928167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:26:25.226Z] ---> docker-login.sh [2022-10-07T11:26:25.226Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:26:25.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:25.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:25.486Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:25.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:25.486Z] [2022-10-07T11:26:25.486Z] Login Succeeded [2022-10-07T11:26:25.486Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:26:25.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:25.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:25.746Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:25.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:25.746Z] [2022-10-07T11:26:25.746Z] Login Succeeded [2022-10-07T11:26:25.746Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:26:25.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:25.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:25.746Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:25.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:25.746Z] [2022-10-07T11:26:25.746Z] Login Succeeded [2022-10-07T11:26:25.746Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:26:26.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:26.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:26.006Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:26.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:26.006Z] [2022-10-07T11:26:26.006Z] Login Succeeded [2022-10-07T11:26:26.006Z] docker.io [2022-10-07T11:26:26.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:26.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:26.267Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:26.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:26.267Z] [2022-10-07T11:26:26.267Z] Login Succeeded [2022-10-07T11:26:26.267Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:26:26.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T11:26:26.650Z] + git rev-list -1 --merges b5e49bb016232d46f5021f1cfaf7a7d0d7c79873~1..b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [Pipeline] echo [2022-10-07T11:26:26.678Z] -----------> git rev-list -1 --merges b5e49bb016232d46f5021f1cfaf7a7d0d7c79873~1..b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [false] [Pipeline] sh [2022-10-07T11:26:26.967Z] + git log --format=format:%s -1 b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [Pipeline] echo [2022-10-07T11:26:26.981Z] ========================================================= [2022-10-07T11:26:26.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T11:26:26.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:26:27.310Z] + git log --format=format:%s -1 b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [Pipeline] echo [2022-10-07T11:26:27.324Z] [semverPrep] GIT_COMMIT: b5e49bb016232d46f5021f1cfaf7a7d0d7c79873, Commit Message: fix discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-07T11:26:27.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T11:26:27.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T11:26:27.675Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T11:26:27.675Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T11:26:27.675Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T11:26:27.675Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T11:26:27.675Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T11:26:27.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:26:28.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:26:28.027Z] [2022-10-07T11:26:28.027Z] 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-07T11:26:28.329Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:26:28.329Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T11:26:28.329Z] b85a868b505f: Pulling fs layer [2022-10-07T11:26:28.329Z] e2be974225ed: Pulling fs layer [2022-10-07T11:26:28.329Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T11:26:28.329Z] 988bab9f4d93: Pulling fs layer [2022-10-07T11:26:28.329Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T11:26:28.329Z] eaf3925da568: Pulling fs layer [2022-10-07T11:26:28.330Z] bab4dde63d76: Pulling fs layer [2022-10-07T11:26:28.330Z] bde34c3a00c8: Pulling fs layer [2022-10-07T11:26:28.330Z] b352a97aabf1: Pulling fs layer [2022-10-07T11:26:28.330Z] 4872d77fe225: Pulling fs layer [2022-10-07T11:26:28.330Z] 988bab9f4d93: Waiting [2022-10-07T11:26:28.330Z] 5851b861e8e6: Pulling fs layer [2022-10-07T11:26:28.330Z] 1469e6f7b9e6: Waiting [2022-10-07T11:26:28.330Z] bde34c3a00c8: Waiting [2022-10-07T11:26:28.330Z] b352a97aabf1: Waiting [2022-10-07T11:26:28.330Z] 4872d77fe225: Waiting [2022-10-07T11:26:28.330Z] eaf3925da568: Waiting [2022-10-07T11:26:28.330Z] 5851b861e8e6: Waiting [2022-10-07T11:26:28.330Z] bab4dde63d76: Waiting [2022-10-07T11:26:28.330Z] e2be974225ed: Download complete [2022-10-07T11:26:28.330Z] 988bab9f4d93: Download complete [2022-10-07T11:26:28.590Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T11:26:28.590Z] 339a4e72a1f5: Download complete [2022-10-07T11:26:28.590Z] eaf3925da568: Verifying Checksum [2022-10-07T11:26:28.590Z] eaf3925da568: Download complete [2022-10-07T11:26:28.590Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T11:26:28.590Z] 1469e6f7b9e6: Download complete [2022-10-07T11:26:28.590Z] bde34c3a00c8: Download complete [2022-10-07T11:26:28.590Z] b352a97aabf1: Verifying Checksum [2022-10-07T11:26:28.590Z] b352a97aabf1: Download complete [2022-10-07T11:26:28.590Z] 4872d77fe225: Verifying Checksum [2022-10-07T11:26:28.590Z] 4872d77fe225: Download complete [2022-10-07T11:26:28.590Z] 5851b861e8e6: Verifying Checksum [2022-10-07T11:26:28.590Z] 5851b861e8e6: Download complete [2022-10-07T11:26:28.590Z] b85a868b505f: Verifying Checksum [2022-10-07T11:26:28.590Z] b85a868b505f: Download complete [2022-10-07T11:26:29.159Z] bab4dde63d76: Verifying Checksum [2022-10-07T11:26:29.159Z] bab4dde63d76: Download complete [2022-10-07T11:26:30.099Z] b85a868b505f: Pull complete [2022-10-07T11:26:30.099Z] e2be974225ed: Pull complete [2022-10-07T11:26:30.668Z] 339a4e72a1f5: Pull complete [2022-10-07T11:26:30.668Z] 988bab9f4d93: Pull complete [2022-10-07T11:26:30.928Z] 1469e6f7b9e6: Pull complete [2022-10-07T11:26:30.928Z] eaf3925da568: Pull complete [2022-10-07T11:26:32.830Z] bab4dde63d76: Pull complete [2022-10-07T11:26:32.830Z] bde34c3a00c8: Pull complete [2022-10-07T11:26:33.089Z] b352a97aabf1: Pull complete [2022-10-07T11:26:33.089Z] 4872d77fe225: Pull complete [2022-10-07T11:26:33.089Z] 5851b861e8e6: Pull complete [2022-10-07T11:26:33.089Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T11:26:33.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:26:33.089Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:26:33.170Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2022-10-07T11:26:33.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-07T11:26:34.699Z] $ docker top 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 -eo pid,comm [2022-10-07T11:26:34.756Z] 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-07T11:26:34.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T11:26:34.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T11:26:34.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T11:26:34.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T11:26:34.895Z] $ docker exec 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 ssh-agent [2022-10-07T11:26:35.009Z] SSH_AUTH_SOCK=/tmp/ssh-f2jU5Qv9NU8S/agent.32 [2022-10-07T11:26:35.009Z] SSH_AGENT_PID=38 [2022-10-07T11:26:35.017Z] Running ssh-add (command line suppressed) [2022-10-07T11:26:35.120Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9497830874336771012.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_9497830874336771012.key) [2022-10-07T11:26:35.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T11:26:35.426Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T11:26:35.439Z] $ docker exec --env ******** --env ******** 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 ssh-agent -k [2022-10-07T11:26:35.549Z] unset SSH_AUTH_SOCK; [2022-10-07T11:26:35.549Z] unset SSH_AGENT_PID; [2022-10-07T11:26:35.549Z] echo Agent pid 38 killed; [2022-10-07T11:26:35.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T11:26:35.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T11:26:35.588Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T11:26:35.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T11:26:35.700Z] $ docker exec 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 ssh-agent [2022-10-07T11:26:35.817Z] SSH_AUTH_SOCK=/tmp/ssh-nTVaUzdPdOUE/agent.70 [2022-10-07T11:26:35.817Z] SSH_AGENT_PID=76 [2022-10-07T11:26:35.821Z] Running ssh-add (command line suppressed) [2022-10-07T11:26:35.920Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8484931049135399080.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_8484931049135399080.key) [2022-10-07T11:26:35.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T11:26:36.226Z] + git semver init [2022-10-07T11:26:36.486Z] 2022-10-07 11:26:36,391 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T11:26:36.486Z] 2022-10-07 11:26:36,392 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T11:26:36.486Z] 2022-10-07 11:26:36,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T11:26:36.486Z] 2022-10-07 11:26:36,392 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,321 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,322 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,326 [execute] INFO git cat-file --batch-check [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,334 [execute] INFO git cat-file --batch [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T11:26:37.426Z] 2022-10-07 11:26:37,341 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T11:26:37.426Z] 0.0.0 [Pipeline] } [2022-10-07T11:26:37.433Z] $ docker exec --env ******** --env ******** 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 ssh-agent -k [2022-10-07T11:26:37.536Z] unset SSH_AUTH_SOCK; [2022-10-07T11:26:37.536Z] unset SSH_AGENT_PID; [2022-10-07T11:26:37.537Z] echo Agent pid 76 killed; [2022-10-07T11:26:37.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T11:26:37.855Z] + git semver [Pipeline] } [2022-10-07T11:26:38.126Z] $ docker stop --time=1 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 [2022-10-07T11:26:39.538Z] $ docker rm -f 2e8415ebc0198b98b3553acbe8b1fcd7f52a8b29410167c1eccdde630b5e1a30 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:26:39.883Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T11:26:40.059Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T11:26:40.061Z] [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-07T11:26:40.199Z] provisioning config files... [2022-10-07T11:26:40.208Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config9991626245794343954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:26:40.505Z] ---> docker-login.sh [2022-10-07T11:26:40.505Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:26:40.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:40.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:40.505Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:40.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:40.505Z] [2022-10-07T11:26:40.505Z] Login Succeeded [2022-10-07T11:26:40.505Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:26:40.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:40.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:40.505Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:40.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:40.505Z] [2022-10-07T11:26:40.505Z] Login Succeeded [2022-10-07T11:26:40.505Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:26:40.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:40.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:40.764Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:40.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:40.764Z] [2022-10-07T11:26:40.764Z] Login Succeeded [2022-10-07T11:26:40.764Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:26:40.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:40.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:40.764Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:40.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:40.764Z] [2022-10-07T11:26:41.024Z] Login Succeeded [2022-10-07T11:26:41.024Z] docker.io [2022-10-07T11:26:41.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:26:41.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:26:41.282Z] Configure a credential helper to remove this warning. See [2022-10-07T11:26:41.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:26:41.282Z] [2022-10-07T11:26:41.282Z] Login Succeeded [2022-10-07T11:26:41.282Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:26:41.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T11:26:41.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:26:41.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:26:41.368Z] ========================================================= [2022-10-07T11:26:41.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T11:26:41.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:26:41.670Z] + 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-07T11:26:41.670Z] Sending build context to Docker daemon 20.8MB [2022-10-07T11:26:41.670Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:26:41.670Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T11:26:41.932Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T11:26:41.932Z] 2408cc74d12b: Pulling fs layer [2022-10-07T11:26:41.932Z] ea60b727a1ce: Pulling fs layer [2022-10-07T11:26:41.932Z] 30c4a7721957: Pulling fs layer [2022-10-07T11:26:41.932Z] 370296b7ddb6: Pulling fs layer [2022-10-07T11:26:41.932Z] 7c6cee850709: Pulling fs layer [2022-10-07T11:26:41.932Z] aa9baa53a306: Pulling fs layer [2022-10-07T11:26:41.932Z] 8b309c321861: Pulling fs layer [2022-10-07T11:26:41.932Z] d8d76fd02f46: Pulling fs layer [2022-10-07T11:26:41.932Z] fa31f396de31: Pulling fs layer [2022-10-07T11:26:41.932Z] 370296b7ddb6: Waiting [2022-10-07T11:26:41.932Z] aa9baa53a306: Waiting [2022-10-07T11:26:41.932Z] 8b309c321861: Waiting [2022-10-07T11:26:41.932Z] d8d76fd02f46: Waiting [2022-10-07T11:26:41.932Z] fa31f396de31: Waiting [2022-10-07T11:26:41.932Z] 7c6cee850709: Waiting [2022-10-07T11:26:41.932Z] 30c4a7721957: Verifying Checksum [2022-10-07T11:26:41.932Z] 30c4a7721957: Download complete [2022-10-07T11:26:41.932Z] ea60b727a1ce: Verifying Checksum [2022-10-07T11:26:41.932Z] ea60b727a1ce: Download complete [2022-10-07T11:26:41.932Z] 7c6cee850709: Verifying Checksum [2022-10-07T11:26:41.932Z] 7c6cee850709: Download complete [2022-10-07T11:26:41.932Z] aa9baa53a306: Verifying Checksum [2022-10-07T11:26:41.932Z] aa9baa53a306: Download complete [2022-10-07T11:26:41.932Z] 2408cc74d12b: Verifying Checksum [2022-10-07T11:26:41.932Z] 2408cc74d12b: Download complete [2022-10-07T11:26:41.932Z] 8b309c321861: Download complete [2022-10-07T11:26:41.932Z] 2408cc74d12b: Pull complete [2022-10-07T11:26:42.193Z] ea60b727a1ce: Pull complete [2022-10-07T11:26:42.193Z] 30c4a7721957: Pull complete [2022-10-07T11:26:42.452Z] fa31f396de31: Verifying Checksum [2022-10-07T11:26:42.452Z] fa31f396de31: Download complete [2022-10-07T11:26:42.710Z] 370296b7ddb6: Verifying Checksum [2022-10-07T11:26:42.710Z] 370296b7ddb6: Download complete [2022-10-07T11:26:42.710Z] d8d76fd02f46: Verifying Checksum [2022-10-07T11:26:42.710Z] d8d76fd02f46: Download complete [2022-10-07T11:26:46.919Z] 370296b7ddb6: Pull complete [2022-10-07T11:26:46.919Z] 7c6cee850709: Pull complete [2022-10-07T11:26:46.919Z] aa9baa53a306: Pull complete [2022-10-07T11:26:46.919Z] 8b309c321861: Pull complete [2022-10-07T11:26:49.450Z] d8d76fd02f46: Pull complete [2022-10-07T11:26:50.016Z] fa31f396de31: Pull complete [2022-10-07T11:26:50.016Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T11:26:50.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T11:26:50.016Z] ---> cef68f9685f8 [2022-10-07T11:26:50.016Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:26:51.923Z] ---> Running in f13cc7383988 [2022-10-07T11:26:51.923Z] Removing intermediate container f13cc7383988 [2022-10-07T11:26:51.923Z] ---> f252fd0b66dd [2022-10-07T11:26:51.923Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:26:51.923Z] ---> Running in 34f96cee66b8 [2022-10-07T11:26:52.183Z] Removing intermediate container 34f96cee66b8 [2022-10-07T11:26:52.183Z] ---> c5d5c5ed5fc1 [2022-10-07T11:26:52.183Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:26:52.442Z] ---> Running in c044fd8b40d7 [2022-10-07T11:26:52.442Z] Removing intermediate container c044fd8b40d7 [2022-10-07T11:26:52.442Z] ---> b5a2a9078355 [2022-10-07T11:26:52.442Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:26:52.702Z] ---> Running in 585ddc2431a4 [2022-10-07T11:26:52.702Z] Removing intermediate container 585ddc2431a4 [2022-10-07T11:26:52.702Z] ---> f864d07ab5de [2022-10-07T11:26:52.702Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:26:52.702Z] ---> Running in 5dc5d56673b7 [2022-10-07T11:26:52.961Z] Removing intermediate container 5dc5d56673b7 [2022-10-07T11:26:52.961Z] ---> ac043684e528 [2022-10-07T11:26:52.961Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:26:52.961Z] ---> Running in 47d2815c1104 [2022-10-07T11:26:53.529Z] Removing intermediate container 47d2815c1104 [2022-10-07T11:26:53.529Z] ---> b0f318e6f52b [2022-10-07T11:26:53.529Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:26:53.789Z] ---> Running in ac7ac1fe45ad [2022-10-07T11:26:54.049Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:26:54.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:26:55.162Z] Still waiting to schedule task [2022-10-07T11:26:55.162Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7334’ is offline [2022-10-07T11:26:55.246Z] OK: 211 MiB in 51 packages [2022-10-07T11:26:55.505Z] Removing intermediate container ac7ac1fe45ad [2022-10-07T11:26:55.505Z] ---> 3f4b42966280 [2022-10-07T11:26:55.505Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T11:26:55.505Z] ---> Running in d765161015d8 [2022-10-07T11:26:55.784Z] Removing intermediate container d765161015d8 [2022-10-07T11:26:55.784Z] ---> ab5958a76906 [2022-10-07T11:26:55.784Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T11:26:56.042Z] ---> 30dd4181af0e [2022-10-07T11:26:56.042Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:26:56.042Z] ---> Running in a1e59f71aaa4 [2022-10-07T11:27:14.133Z] Removing intermediate container a1e59f71aaa4 [2022-10-07T11:27:14.133Z] ---> 1195a453c228 [2022-10-07T11:27:14.133Z] Step 13/14 : COPY . . [2022-10-07T11:27:14.133Z] ---> 799626e0824c [2022-10-07T11:27:14.133Z] Step 14/14 : RUN ${MAKE} [2022-10-07T11:27:14.133Z] ---> Running in 2d7201d109f1 [2022-10-07T11:27:14.133Z] noop [2022-10-07T11:27:14.133Z] Removing intermediate container 2d7201d109f1 [2022-10-07T11:27:14.133Z] ---> c3d5783978ed [2022-10-07T11:27:14.133Z] Successfully built c3d5783978ed [2022-10-07T11:27:14.133Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:27:14.444Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T11:27:14.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:27:14.518Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2022-10-07T11:27:14.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-07T11:27:14.927Z] $ docker top 662242ca7acff403d1fa63fdd2d93428bd18fb2d10bb39e5232c6e906c39b6cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:27:15.270Z] + go version [2022-10-07T11:27:15.270Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T11:27:15.281Z] $ docker stop --time=1 662242ca7acff403d1fa63fdd2d93428bd18fb2d10bb39e5232c6e906c39b6cb [2022-10-07T11:27:16.662Z] $ docker rm -f 662242ca7acff403d1fa63fdd2d93428bd18fb2d10bb39e5232c6e906c39b6cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:27:17.048Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T11:27:17.048Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:27:17.116Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2022-10-07T11:27:17.142Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-07T11:27:17.608Z] $ docker top 472a0cf099b1bd2719a5f722059e6ce6d9a19baf18189c8e650fb14de21bd873 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:27:17.954Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-07T11:27:18.248Z] + make test [2022-10-07T11:27:18.248Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T11:27:18.508Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T11:27:30.716Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T11:27:31.652Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-10-07T11:27:31.652Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T11:27:31.652Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.537s coverage: 86.5% of statements [2022-10-07T11:27:39.767Z] 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-07T11:27:39.767Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T11:27:43.955Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T11:27:43.955Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T11:27:43.955Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T11:27:44.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T11:27:44.240Z] $ docker stop --time=1 472a0cf099b1bd2719a5f722059e6ce6d9a19baf18189c8e650fb14de21bd873 [2022-10-07T11:27:46.165Z] $ docker rm -f 472a0cf099b1bd2719a5f722059e6ce6d9a19baf18189c8e650fb14de21bd873 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:27:46.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T11:27:46.735Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T11:27:47.218Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T11:27:47.531Z] + ls -al . [2022-10-07T11:27:47.531Z] total 236 [2022-10-07T11:27:47.531Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 11:27 . [2022-10-07T11:27:47.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:26 .. [2022-10-07T11:27:47.531Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:27 .git [2022-10-07T11:27:47.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:26 .github [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 11:26 .gitignore [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 11:26 .golangci.yml [2022-10-07T11:27:47.531Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:26 .semver [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 11:26 Attribution.txt [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 11:26 CHANGELOG.md [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 11:26 Dockerfile [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:26 GOVERNANCE.md [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 11:26 Jenkinsfile [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 11:26 LICENSE [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 11:26 Makefile [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 11:26 OWNERS.md [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 11:26 README.md [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 11:26 VERSION [2022-10-07T11:27:47.531Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:26 bin [2022-10-07T11:27:47.531Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:26 cmd [2022-10-07T11:27:47.531Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 11:27 coverage.out [2022-10-07T11:27:47.531Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 11:26 doc [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 11:26 go.mod [2022-10-07T11:27:47.531Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 11:26 go.sum [2022-10-07T11:27:47.531Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:26 internal [2022-10-07T11:27:47.532Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:26 snap [2022-10-07T11:27:47.532Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 11:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:27:47.843Z] + 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=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 --label arch=amd64 --label version=0.0.0 . [2022-10-07T11:27:47.843Z] Sending build context to Docker daemon 20.88MB [2022-10-07T11:27:47.843Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:27:47.843Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T11:27:47.843Z] ---> c3d5783978ed [2022-10-07T11:27:47.843Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:27:48.102Z] ---> Running in 7b702c9e0acf [2022-10-07T11:27:48.102Z] Removing intermediate container 7b702c9e0acf [2022-10-07T11:27:48.102Z] ---> eb28ffb087f4 [2022-10-07T11:27:48.102Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:27:48.102Z] ---> Running in 6f62fc8b2090 [2022-10-07T11:27:48.362Z] Removing intermediate container 6f62fc8b2090 [2022-10-07T11:27:48.362Z] ---> 7f41f5a74266 [2022-10-07T11:27:48.362Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:27:48.362Z] ---> Running in fd5feba084cb [2022-10-07T11:27:48.621Z] Removing intermediate container fd5feba084cb [2022-10-07T11:27:48.622Z] ---> 36264dd984e0 [2022-10-07T11:27:48.622Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:27:48.622Z] ---> Running in a64ebf0b34d3 [2022-10-07T11:27:48.622Z] Removing intermediate container a64ebf0b34d3 [2022-10-07T11:27:48.622Z] ---> d2252ceafea2 [2022-10-07T11:27:48.622Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:27:48.622Z] ---> Running in efff2063a1ee [2022-10-07T11:27:48.882Z] Removing intermediate container efff2063a1ee [2022-10-07T11:27:48.882Z] ---> c638dac7e39c [2022-10-07T11:27:48.882Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:27:48.882Z] ---> Running in 0d6e557cfc99 [2022-10-07T11:27:49.450Z] Removing intermediate container 0d6e557cfc99 [2022-10-07T11:27:49.450Z] ---> 1401ab499e9e [2022-10-07T11:27:49.450Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:27:49.450Z] ---> Running in 66b49d8614fb [2022-10-07T11:27:49.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:27:50.646Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:27:50.905Z] OK: 211 MiB in 51 packages [2022-10-07T11:27:51.474Z] Removing intermediate container 66b49d8614fb [2022-10-07T11:27:51.474Z] ---> 2ca7d3743781 [2022-10-07T11:27:51.474Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T11:27:51.474Z] ---> Running in 1ece398e8bcc [2022-10-07T11:27:51.732Z] Removing intermediate container 1ece398e8bcc [2022-10-07T11:27:51.732Z] ---> 3b5bf458194c [2022-10-07T11:27:51.732Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T11:27:51.732Z] ---> a3d0f492cc06 [2022-10-07T11:27:51.732Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:27:51.991Z] ---> Running in 982abf89beb8 [2022-10-07T11:27:52.927Z] Removing intermediate container 982abf89beb8 [2022-10-07T11:27:52.927Z] ---> 3e171b6b44f6 [2022-10-07T11:27:52.927Z] Step 13/27 : COPY . . [2022-10-07T11:27:53.496Z] ---> 99729627ba7e [2022-10-07T11:27:53.496Z] Step 14/27 : RUN ${MAKE} [2022-10-07T11:27:53.496Z] ---> Running in f2fbf928bb3e [2022-10-07T11:27:53.754Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T11:28:15.677Z] Removing intermediate container f2fbf928bb3e [2022-10-07T11:28:15.677Z] ---> 3a9c45f574b6 [2022-10-07T11:28:15.677Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T11:28:15.935Z] 3.16: Pulling from library/alpine [2022-10-07T11:28:16.193Z] 213ec9aee27d: Pulling fs layer [2022-10-07T11:28:16.469Z] 213ec9aee27d: Verifying Checksum [2022-10-07T11:28:16.469Z] 213ec9aee27d: Download complete [2022-10-07T11:28:16.469Z] 213ec9aee27d: Pull complete [2022-10-07T11:28:16.469Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T11:28:16.469Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T11:28:16.469Z] ---> 9c6f07244728 [2022-10-07T11:28:16.469Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T11:28:16.731Z] ---> Running in ca8bf9ca9388 [2022-10-07T11:28:16.990Z] Removing intermediate container ca8bf9ca9388 [2022-10-07T11:28:16.990Z] ---> 175a0c655ba3 [2022-10-07T11:28:16.990Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T11:28:16.990Z] ---> Running in ad592c91f96d [2022-10-07T11:28:17.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:28:17.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:28:17.508Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T11:28:17.508Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T11:28:17.508Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T11:28:17.508Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T11:28:17.771Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T11:28:17.772Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T11:28:17.772Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T11:28:17.772Z] OK: 8 MiB in 20 packages [2022-10-07T11:28:18.341Z] Removing intermediate container ad592c91f96d [2022-10-07T11:28:18.341Z] ---> f368b067da01 [2022-10-07T11:28:18.341Z] Step 18/27 : WORKDIR / [2022-10-07T11:28:18.341Z] ---> Running in 69099eed32ca [2022-10-07T11:28:18.341Z] Removing intermediate container 69099eed32ca [2022-10-07T11:28:18.341Z] ---> a50b47f7911a [2022-10-07T11:28:18.341Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T11:28:18.907Z] ---> 8e5bf4cefb63 [2022-10-07T11:28:18.907Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T11:28:19.166Z] ---> a745f2ef3c00 [2022-10-07T11:28:19.166Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T11:28:19.426Z] ---> d3499725c78e [2022-10-07T11:28:19.426Z] Step 22/27 : EXPOSE 59984 [2022-10-07T11:28:19.426Z] ---> Running in c65f44874821 [2022-10-07T11:28:19.426Z] Removing intermediate container c65f44874821 [2022-10-07T11:28:19.426Z] ---> 84e6bff3e000 [2022-10-07T11:28:19.426Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T11:28:19.684Z] ---> Running in 975d18687baa [2022-10-07T11:28:19.684Z] Removing intermediate container 975d18687baa [2022-10-07T11:28:19.684Z] ---> d34a406acb8c [2022-10-07T11:28:19.684Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T11:28:19.684Z] ---> Running in 5c2b8e2eccb2 [2022-10-07T11:28:19.944Z] Removing intermediate container 5c2b8e2eccb2 [2022-10-07T11:28:19.944Z] ---> 8920b666743c [2022-10-07T11:28:19.944Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T11:28:19.944Z] ---> Running in fe143d3030a5 [2022-10-07T11:28:19.944Z] Removing intermediate container fe143d3030a5 [2022-10-07T11:28:19.944Z] ---> e1129443bfef [2022-10-07T11:28:19.944Z] Step 26/27 : LABEL git_sha=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [2022-10-07T11:28:20.214Z] ---> Running in 2304bb4625ad [2022-10-07T11:28:20.214Z] Removing intermediate container 2304bb4625ad [2022-10-07T11:28:20.214Z] ---> 6293b3b04574 [2022-10-07T11:28:20.214Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T11:28:20.214Z] ---> Running in 7c853e39d965 [2022-10-07T11:28:20.473Z] Removing intermediate container 7c853e39d965 [2022-10-07T11:28:20.473Z] ---> 919aa3a8bc95 [2022-10-07T11:28:20.473Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T11:28:20.473Z] Successfully built 919aa3a8bc95 [2022-10-07T11:28:20.473Z] 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-07T11:28:20.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:28:20.911Z] [2022-10-07T11:28:20.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:28:21.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:28:21.203Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T11:28:21.203Z] 5eb5b503b376: Pulling fs layer [2022-10-07T11:28:21.203Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T11:28:21.203Z] ec43610c2a17: Pulling fs layer [2022-10-07T11:28:21.203Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T11:28:21.203Z] 33b1e0a273af: Pulling fs layer [2022-10-07T11:28:21.203Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T11:28:21.203Z] 2f39f015ded8: Pulling fs layer [2022-10-07T11:28:21.203Z] 3a2ae6a8a46f: Waiting [2022-10-07T11:28:21.203Z] 33b1e0a273af: Waiting [2022-10-07T11:28:21.203Z] 5d3b04190fa2: Waiting [2022-10-07T11:28:21.203Z] 2f39f015ded8: Waiting [2022-10-07T11:28:21.203Z] 5c69ac0246d0: Verifying Checksum [2022-10-07T11:28:21.203Z] 5c69ac0246d0: Download complete [2022-10-07T11:28:21.203Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-07T11:28:21.203Z] 3a2ae6a8a46f: Download complete [2022-10-07T11:28:21.203Z] 33b1e0a273af: Verifying Checksum [2022-10-07T11:28:21.203Z] 33b1e0a273af: Download complete [2022-10-07T11:28:21.203Z] ec43610c2a17: Verifying Checksum [2022-10-07T11:28:21.203Z] ec43610c2a17: Download complete [2022-10-07T11:28:21.203Z] 5d3b04190fa2: Download complete [2022-10-07T11:28:21.464Z] 5eb5b503b376: Verifying Checksum [2022-10-07T11:28:21.464Z] 5eb5b503b376: Download complete [2022-10-07T11:28:22.030Z] 2f39f015ded8: Download complete [2022-10-07T11:28:22.595Z] 5eb5b503b376: Pull complete [2022-10-07T11:28:22.853Z] 5c69ac0246d0: Pull complete [2022-10-07T11:28:23.419Z] ec43610c2a17: Pull complete [2022-10-07T11:28:23.419Z] 3a2ae6a8a46f: Pull complete [2022-10-07T11:28:23.676Z] 33b1e0a273af: Pull complete [2022-10-07T11:28:23.676Z] 5d3b04190fa2: Pull complete [2022-10-07T11:28:23.715Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7336 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-07T11:28:23.726Z] Running in /w/workspace/device-onvif-camera/14 [Pipeline] { [Pipeline] checkout [2022-10-07T11:28:23.761Z] The recommended git tool is: git [2022-10-07T11:28:28.756Z] using credential edgex-jenkins-ssh [2022-10-07T11:28:28.770Z] Cloning the remote Git repository [2022-10-07T11:28:28.934Z] 2f39f015ded8: Pull complete [2022-10-07T11:28:28.934Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T11:28:28.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:28:28.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:28:29.005Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2022-10-07T11:28:29.034Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-07T11:28:28.810Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:28:28.875Z] > git init /w/workspace/device-onvif-camera/14 # timeout=10 [2022-10-07T11:28:28.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:28:28.996Z] > git --version # timeout=10 [2022-10-07T11:28:29.016Z] > git --version # 'git version 2.25.1' [2022-10-07T11:28:29.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:28:29.062Z] Verifying host key using known hosts file [2022-10-07T11:28:29.249Z] 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-07T11:28:29.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T11:28:30.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T11:28:30.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T11:28:31.728Z] $ docker top 79f30d2ec8e399babf1ab689e99339c341a75358236e0507390120498e4b6ab0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:28:32.125Z] ---> job-cost.sh [2022-10-07T11:28:32.125Z] lf-activate-venv: SKIPPING [2022-10-07T11:28:32.125Z] INFO: No Stack... [2022-10-07T11:28:32.384Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T11:28:31.307Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T11:28:31.348Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:28:31.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:28:31.354Z] Verifying host key using known hosts file [2022-10-07T11:28:31.361Z] 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-07T11:28:31.373Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T11:28:32.644Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T11:28:32.715Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [2022-10-07T11:28:32.937Z] + cut -d, -f6 [2022-10-07T11:28:32.937Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [Pipeline] lock [2022-10-07T11:28:32.949Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [2022-10-07T11:28:32.956Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] did not exist. Created. [2022-10-07T11:28:32.956Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T11:28:33.108Z] Merge succeeded, producing b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [2022-10-07T11:28:33.108Z] Checking out Revision b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 (PR-172) [2022-10-07T11:28:33.258Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T11:28:33.290Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T11:28:33.297Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T11:28:33.317Z] $ docker stop --time=1 79f30d2ec8e399babf1ab689e99339c341a75358236e0507390120498e4b6ab0 [2022-10-07T11:28:33.780Z] Commit message: "fix discovery mode netscan when using docker-compose" [2022-10-07T11:28:32.734Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T11:28:32.758Z] > git checkout -f b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 # timeout=10 [2022-10-07T11:28:32.988Z] > git remote # timeout=10 [2022-10-07T11:28:33.006Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T11:28:33.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:28:33.039Z] Verifying host key using known hosts file [2022-10-07T11:28:33.043Z] 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-07T11:28:33.051Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-07T11:28:33.074Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T11:28:33.111Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T11:28:33.126Z] > git checkout -f b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 # timeout=10 [2022-10-07T11:28:34.112Z] [2022-10-07T11:28:34.112Z] GitHub has been notified of this commit’s build result [2022-10-07T11:28:34.112Z] [2022-10-07T11:28:34.603Z] $ docker rm -f 79f30d2ec8e399babf1ab689e99339c341a75358236e0507390120498e4b6ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:28:35.183Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T11:28:35.183Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T11:28:35.183Z] Dload Upload Total Spent Left Speed [2022-10-07T11:28:35.183Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-10-07T11:28:35.740Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T11:28:36.072Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T11:28:36.072Z] + sudo tee /etc/docker/daemon.new [2022-10-07T11:28:36.072Z] { [2022-10-07T11:28:36.072Z] "registry-mirrors": [ [2022-10-07T11:28:36.072Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T11:28:36.072Z] ], [2022-10-07T11:28:36.072Z] "bip": "10.250.0.254/24", [2022-10-07T11:28:36.072Z] "hosts": [ [2022-10-07T11:28:36.072Z] "tcp://0.0.0.0:5555", [2022-10-07T11:28:36.072Z] "unix:///var/run/docker.sock" [2022-10-07T11:28:36.072Z] ], [2022-10-07T11:28:36.072Z] "mtu": 1458, [2022-10-07T11:28:36.072Z] "selinux-enabled": true, [2022-10-07T11:28:36.072Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T11:28:36.072Z] } [Pipeline] sh [2022-10-07T11:28:36.394Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T11:28:36.716Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:28:54.965Z] provisioning config files... [2022-10-07T11:28:54.987Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/14@tmp/config9233087160615453035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:28:55.332Z] ---> docker-login.sh [2022-10-07T11:28:55.332Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:28:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:28:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:28:55.930Z] Configure a credential helper to remove this warning. See [2022-10-07T11:28:55.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:28:55.930Z] [2022-10-07T11:28:55.930Z] Login Succeeded [2022-10-07T11:28:55.930Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:28:56.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:28:56.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:28:56.199Z] Configure a credential helper to remove this warning. See [2022-10-07T11:28:56.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:28:56.199Z] [2022-10-07T11:28:56.199Z] Login Succeeded [2022-10-07T11:28:56.469Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:28:56.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:28:56.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:28:56.738Z] Configure a credential helper to remove this warning. See [2022-10-07T11:28:56.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:28:56.738Z] [2022-10-07T11:28:56.738Z] Login Succeeded [2022-10-07T11:28:56.738Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:28:57.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:28:57.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:28:57.008Z] Configure a credential helper to remove this warning. See [2022-10-07T11:28:57.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:28:57.008Z] [2022-10-07T11:28:57.008Z] Login Succeeded [2022-10-07T11:28:57.008Z] docker.io [2022-10-07T11:28:57.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:28:57.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:28:57.863Z] Configure a credential helper to remove this warning. See [2022-10-07T11:28:57.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:28:57.863Z] [2022-10-07T11:28:57.863Z] Login Succeeded [2022-10-07T11:28:57.863Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:28:57.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T11:28:58.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:28:58.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:28:58.029Z] ========================================================= [2022-10-07T11:28:58.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T11:28:58.029Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:28:58.353Z] + 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-07T11:28:58.636Z] Sending build context to Docker daemon 14.22MB [2022-10-07T11:28:58.904Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:28:58.904Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T11:28:58.904Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T11:28:58.904Z] b3c136eddcbf: Pulling fs layer [2022-10-07T11:28:58.904Z] c0a3192eca97: Pulling fs layer [2022-10-07T11:28:58.904Z] a050256f5b6f: Pulling fs layer [2022-10-07T11:28:58.904Z] 656be50a0ddc: Pulling fs layer [2022-10-07T11:28:58.904Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T11:28:58.904Z] f607e4fc86c3: Pulling fs layer [2022-10-07T11:28:58.904Z] 4d572c569a2c: Pulling fs layer [2022-10-07T11:28:58.904Z] fcf976331f73: Pulling fs layer [2022-10-07T11:28:58.904Z] 656be50a0ddc: Waiting [2022-10-07T11:28:58.904Z] 2bbca73fdf42: Waiting [2022-10-07T11:28:58.904Z] f607e4fc86c3: Waiting [2022-10-07T11:28:58.904Z] 4d572c569a2c: Waiting [2022-10-07T11:28:58.904Z] fcf976331f73: Waiting [2022-10-07T11:28:58.904Z] a050256f5b6f: Verifying Checksum [2022-10-07T11:28:58.904Z] a050256f5b6f: Download complete [2022-10-07T11:28:58.904Z] c0a3192eca97: Verifying Checksum [2022-10-07T11:28:58.904Z] c0a3192eca97: Download complete [2022-10-07T11:28:58.904Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T11:28:58.904Z] 2bbca73fdf42: Download complete [2022-10-07T11:28:59.171Z] f607e4fc86c3: Download complete [2022-10-07T11:28:59.171Z] b3c136eddcbf: Download complete [2022-10-07T11:29:00.138Z] b3c136eddcbf: Pull complete [2022-10-07T11:29:00.138Z] fcf976331f73: Verifying Checksum [2022-10-07T11:29:00.138Z] fcf976331f73: Download complete [2022-10-07T11:29:00.406Z] c0a3192eca97: Pull complete [2022-10-07T11:29:00.684Z] a050256f5b6f: Pull complete [2022-10-07T11:29:01.269Z] 4d572c569a2c: Verifying Checksum [2022-10-07T11:29:01.269Z] 4d572c569a2c: Download complete [2022-10-07T11:29:01.860Z] 656be50a0ddc: Verifying Checksum [2022-10-07T11:29:01.860Z] 656be50a0ddc: Download complete [2022-10-07T11:29:14.191Z] 656be50a0ddc: Pull complete [2022-10-07T11:29:14.191Z] 2bbca73fdf42: Pull complete [2022-10-07T11:29:14.191Z] f607e4fc86c3: Pull complete [2022-10-07T11:29:20.851Z] 4d572c569a2c: Pull complete [2022-10-07T11:29:21.817Z] fcf976331f73: Pull complete [2022-10-07T11:29:21.817Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T11:29:21.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T11:29:21.817Z] ---> 3970a7415f9e [2022-10-07T11:29:21.817Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:29:23.760Z] ---> Running in ebd45f826add [2022-10-07T11:29:24.028Z] Removing intermediate container ebd45f826add [2022-10-07T11:29:24.028Z] ---> 7153be2f3431 [2022-10-07T11:29:24.028Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:29:24.028Z] ---> Running in 8c75f7b1d3f4 [2022-10-07T11:29:24.296Z] Removing intermediate container 8c75f7b1d3f4 [2022-10-07T11:29:24.296Z] ---> 9eee5da1b5ec [2022-10-07T11:29:24.297Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:29:24.297Z] ---> Running in 8defaa425ebe [2022-10-07T11:29:24.565Z] Removing intermediate container 8defaa425ebe [2022-10-07T11:29:24.565Z] ---> c7043b63f4f9 [2022-10-07T11:29:24.565Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:29:24.832Z] ---> Running in b2fcfc2d3673 [2022-10-07T11:29:25.102Z] Removing intermediate container b2fcfc2d3673 [2022-10-07T11:29:25.102Z] ---> bc4cf34423a3 [2022-10-07T11:29:25.102Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:29:25.102Z] ---> Running in 275cd1dbf15c [2022-10-07T11:29:25.375Z] Removing intermediate container 275cd1dbf15c [2022-10-07T11:29:25.375Z] ---> f7cc32661762 [2022-10-07T11:29:25.375Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:29:25.375Z] ---> Running in fa7cb7f3fdc2 [2022-10-07T11:29:27.477Z] Removing intermediate container fa7cb7f3fdc2 [2022-10-07T11:29:27.477Z] ---> a7ee804e2544 [2022-10-07T11:29:27.477Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:29:27.477Z] ---> Running in 40fd4881d8b8 [2022-10-07T11:29:28.444Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:29:29.029Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:29:30.001Z] OK: 221 MiB in 51 packages [2022-10-07T11:29:30.976Z] Removing intermediate container 40fd4881d8b8 [2022-10-07T11:29:30.976Z] ---> 37d94f7aeac3 [2022-10-07T11:29:30.976Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T11:29:30.976Z] ---> Running in 7e560105b79d [2022-10-07T11:29:31.243Z] Removing intermediate container 7e560105b79d [2022-10-07T11:29:31.243Z] ---> f711d068088a [2022-10-07T11:29:31.243Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T11:29:31.832Z] ---> ed57ae88d912 [2022-10-07T11:29:31.832Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:29:31.832Z] ---> Running in 69579889a18f [2022-10-07T11:30:28.304Z] Removing intermediate container 69579889a18f [2022-10-07T11:30:28.304Z] ---> e0722256c909 [2022-10-07T11:30:28.304Z] Step 13/14 : COPY . . [2022-10-07T11:30:28.304Z] ---> 39d76ae9b4d3 [2022-10-07T11:30:28.304Z] Step 14/14 : RUN ${MAKE} [2022-10-07T11:30:28.304Z] ---> Running in ed3cabe465dc [2022-10-07T11:30:28.304Z] noop [2022-10-07T11:30:28.304Z] Removing intermediate container ed3cabe465dc [2022-10-07T11:30:28.304Z] ---> 855d2c2aade8 [2022-10-07T11:30:28.304Z] Successfully built 855d2c2aade8 [2022-10-07T11:30:28.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:30:28.662Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T11:30:28.662Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:30:28.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2022-10-07T11:30:28.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-07T11:30:30.771Z] $ docker top 87b1c1dce469eee5e965347b5f5f6c0634db2fcea7962e775088601917a6ebda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:30:31.598Z] + go version [2022-10-07T11:30:31.598Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T11:30:31.616Z] $ docker stop --time=1 87b1c1dce469eee5e965347b5f5f6c0634db2fcea7962e775088601917a6ebda [2022-10-07T11:30:33.239Z] $ docker rm -f 87b1c1dce469eee5e965347b5f5f6c0634db2fcea7962e775088601917a6ebda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:30:33.800Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T11:30:33.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:30:33.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2022-10-07T11:30:34.041Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-07T11:30:35.208Z] $ docker top 2a82f768f813db97c1fe2941bd98cd7d2f8cb234e7e2a5507f052b5cd8671982 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:30:35.727Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/14 [Pipeline] fileExists [Pipeline] sh [2022-10-07T11:30:36.064Z] + make test [2022-10-07T11:30:36.064Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T11:30:38.009Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T11:32:15.316Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T11:32:15.316Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.192s coverage: 28.2% of statements [2022-10-07T11:32:15.316Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T11:32:30.323Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.378s coverage: 86.5% of statements [2022-10-07T11:32:30.906Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T11:32:30.906Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T11:32:57.621Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T11:32:57.621Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T11:32:57.621Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T11:32:57.641Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T11:32:57.651Z] $ docker stop --time=1 2a82f768f813db97c1fe2941bd98cd7d2f8cb234e7e2a5507f052b5cd8671982 [2022-10-07T11:32:59.576Z] $ docker rm -f 2a82f768f813db97c1fe2941bd98cd7d2f8cb234e7e2a5507f052b5cd8671982 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:33:00.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T11:33:00.515Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T11:33:01.127Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:33:01.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T11:33:01.875Z] + ls -al . [2022-10-07T11:33:01.876Z] total 232 [2022-10-07T11:33:01.876Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 11:30 . [2022-10-07T11:33:01.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:28 .. [2022-10-07T11:33:01.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:28 .git [2022-10-07T11:33:01.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:28 .github [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 11:28 .gitignore [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 11:28 .golangci.yml [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 11:28 Attribution.txt [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 11:28 CHANGELOG.md [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 11:28 Dockerfile [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:28 GOVERNANCE.md [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 11:28 Jenkinsfile [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 11:28 LICENSE [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 11:28 Makefile [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 11:28 OWNERS.md [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 11:28 README.md [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 11:26 VERSION [2022-10-07T11:33:01.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:28 bin [2022-10-07T11:33:01.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:28 cmd [2022-10-07T11:33:01.876Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 11:32 coverage.out [2022-10-07T11:33:01.876Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 11:28 doc [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 11:28 go.mod [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 11:28 go.sum [2022-10-07T11:33:01.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:28 internal [2022-10-07T11:33:01.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:28 snap [2022-10-07T11:33:01.876Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 11:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:33:02.228Z] + 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=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 --label arch=arm64 --label version=0.0.0 . [2022-10-07T11:33:03.188Z] Sending build context to Docker daemon 14.3MB [2022-10-07T11:33:03.188Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:33:03.188Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T11:33:03.188Z] ---> 855d2c2aade8 [2022-10-07T11:33:03.188Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:33:03.771Z] ---> Running in 5cb6dc374fcc [2022-10-07T11:33:04.039Z] Removing intermediate container 5cb6dc374fcc [2022-10-07T11:33:04.039Z] ---> bb223d208b65 [2022-10-07T11:33:04.039Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:33:04.314Z] ---> Running in 110f542687b6 [2022-10-07T11:33:04.581Z] Removing intermediate container 110f542687b6 [2022-10-07T11:33:04.581Z] ---> c699d126d94a [2022-10-07T11:33:04.581Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:33:04.581Z] ---> Running in 30729beaeaaa [2022-10-07T11:33:04.850Z] Removing intermediate container 30729beaeaaa [2022-10-07T11:33:04.850Z] ---> e57c524399f8 [2022-10-07T11:33:04.850Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:33:05.118Z] ---> Running in 10df5f57c534 [2022-10-07T11:33:05.386Z] Removing intermediate container 10df5f57c534 [2022-10-07T11:33:05.386Z] ---> 9205b5f273f9 [2022-10-07T11:33:05.386Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:33:05.386Z] ---> Running in 862b8e5e8098 [2022-10-07T11:33:05.660Z] Removing intermediate container 862b8e5e8098 [2022-10-07T11:33:05.660Z] ---> f668604d59ad [2022-10-07T11:33:05.660Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:33:05.660Z] ---> Running in a0dbfc853573 [2022-10-07T11:33:07.596Z] Removing intermediate container a0dbfc853573 [2022-10-07T11:33:07.596Z] ---> 3f06377234c9 [2022-10-07T11:33:07.596Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:33:07.596Z] ---> Running in e6454c1e6a53 [2022-10-07T11:33:08.554Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:33:09.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:33:10.469Z] OK: 221 MiB in 51 packages [2022-10-07T11:33:11.475Z] Removing intermediate container e6454c1e6a53 [2022-10-07T11:33:11.475Z] ---> a0cafe389899 [2022-10-07T11:33:11.475Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T11:33:11.475Z] ---> Running in 585a27ecf621 [2022-10-07T11:33:11.744Z] Removing intermediate container 585a27ecf621 [2022-10-07T11:33:11.744Z] ---> c38bf2a9741f [2022-10-07T11:33:11.744Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T11:33:12.329Z] ---> edc6c9af5976 [2022-10-07T11:33:12.329Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:33:12.329Z] ---> Running in fa47eb107e3c [2022-10-07T11:33:14.917Z] Removing intermediate container fa47eb107e3c [2022-10-07T11:33:14.917Z] ---> f4661a1f0c0f [2022-10-07T11:33:14.917Z] Step 13/27 : COPY . . [2022-10-07T11:33:17.503Z] ---> 10785e4b6545 [2022-10-07T11:33:17.503Z] Step 14/27 : RUN ${MAKE} [2022-10-07T11:33:17.503Z] ---> Running in 00696c9d27b6 [2022-10-07T11:33:18.461Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T11:35:40.172Z] Removing intermediate container 00696c9d27b6 [2022-10-07T11:35:40.172Z] ---> 3aa7bab04c9d [2022-10-07T11:35:40.172Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T11:35:41.576Z] 3.16: Pulling from library/alpine [2022-10-07T11:35:41.576Z] 9b18e9b68314: Pulling fs layer [2022-10-07T11:35:41.842Z] 9b18e9b68314: Verifying Checksum [2022-10-07T11:35:41.842Z] 9b18e9b68314: Download complete [2022-10-07T11:35:42.426Z] 9b18e9b68314: Pull complete [2022-10-07T11:35:42.426Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T11:35:42.426Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T11:35:42.426Z] ---> a6215f271958 [2022-10-07T11:35:42.426Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T11:35:42.426Z] ---> Running in 7319c2487781 [2022-10-07T11:35:42.694Z] Removing intermediate container 7319c2487781 [2022-10-07T11:35:42.694Z] ---> aa52516f0bb1 [2022-10-07T11:35:42.694Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T11:35:42.962Z] ---> Running in d6a52214e3a7 [2022-10-07T11:35:43.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:35:44.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:35:45.150Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T11:35:45.150Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T11:35:45.150Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T11:35:45.150Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T11:35:45.150Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T11:35:45.150Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T11:35:45.150Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T11:35:45.150Z] OK: 8 MiB in 20 packages [2022-10-07T11:35:46.112Z] Removing intermediate container d6a52214e3a7 [2022-10-07T11:35:46.112Z] ---> b6c667ce3d17 [2022-10-07T11:35:46.112Z] Step 18/27 : WORKDIR / [2022-10-07T11:35:46.112Z] ---> Running in 0e44afbbc0c7 [2022-10-07T11:35:46.379Z] Removing intermediate container 0e44afbbc0c7 [2022-10-07T11:35:46.379Z] ---> 7bcf4c68fae3 [2022-10-07T11:35:46.379Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T11:35:47.784Z] ---> 2e4c3ceafe3a [2022-10-07T11:35:47.785Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T11:35:48.366Z] ---> 2bbe0dbb7ab9 [2022-10-07T11:35:48.366Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T11:35:48.954Z] ---> 141c480347d3 [2022-10-07T11:35:48.954Z] Step 22/27 : EXPOSE 59984 [2022-10-07T11:35:48.954Z] ---> Running in 2aeb86fefc3a [2022-10-07T11:35:49.223Z] Removing intermediate container 2aeb86fefc3a [2022-10-07T11:35:49.223Z] ---> 3f4232dd24b3 [2022-10-07T11:35:49.223Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T11:35:49.223Z] ---> Running in 9d4680d5fb8f [2022-10-07T11:35:49.492Z] Removing intermediate container 9d4680d5fb8f [2022-10-07T11:35:49.492Z] ---> 04c96af3fa93 [2022-10-07T11:35:49.492Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T11:35:49.492Z] ---> Running in 0a6b23a6549e [2022-10-07T11:35:49.758Z] Removing intermediate container 0a6b23a6549e [2022-10-07T11:35:49.758Z] ---> 4c00ded93dc9 [2022-10-07T11:35:49.758Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T11:35:50.027Z] ---> Running in 7190f504b1b7 [2022-10-07T11:35:50.293Z] Removing intermediate container 7190f504b1b7 [2022-10-07T11:35:50.293Z] ---> d48d9551cf18 [2022-10-07T11:35:50.293Z] Step 26/27 : LABEL git_sha=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [2022-10-07T11:35:50.293Z] ---> Running in 717eb7e242da [2022-10-07T11:35:50.559Z] Removing intermediate container 717eb7e242da [2022-10-07T11:35:50.559Z] ---> 55b9c2863e5d [2022-10-07T11:35:50.559Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T11:35:50.559Z] ---> Running in bf45ed592afb [2022-10-07T11:35:50.826Z] Removing intermediate container bf45ed592afb [2022-10-07T11:35:50.826Z] ---> c8ead5d33d5a [2022-10-07T11:35:50.826Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T11:35:50.826Z] Successfully built c8ead5d33d5a [2022-10-07T11:35:50.826Z] 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-07T11:35:51.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:35:51.257Z] [2022-10-07T11:35:51.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:35:51.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:35:51.582Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T11:35:51.582Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T11:35:51.582Z] 04944245beec: Pulling fs layer [2022-10-07T11:35:51.582Z] 699f458cf7ca: Pulling fs layer [2022-10-07T11:35:51.582Z] 765212b225bb: Pulling fs layer [2022-10-07T11:35:51.582Z] f23df028b6ca: Pulling fs layer [2022-10-07T11:35:51.582Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T11:35:51.582Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T11:35:51.582Z] 765212b225bb: Waiting [2022-10-07T11:35:51.582Z] f23df028b6ca: Waiting [2022-10-07T11:35:51.582Z] d65c8cfc05b1: Waiting [2022-10-07T11:35:51.582Z] 2437ff75d9bd: Waiting [2022-10-07T11:35:51.853Z] 04944245beec: Verifying Checksum [2022-10-07T11:35:51.853Z] 04944245beec: Download complete [2022-10-07T11:35:51.853Z] 765212b225bb: Download complete [2022-10-07T11:35:51.853Z] f23df028b6ca: Verifying Checksum [2022-10-07T11:35:51.853Z] f23df028b6ca: Download complete [2022-10-07T11:35:51.853Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T11:35:51.853Z] d65c8cfc05b1: Download complete [2022-10-07T11:35:51.853Z] 699f458cf7ca: Verifying Checksum [2022-10-07T11:35:51.853Z] 699f458cf7ca: Download complete [2022-10-07T11:35:52.437Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T11:35:52.437Z] 8998bd30e6a1: Download complete [2022-10-07T11:35:55.014Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T11:35:55.014Z] 2437ff75d9bd: Download complete [2022-10-07T11:35:56.424Z] 8998bd30e6a1: Pull complete [2022-10-07T11:35:56.691Z] 04944245beec: Pull complete [2022-10-07T11:35:58.108Z] 699f458cf7ca: Pull complete [2022-10-07T11:35:58.108Z] 765212b225bb: Pull complete [2022-10-07T11:35:59.067Z] f23df028b6ca: Pull complete [2022-10-07T11:35:59.648Z] d65c8cfc05b1: Pull complete [2022-10-07T11:36:14.634Z] 2437ff75d9bd: Pull complete [2022-10-07T11:36:14.634Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T11:36:14.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:36:14.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:36:14.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2022-10-07T11:36:14.869Z] $ 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/14 -v /w/workspace/device-onvif-camera/14:/w/workspace/device-onvif-camera/14:rw,z -v /w/workspace/device-onvif-camera/14@tmp:/w/workspace/device-onvif-camera/14@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-07T11:36:17.396Z] $ docker top 8b5d66ffb9f35e34b87da7e24ff000072e50f6e13bb859c16478dde59e7af81f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:18.234Z] ---> job-cost.sh [2022-10-07T11:36:18.234Z] lf-activate-venv: SKIPPING [2022-10-07T11:36:18.234Z] INFO: No Stack... [2022-10-07T11:36:18.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T11:36:19.394Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T11:36:19.715Z] + cat /w/workspace/device-onvif-camera/14/archives/cost.csv [2022-10-07T11:36:19.715Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T11:36:19.776Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [2022-10-07T11:36:19.782Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] did not exist. Created. [2022-10-07T11:36:19.782Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T11:36:20.117Z] /w/workspace/device-onvif-camera/14@tmp/durable-b3dd2705/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T11:36:20.765Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T11:36:20.790Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T11:36:20.847Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T11:36:20.853Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T11:36:20.864Z] $ docker stop --time=1 8b5d66ffb9f35e34b87da7e24ff000072e50f6e13bb859c16478dde59e7af81f [2022-10-07T11:36:22.349Z] $ docker rm -f 8b5d66ffb9f35e34b87da7e24ff000072e50f6e13bb859c16478dde59e7af81f [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-07T11:36:22.714Z] provisioning config files... [2022-10-07T11:36:22.722Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config5236540477738820352tmp [Pipeline] { [Pipeline] sh [2022-10-07T11:36:23.017Z] + set +x [2022-10-07T11:36:23.017Z] + curl -s https://codecov.io/bash [2022-10-07T11:36:23.017Z] + bash -s -- [2022-10-07T11:36:23.017Z] [2022-10-07T11:36:23.017Z] _____ _ [2022-10-07T11:36:23.017Z] / ____| | | [2022-10-07T11:36:23.017Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T11:36:23.017Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T11:36:23.017Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T11:36:23.017Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T11:36:23.017Z] Bash-1.0.6 [2022-10-07T11:36:23.017Z] [2022-10-07T11:36:23.017Z] [2022-10-07T11:36:23.017Z] ==> git version 2.25.1 found [2022-10-07T11:36:23.017Z] ==> 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-07T11:36:23.017Z] Release-Date: 2020-01-08 [2022-10-07T11:36:23.017Z] 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-07T11:36:23.017Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T11:36:23.017Z] ==> Jenkins CI detected. [2022-10-07T11:36:23.017Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T11:36:23.017Z] project root: . [2022-10-07T11:36:23.017Z] --> token set from env [2022-10-07T11:36:23.017Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T11:36:23.017Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T11:36:23.017Z] ==> Python coveragepy not found [2022-10-07T11:36:23.017Z] ==> Searching for coverage reports in: [2022-10-07T11:36:23.017Z] + . [2022-10-07T11:36:23.017Z] -> Found 1 reports [2022-10-07T11:36:23.017Z] ==> Detecting git/mercurial file structure [2022-10-07T11:36:23.276Z] ==> Reading reports [2022-10-07T11:36:23.276Z] + ./coverage.out bytes=78636 [2022-10-07T11:36:23.276Z] ==> Appending adjustments [2022-10-07T11:36:23.276Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T11:36:23.276Z] + Found adjustments [2022-10-07T11:36:23.276Z] ==> Gzipping contents [2022-10-07T11:36:23.276Z] 12K /tmp/codecov.Zdud8T.gz [2022-10-07T11:36:23.276Z] ==> Uploading reports [2022-10-07T11:36:23.276Z] url: https://codecov.io [2022-10-07T11:36:23.276Z] query: branch=PR-172&commit=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T11:36:23.276Z] -> Pinging Codecov [2022-10-07T11:36:23.276Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=b5e49bb016232d46f5021f1cfaf7a7d0d7c79873&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T11:36:23.852Z] -> Uploading to [2022-10-07T11:36:23.852Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/b5e49bb016232d46f5021f1cfaf7a7d0d7c79873/07e4c816-be97-4dcc-a9d6-2f2042424fd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T113623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=817eff6b66bb1349af0c62fa5e75f32ca915ad70704cc23b409d2205cd15c2e8 [2022-10-07T11:36:23.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T11:36:23.852Z] Dload Upload Total Spent Left Speed [2022-10-07T11:36:23.852Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10724 0 0 100 10724 0 44497 --:--:-- --:--:-- --:--:-- 44497 [2022-10-07T11:36:24.111Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b5e49bb016232d46f5021f1cfaf7a7d0d7c79873 [Pipeline] } [2022-10-07T11:36:24.118Z] 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-07T11:36:24.795Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-07T11:36:24.796Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:36:24.796Z] total 16 [2022-10-07T11:36:24.796Z] drwxr-xr-x 3 root root 4096 Oct 7 11:28 . [2022-10-07T11:36:24.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:28 .. [2022-10-07T11:36:24.796Z] drwxr-xr-x 2 root root 4096 Oct 7 11:28 cost [2022-10-07T11:36:24.796Z] -rw-r--r-- 1 root root 92 Oct 7 11:28 cost.csv [2022-10-07T11:36:24.796Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:36:24.796Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:36:24.796Z] total 16 [2022-10-07T11:36:24.796Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:28 . [2022-10-07T11:36:24.796Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:28 .. [2022-10-07T11:36:24.796Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 11:28 cost [2022-10-07T11:36:24.796Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 7 11:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:25.084Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:25.942Z] ---> package-listing.sh [2022-10-07T11:36:25.942Z] ++ facter osfamily [2022-10-07T11:36:25.942Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T11:36:26.202Z] + OS_FAMILY=debian [2022-10-07T11:36:26.202Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T11:36:26.202Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T11:36:26.202Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T11:36:26.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T11:36:26.202Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T11:36:26.202Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T11:36:26.202Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T11:36:26.202Z] + case "${OS_FAMILY}" in [2022-10-07T11:36:26.202Z] + dpkg -l [2022-10-07T11:36:26.202Z] + grep '^ii' [2022-10-07T11:36:26.202Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T11:36:26.202Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T11:36:26.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T11:36:26.202Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T11:36:26.202Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-07T11:36:26.202Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-07T11:36:26.211Z] 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T11:36:26.491Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:36:27.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:36:27.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:36:27.148Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2022-10-07T11:36:27.185Z] $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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-07T11:36:27.798Z] $ docker top d037e2b6aaccea1894059a7d8a6e43a08bccabd03aa1b2538e4fe52fa88eaeaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:36:28.144Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T11:36:28.450Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T11:36:28.735Z] + ls /var/log/sa-host [2022-10-07T11:36:28.735Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:36:28.799Z] provisioning config files... [2022-10-07T11:36:28.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config39046229076652198tmp [Pipeline] { [Pipeline] echo [2022-10-07T11:36:28.824Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:29.108Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T11:36:29.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:29.450Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T11:36:29.458Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:29.744Z] ---> sudo-logs.sh [2022-10-07T11:36:29.744Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T11:36:29.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:30.064Z] ---> job-cost.sh [2022-10-07T11:36:30.064Z] lf-activate-venv: SKIPPING [2022-10-07T11:36:30.064Z] DEBUG: total: 0.2199999988079071 [2022-10-07T11:36:30.064Z] INFO: Retrieving Stack Cost... [2022-10-07T11:36:30.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T11:36:30.895Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T11:36:30.905Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:36:31.193Z] ---> logs-deploy.sh [2022-10-07T11:36:31.193Z] lf-activate-venv: SKIPPING [2022-10-07T11:36:31.193Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/14 [2022-10-07T11:36:31.193Z] INFO: archiving workspace using pattern(s): [2022-10-07T11:36:32.131Z] Archives upload complete. [2022-10-07T11:36:32.390Z] INFO: archiving logs to Nexus [2022-10-07T11:36:32.967Z] ---> uname -a: [2022-10-07T11:36:32.967Z] Linux prd-ubuntu20-04-docker-8c-8g-7335 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-07T11:36:32.967Z] [2022-10-07T11:36:32.967Z]