Pull request #180 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at c32d12cb3f3d5bd786ac66f0af1d84994387a230 rather than 6f511cfdc54a5faed542fac4ba7365aa731660a0 Obtained Jenkinsfile from c32d12cb3f3d5bd786ac66f0af1d84994387a230 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-ssh9665489012233277812.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10723917207278599432.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-180/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-180/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8910427339043007239.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11219352871785537999.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-180/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-180/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6443634486669690800.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-8690’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8692 in /w/workspace/undry_device-onvif-camera_PR-180 [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-180 # 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/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 6f511cfdc54a5faed542fac4ba7365aa731660a0 Merge succeeded, producing 6f511cfdc54a5faed542fac4ba7365aa731660a0 Checking out Revision 6f511cfdc54a5faed542fac4ba7365aa731660a0 (PR-180) Commit message: "docs: fix postman collection name" > git config core.sparsecheckout # timeout=10 > git checkout -f 6f511cfdc54a5faed542fac4ba7365aa731660a0 # 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 c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f511cfdc54a5faed542fac4ba7365aa731660a0 # timeout=10 > git rev-list --no-walk e2699209860831bfc2e8cdbc5fa14e64f6d8da3a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-20T16:57:17.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-20T16:57:17.704Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-20T16:57:17.727Z] ========================================================= [2022-10-20T16:57:17.727Z] EdgeX Global Pipelines Version Info [2022-10-20T16:57:17.727Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-20T16:57:18.445Z] ------------------- [2022-10-20T16:57:18.446Z] stable info: [2022-10-20T16:57:18.446Z] ------------------- [2022-10-20T16:57:18.446Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-20T16:57:18.446Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T16:57:18.446Z] Message: update stable to v1.0.243 [2022-10-20T16:57:19.017Z] ------------------- [2022-10-20T16:57:19.017Z] experimental info: [2022-10-20T16:57:19.017Z] ------------------- [2022-10-20T16:57:19.017Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-20T16:57:19.017Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-20T16:57:19.017Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-20T16:57:19.178Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-20T16:57:19.194Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-20T16:57:19.212Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-20T16:57:19.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-20T16:57:19.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-20T16:57:19.266Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-20T16:57:19.285Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-20T16:57:19.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-20T16:57:19.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-20T16:57:19.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-20T16:57:19.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-20T16:57:19.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-20T16:57:19.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-20T16:57:19.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-20T16:57:19.438Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-20T16:57:19.457Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-20T16:57:19.474Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T16:57:19.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-20T16:57:19.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-20T16:57:19.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-20T16:57:19.539Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-20T16:57:19.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-20T16:57:19.560Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-20T16:57:19.572Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-20T16:57:19.584Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-20T16:57:19.593Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-20T16:57:19.615Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-20T16:57:19.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-20T16:57:19.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-20T16:57:19.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-20T16:57:19.684Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f511cfdc54a5faed542fac4ba7365aa731660a0 [Pipeline] echo [2022-10-20T16:57:19.702Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f511cf [Pipeline] echo [2022-10-20T16:57:19.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T16:57:19.775Z] provisioning config files... [2022-10-20T16:57:19.787Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14707790949646885865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T16:57:20.094Z] ---> docker-login.sh [2022-10-20T16:57:20.095Z] nexus3.edgexfoundry.org:10001 [2022-10-20T16:57:20.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:20.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:20.615Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:20.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:20.615Z] [2022-10-20T16:57:20.615Z] Login Succeeded [2022-10-20T16:57:20.615Z] nexus3.edgexfoundry.org:10002 [2022-10-20T16:57:20.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:20.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:20.615Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:20.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:20.615Z] [2022-10-20T16:57:20.615Z] Login Succeeded [2022-10-20T16:57:20.615Z] nexus3.edgexfoundry.org:10003 [2022-10-20T16:57:20.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:20.875Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:20.875Z] [2022-10-20T16:57:20.875Z] Login Succeeded [2022-10-20T16:57:20.875Z] nexus3.edgexfoundry.org:10004 [2022-10-20T16:57:20.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:20.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:20.875Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:20.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:20.875Z] [2022-10-20T16:57:20.875Z] Login Succeeded [2022-10-20T16:57:20.875Z] docker.io [2022-10-20T16:57:20.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:21.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:21.447Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:21.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:21.447Z] [2022-10-20T16:57:21.447Z] Login Succeeded [2022-10-20T16:57:21.447Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T16:57:21.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-20T16:57:21.832Z] + git rev-list -1 --merges 6f511cfdc54a5faed542fac4ba7365aa731660a0~1..6f511cfdc54a5faed542fac4ba7365aa731660a0 [Pipeline] echo [2022-10-20T16:57:21.878Z] -----------> git rev-list -1 --merges 6f511cfdc54a5faed542fac4ba7365aa731660a0~1..6f511cfdc54a5faed542fac4ba7365aa731660a0 6f511cfdc54a5faed542fac4ba7365aa731660a0 [false] [Pipeline] sh [2022-10-20T16:57:22.167Z] + git log --format=format:%s -1 6f511cfdc54a5faed542fac4ba7365aa731660a0 [Pipeline] echo [2022-10-20T16:57:22.181Z] ========================================================= [2022-10-20T16:57:22.181Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-20T16:57:22.181Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T16:57:22.525Z] + git log --format=format:%s -1 6f511cfdc54a5faed542fac4ba7365aa731660a0 [Pipeline] echo [2022-10-20T16:57:22.537Z] [semverPrep] GIT_COMMIT: 6f511cfdc54a5faed542fac4ba7365aa731660a0, Commit Message: docs: fix postman collection name [Pipeline] echo [2022-10-20T16:57:22.546Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-20T16:57:22.891Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-20T16:57:22.891Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-20T16:57:22.891Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-20T16:57:22.891Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-20T16:57:22.891Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-20T16:57:22.891Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-20T16:57:22.891Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T16:57:23.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T16:57:23.229Z] [2022-10-20T16:57:23.229Z] 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-20T16:57:23.547Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T16:57:23.548Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-20T16:57:23.548Z] b85a868b505f: Pulling fs layer [2022-10-20T16:57:23.548Z] e2be974225ed: Pulling fs layer [2022-10-20T16:57:23.548Z] 339a4e72a1f5: Pulling fs layer [2022-10-20T16:57:23.548Z] 988bab9f4d93: Pulling fs layer [2022-10-20T16:57:23.548Z] 1469e6f7b9e6: Pulling fs layer [2022-10-20T16:57:23.548Z] eaf3925da568: Pulling fs layer [2022-10-20T16:57:23.548Z] bab4dde63d76: Pulling fs layer [2022-10-20T16:57:23.548Z] bde34c3a00c8: Pulling fs layer [2022-10-20T16:57:23.548Z] b352a97aabf1: Pulling fs layer [2022-10-20T16:57:23.548Z] 4872d77fe225: Pulling fs layer [2022-10-20T16:57:23.548Z] 5851b861e8e6: Pulling fs layer [2022-10-20T16:57:23.548Z] 988bab9f4d93: Waiting [2022-10-20T16:57:23.548Z] eaf3925da568: Waiting [2022-10-20T16:57:23.548Z] 1469e6f7b9e6: Waiting [2022-10-20T16:57:23.548Z] bab4dde63d76: Waiting [2022-10-20T16:57:23.548Z] b352a97aabf1: Waiting [2022-10-20T16:57:23.548Z] bde34c3a00c8: Waiting [2022-10-20T16:57:23.548Z] 5851b861e8e6: Waiting [2022-10-20T16:57:23.548Z] 4872d77fe225: Waiting [2022-10-20T16:57:23.548Z] e2be974225ed: Download complete [2022-10-20T16:57:23.548Z] 988bab9f4d93: Verifying Checksum [2022-10-20T16:57:23.548Z] 988bab9f4d93: Download complete [2022-10-20T16:57:23.808Z] 1469e6f7b9e6: Verifying Checksum [2022-10-20T16:57:23.808Z] 1469e6f7b9e6: Download complete [2022-10-20T16:57:23.808Z] 339a4e72a1f5: Verifying Checksum [2022-10-20T16:57:23.808Z] 339a4e72a1f5: Download complete [2022-10-20T16:57:23.808Z] eaf3925da568: Verifying Checksum [2022-10-20T16:57:23.808Z] eaf3925da568: Download complete [2022-10-20T16:57:23.808Z] bde34c3a00c8: Verifying Checksum [2022-10-20T16:57:23.808Z] bde34c3a00c8: Download complete [2022-10-20T16:57:23.808Z] b352a97aabf1: Download complete [2022-10-20T16:57:23.808Z] 4872d77fe225: Download complete [2022-10-20T16:57:23.808Z] 5851b861e8e6: Verifying Checksum [2022-10-20T16:57:23.808Z] 5851b861e8e6: Download complete [2022-10-20T16:57:23.808Z] b85a868b505f: Verifying Checksum [2022-10-20T16:57:23.808Z] b85a868b505f: Download complete [2022-10-20T16:57:24.067Z] bab4dde63d76: Verifying Checksum [2022-10-20T16:57:24.067Z] bab4dde63d76: Download complete [2022-10-20T16:57:25.004Z] b85a868b505f: Pull complete [2022-10-20T16:57:25.264Z] e2be974225ed: Pull complete [2022-10-20T16:57:25.832Z] 339a4e72a1f5: Pull complete [2022-10-20T16:57:25.832Z] 988bab9f4d93: Pull complete [2022-10-20T16:57:26.092Z] 1469e6f7b9e6: Pull complete [2022-10-20T16:57:26.092Z] eaf3925da568: Pull complete [2022-10-20T16:57:28.013Z] bab4dde63d76: Pull complete [2022-10-20T16:57:28.013Z] bde34c3a00c8: Pull complete [2022-10-20T16:57:28.013Z] b352a97aabf1: Pull complete [2022-10-20T16:57:28.013Z] 4872d77fe225: Pull complete [2022-10-20T16:57:28.274Z] 5851b861e8e6: Pull complete [2022-10-20T16:57:28.274Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-20T16:57:28.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-20T16:57:28.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T16:57:28.360Z] prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container [2022-10-20T16:57:28.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-20T16:57:34.989Z] $ docker top edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 -eo pid,comm [2022-10-20T16:57:35.080Z] 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-20T16:57:35.080Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-20T16:57:35.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T16:57:35.116Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T16:57:35.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T16:57:35.250Z] $ docker exec edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 ssh-agent [2022-10-20T16:57:35.353Z] SSH_AUTH_SOCK=/tmp/ssh-w4lZrANCbRAb/agent.13 [2022-10-20T16:57:35.353Z] SSH_AGENT_PID=19 [2022-10-20T16:57:35.359Z] Running ssh-add (command line suppressed) [2022-10-20T16:57:35.461Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16035022878029648559.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_16035022878029648559.key) [2022-10-20T16:57:35.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T16:57:35.773Z] + git tag --points-at HEAD [Pipeline] } [2022-10-20T16:57:35.786Z] $ docker exec --env ******** --env ******** edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 ssh-agent -k [2022-10-20T16:57:35.892Z] unset SSH_AUTH_SOCK; [2022-10-20T16:57:35.892Z] unset SSH_AGENT_PID; [2022-10-20T16:57:35.893Z] echo Agent pid 19 killed; [2022-10-20T16:57:35.902Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-20T16:57:35.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-20T16:57:35.931Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-20T16:57:36.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-20T16:57:36.052Z] $ docker exec edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 ssh-agent [2022-10-20T16:57:36.231Z] SSH_AUTH_SOCK=/tmp/ssh-RyqQj0FcEDE4/agent.51 [2022-10-20T16:57:36.231Z] SSH_AGENT_PID=57 [2022-10-20T16:57:36.237Z] Running ssh-add (command line suppressed) [2022-10-20T16:57:36.356Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9384483081839312574.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_9384483081839312574.key) [2022-10-20T16:57:36.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-20T16:57:36.660Z] + git semver init [2022-10-20T16:57:36.919Z] 2022-10-20 16:57:36,855 [run_init] DEBUG init version:0.0.0 force:False [2022-10-20T16:57:36.919Z] 2022-10-20 16:57:36,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-20T16:57:36.919Z] 2022-10-20 16:57:36,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-20T16:57:36.919Z] 2022-10-20 16:57:36,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-180/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-180, universal_newlines=False, shell=None, istream=None) [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,120 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,121 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 with force:False [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,121 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,125 [execute] INFO git cat-file --batch-check [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,133 [execute] INFO git cat-file --batch [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-180/.semver, universal_newlines=False, shell=None, istream=) [2022-10-20T16:57:38.302Z] 2022-10-20 16:57:38,140 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-20T16:57:38.302Z] 0.0.0 [Pipeline] } [2022-10-20T16:57:38.312Z] $ docker exec --env ******** --env ******** edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 ssh-agent -k [2022-10-20T16:57:38.410Z] unset SSH_AUTH_SOCK; [2022-10-20T16:57:38.410Z] unset SSH_AGENT_PID; [2022-10-20T16:57:38.410Z] echo Agent pid 57 killed; [2022-10-20T16:57:38.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-20T16:57:38.733Z] + git semver [Pipeline] } [2022-10-20T16:57:39.008Z] $ docker stop --time=1 edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 [2022-10-20T16:57:41.200Z] $ docker rm -f edf15f05b6964c613d7c5b6c10862c71b0f10f5a0ab6dee1012ca7b1ef8801a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T16:57:41.571Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-20T16:57:41.818Z] Stashed 1 file(s) [Pipeline] echo [2022-10-20T16:57:41.821Z] [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-20T16:57:41.969Z] provisioning config files... [2022-10-20T16:57:41.978Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config13865285578022439972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T16:57:42.274Z] ---> docker-login.sh [2022-10-20T16:57:42.274Z] nexus3.edgexfoundry.org:10001 [2022-10-20T16:57:42.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:42.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:42.274Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:42.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:42.274Z] [2022-10-20T16:57:42.274Z] Login Succeeded [2022-10-20T16:57:42.274Z] nexus3.edgexfoundry.org:10002 [2022-10-20T16:57:42.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:42.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:42.274Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:42.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:42.274Z] [2022-10-20T16:57:42.274Z] Login Succeeded [2022-10-20T16:57:42.274Z] nexus3.edgexfoundry.org:10003 [2022-10-20T16:57:42.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:42.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:42.534Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:42.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:42.534Z] [2022-10-20T16:57:42.534Z] Login Succeeded [2022-10-20T16:57:42.534Z] nexus3.edgexfoundry.org:10004 [2022-10-20T16:57:42.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:42.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:42.534Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:42.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:42.534Z] [2022-10-20T16:57:42.534Z] Login Succeeded [2022-10-20T16:57:42.534Z] docker.io [2022-10-20T16:57:42.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T16:57:43.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T16:57:43.052Z] Configure a credential helper to remove this warning. See [2022-10-20T16:57:43.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T16:57:43.052Z] [2022-10-20T16:57:43.052Z] Login Succeeded [2022-10-20T16:57:43.052Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T16:57:43.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-20T16:57:43.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T16:57:43.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T16:57:43.195Z] ========================================================= [2022-10-20T16:57:43.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-20T16:57:43.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T16:57:43.502Z] + 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-20T16:57:43.502Z] Sending build context to Docker daemon 27.02MB [2022-10-20T16:57:43.502Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T16:57:43.502Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-20T16:57:44.095Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-20T16:57:44.095Z] 213ec9aee27d: Pulling fs layer [2022-10-20T16:57:44.095Z] 4583459ba037: Pulling fs layer [2022-10-20T16:57:44.095Z] 93c1e223e6f2: Pulling fs layer [2022-10-20T16:57:44.095Z] 53926ce57604: Pulling fs layer [2022-10-20T16:57:44.095Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-20T16:57:44.095Z] 30f14e443154: Pulling fs layer [2022-10-20T16:57:44.095Z] 53926ce57604: Waiting [2022-10-20T16:57:44.095Z] 801331c1e519: Pulling fs layer [2022-10-20T16:57:44.095Z] 99cc6dd402b0: Pulling fs layer [2022-10-20T16:57:44.095Z] 7d9ed39f4882: Pulling fs layer [2022-10-20T16:57:44.095Z] 99cc6dd402b0: Waiting [2022-10-20T16:57:44.095Z] 30f14e443154: Waiting [2022-10-20T16:57:44.095Z] 93c1e223e6f2: Verifying Checksum [2022-10-20T16:57:44.095Z] 93c1e223e6f2: Download complete [2022-10-20T16:57:44.095Z] 4583459ba037: Verifying Checksum [2022-10-20T16:57:44.095Z] 4583459ba037: Download complete [2022-10-20T16:57:44.095Z] 21b2b0c7a3f4: Download complete [2022-10-20T16:57:44.095Z] 30f14e443154: Download complete [2022-10-20T16:57:44.095Z] 213ec9aee27d: Verifying Checksum [2022-10-20T16:57:44.095Z] 213ec9aee27d: Download complete [2022-10-20T16:57:44.095Z] 801331c1e519: Verifying Checksum [2022-10-20T16:57:44.095Z] 801331c1e519: Download complete [2022-10-20T16:57:44.356Z] 213ec9aee27d: Pull complete [2022-10-20T16:57:44.655Z] 4583459ba037: Pull complete [2022-10-20T16:57:45.058Z] 7d9ed39f4882: Verifying Checksum [2022-10-20T16:57:45.317Z] 93c1e223e6f2: Pull complete [2022-10-20T16:57:45.317Z] 53926ce57604: Verifying Checksum [2022-10-20T16:57:45.317Z] 53926ce57604: Download complete [2022-10-20T16:57:45.585Z] 99cc6dd402b0: Verifying Checksum [2022-10-20T16:57:45.585Z] 99cc6dd402b0: Download complete [2022-10-20T16:57:49.838Z] 53926ce57604: Pull complete [2022-10-20T16:57:49.838Z] 21b2b0c7a3f4: Pull complete [2022-10-20T16:57:50.098Z] 30f14e443154: Pull complete [2022-10-20T16:57:51.480Z] 801331c1e519: Pull complete [2022-10-20T16:57:53.380Z] 99cc6dd402b0: Pull complete [2022-10-20T16:57:53.946Z] 7d9ed39f4882: Pull complete [2022-10-20T16:57:53.946Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-20T16:57:53.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-20T16:57:53.946Z] ---> 1dedd983c030 [2022-10-20T16:57:53.946Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-20T16:57:56.938Z] Still waiting to schedule task [2022-10-20T16:57:56.938Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8691’ is offline [2022-10-20T16:58:00.511Z] ---> Running in 3dc1571a0ddb [2022-10-20T16:58:00.773Z] Removing intermediate container 3dc1571a0ddb [2022-10-20T16:58:00.773Z] ---> 2d197f98cbb7 [2022-10-20T16:58:00.773Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T16:58:00.773Z] ---> Running in 9bdf54786700 [2022-10-20T16:58:01.032Z] Removing intermediate container 9bdf54786700 [2022-10-20T16:58:01.032Z] ---> 81ad2cb64ca2 [2022-10-20T16:58:01.032Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T16:58:01.032Z] ---> Running in 802095d47606 [2022-10-20T16:58:01.032Z] Removing intermediate container 802095d47606 [2022-10-20T16:58:01.032Z] ---> 7dfda80df28e [2022-10-20T16:58:01.032Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T16:58:01.032Z] ---> Running in d6a71f203f80 [2022-10-20T16:58:01.292Z] Removing intermediate container d6a71f203f80 [2022-10-20T16:58:01.292Z] ---> 9b66bfbc4158 [2022-10-20T16:58:01.292Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-20T16:58:01.292Z] ---> Running in ea0a76104ae1 [2022-10-20T16:58:01.292Z] Removing intermediate container ea0a76104ae1 [2022-10-20T16:58:01.292Z] ---> 27fecf1a1989 [2022-10-20T16:58:01.292Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T16:58:01.292Z] ---> Running in 9c6e6e5d2900 [2022-10-20T16:58:01.859Z] Removing intermediate container 9c6e6e5d2900 [2022-10-20T16:58:01.859Z] ---> 61fea177dd97 [2022-10-20T16:58:01.859Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T16:58:01.859Z] ---> Running in ba9853ccd5ac [2022-10-20T16:58:02.117Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T16:58:04.021Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T16:58:04.279Z] OK: 211 MiB in 51 packages [2022-10-20T16:58:05.215Z] Removing intermediate container ba9853ccd5ac [2022-10-20T16:58:05.215Z] ---> dc13080f1982 [2022-10-20T16:58:05.215Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-20T16:58:05.473Z] ---> Running in 6db2ca216848 [2022-10-20T16:58:06.039Z] Removing intermediate container 6db2ca216848 [2022-10-20T16:58:06.039Z] ---> 79deff22eee2 [2022-10-20T16:58:06.039Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-20T16:58:06.606Z] ---> 22e978613ed4 [2022-10-20T16:58:06.606Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T16:58:06.606Z] ---> Running in 042d5cea766f [2022-10-20T16:58:45.338Z] Removing intermediate container 042d5cea766f [2022-10-20T16:58:45.338Z] ---> 6561090d3d93 [2022-10-20T16:58:45.338Z] Step 13/14 : COPY . . [2022-10-20T16:58:45.338Z] ---> 14cb8b5c4f54 [2022-10-20T16:58:45.338Z] Step 14/14 : RUN ${MAKE} [2022-10-20T16:58:45.338Z] ---> Running in c4504153ff6a [2022-10-20T16:58:45.338Z] noop [2022-10-20T16:58:45.338Z] Removing intermediate container c4504153ff6a [2022-10-20T16:58:45.338Z] ---> f1e68defb747 [2022-10-20T16:58:45.338Z] Successfully built f1e68defb747 [2022-10-20T16:58:45.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T16:58:45.652Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T16:58:45.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T16:58:45.718Z] prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container [2022-10-20T16:58:45.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-20T16:58:46.731Z] $ docker top 7c4cfd755bcff71ffc44df4d6e43e624f8f6f19c28013b171103336b789e3bed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T16:58:47.074Z] + go version [2022-10-20T16:58:47.075Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-20T16:58:47.089Z] $ docker stop --time=1 7c4cfd755bcff71ffc44df4d6e43e624f8f6f19c28013b171103336b789e3bed [2022-10-20T16:58:49.168Z] $ docker rm -f 7c4cfd755bcff71ffc44df4d6e43e624f8f6f19c28013b171103336b789e3bed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T16:58:49.648Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-20T16:58:49.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T16:58:49.706Z] prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container [2022-10-20T16:58:49.741Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-20T16:58:50.564Z] $ docker top 661b178138a7885954fe0ffb317f1a6f8fc114dc9c289164f13eb682bdfb9ced -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T16:58:50.907Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-20T16:58:51.202Z] + make test [2022-10-20T16:58:51.202Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-20T16:58:51.461Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-20T16:59:03.693Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-20T16:59:03.693Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.030s coverage: 28.2% of statements [2022-10-20T16:59:03.693Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-20T16:59:03.693Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.277s coverage: 86.5% of statements [2022-10-20T16:59:11.799Z] 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-20T16:59:11.799Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-20T16:59:13.699Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T16:59:13.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T16:59:13.957Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-20T16:59:13.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T16:59:13.980Z] $ docker stop --time=1 661b178138a7885954fe0ffb317f1a6f8fc114dc9c289164f13eb682bdfb9ced [2022-10-20T16:59:20.052Z] $ docker rm -f 661b178138a7885954fe0ffb317f1a6f8fc114dc9c289164f13eb682bdfb9ced [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T16:59:20.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T16:59:20.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-20T16:59:21.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T16:59:21.683Z] + ls -al . [2022-10-20T16:59:21.683Z] total 236 [2022-10-20T16:59:21.683Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 16:58 . [2022-10-20T16:59:21.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:57 .. [2022-10-20T16:59:21.683Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 16:59 .git [2022-10-20T16:59:21.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:57 .github [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 16:57 .gitignore [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 16:57 .golangci.yml [2022-10-20T16:59:21.683Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 16:57 .semver [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 16:57 Attribution.txt [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 16:57 CHANGELOG.md [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 16:57 Dockerfile [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 16:57 GOVERNANCE.md [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 16:57 Jenkinsfile [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 16:57 LICENSE [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 16:57 Makefile [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 16:57 OWNERS.md [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 16:57 README.md [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 16:57 VERSION [2022-10-20T16:59:21.683Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 16:57 bin [2022-10-20T16:59:21.683Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:57 cmd [2022-10-20T16:59:21.683Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 16:59 coverage.out [2022-10-20T16:59:21.683Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 16:57 doc [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 16:57 go.mod [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 16:57 go.sum [2022-10-20T16:59:21.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:57 internal [2022-10-20T16:59:21.683Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:57 snap [2022-10-20T16:59:21.683Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 16:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T16:59:21.998Z] + 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=6f511cfdc54a5faed542fac4ba7365aa731660a0 --label arch=amd64 --label version=0.0.0 . [2022-10-20T16:59:21.998Z] Sending build context to Docker daemon 27.1MB [2022-10-20T16:59:21.998Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T16:59:21.998Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-20T16:59:21.998Z] ---> f1e68defb747 [2022-10-20T16:59:21.998Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-20T16:59:22.574Z] ---> Running in c4039b7b0300 [2022-10-20T16:59:23.160Z] Removing intermediate container c4039b7b0300 [2022-10-20T16:59:23.161Z] ---> d5b23b57fe6e [2022-10-20T16:59:23.161Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T16:59:23.161Z] ---> Running in 6ec788f39081 [2022-10-20T16:59:23.729Z] Removing intermediate container 6ec788f39081 [2022-10-20T16:59:23.729Z] ---> 9a9ee8411a72 [2022-10-20T16:59:23.729Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T16:59:24.295Z] ---> Running in b47b161db168 [2022-10-20T16:59:24.554Z] Removing intermediate container b47b161db168 [2022-10-20T16:59:24.554Z] ---> f0b1eabea4a9 [2022-10-20T16:59:24.554Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T16:59:24.812Z] ---> Running in b928446d737c [2022-10-20T16:59:25.395Z] Removing intermediate container b928446d737c [2022-10-20T16:59:25.395Z] ---> e68a96638bf5 [2022-10-20T16:59:25.395Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-20T16:59:25.980Z] ---> Running in 79c86057740e [2022-10-20T16:59:26.549Z] Removing intermediate container 79c86057740e [2022-10-20T16:59:26.549Z] ---> e9da94938b2c [2022-10-20T16:59:26.549Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T16:59:26.809Z] ---> Running in 5e4155d2ee89 [2022-10-20T16:59:27.378Z] Removing intermediate container 5e4155d2ee89 [2022-10-20T16:59:27.378Z] ---> 5f24bebbfe36 [2022-10-20T16:59:27.378Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T16:59:27.638Z] ---> Running in aeac260e0d24 [2022-10-20T16:59:27.897Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T16:59:28.835Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T16:59:29.094Z] OK: 211 MiB in 51 packages [2022-10-20T16:59:29.354Z] Removing intermediate container aeac260e0d24 [2022-10-20T16:59:29.354Z] ---> f55e5f9e1248 [2022-10-20T16:59:29.354Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-20T16:59:29.354Z] ---> Running in b302da4c5638 [2022-10-20T16:59:29.354Z] Removing intermediate container b302da4c5638 [2022-10-20T16:59:29.354Z] ---> 13a6ca34d1a0 [2022-10-20T16:59:29.354Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-20T16:59:29.614Z] ---> 787b974d4412 [2022-10-20T16:59:29.614Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T16:59:29.614Z] ---> Running in 9b1d2bb968d6 [2022-10-20T16:59:30.182Z] Removing intermediate container 9b1d2bb968d6 [2022-10-20T16:59:30.182Z] ---> cc3d1a6271c2 [2022-10-20T16:59:30.182Z] Step 13/27 : COPY . . [2022-10-20T16:59:31.122Z] ---> 7b6579ada1e0 [2022-10-20T16:59:31.122Z] Step 14/27 : RUN ${MAKE} [2022-10-20T16:59:31.122Z] ---> Running in 7b6696f9fd72 [2022-10-20T16:59:31.382Z] 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-20T16:59:32.512Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8693 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-20T16:59:32.523Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-10-20T16:59:32.556Z] The recommended git tool is: git [2022-10-20T16:59:37.278Z] using credential edgex-jenkins-ssh [2022-10-20T16:59:37.291Z] Cloning the remote Git repository [2022-10-20T16:59:37.329Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T16:59:37.405Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-10-20T16:59:37.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T16:59:37.531Z] > git --version # timeout=10 [2022-10-20T16:59:37.550Z] > git --version # 'git version 2.25.1' [2022-10-20T16:59:37.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T16:59:37.594Z] Verifying host key using known hosts file [2022-10-20T16:59:37.772Z] 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-20T16:59:37.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T16:59:39.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-20T16:59:39.136Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-20T16:59:39.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-20T16:59:39.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-20T16:59:39.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T16:59:39.984Z] Verifying host key using known hosts file [2022-10-20T16:59:39.990Z] 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-20T16:59:40.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/180/head:refs/remotes/origin/PR-180 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-20T16:59:40.886Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 6f511cfdc54a5faed542fac4ba7365aa731660a0 [2022-10-20T16:59:41.316Z] Merge succeeded, producing 6f511cfdc54a5faed542fac4ba7365aa731660a0 [2022-10-20T16:59:41.317Z] Checking out Revision 6f511cfdc54a5faed542fac4ba7365aa731660a0 (PR-180) [2022-10-20T16:59:40.907Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T16:59:40.931Z] > git checkout -f 6f511cfdc54a5faed542fac4ba7365aa731660a0 # timeout=10 [2022-10-20T16:59:41.220Z] > git remote # timeout=10 [2022-10-20T16:59:41.236Z] > git config --get remote.origin.url # timeout=10 [2022-10-20T16:59:41.250Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-20T16:59:41.254Z] Verifying host key using known hosts file [2022-10-20T16:59:41.257Z] 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-20T16:59:41.265Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-20T16:59:41.288Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-20T16:59:41.324Z] > git config core.sparsecheckout # timeout=10 [2022-10-20T16:59:41.345Z] > git checkout -f 6f511cfdc54a5faed542fac4ba7365aa731660a0 # timeout=10 [2022-10-20T16:59:41.991Z] Commit message: "docs: fix postman collection name" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T16:59:42.956Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-20T16:59:42.957Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T16:59:42.957Z] Dload Upload Total Spent Left Speed [2022-10-20T16:59:42.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-20T16:59:43.576Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-20T16:59:43.896Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-10-20T16:59:43.896Z] [2022-10-20T16:59:43.896Z] { [2022-10-20T16:59:43.896Z] "registry-mirrors": [ [2022-10-20T16:59:43.896Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-20T16:59:43.896Z] ], [2022-10-20T16:59:43.896Z] "bip": "10.250.0.254/24", [2022-10-20T16:59:43.896Z] "hosts": [ [2022-10-20T16:59:43.896Z] "tcp://0.0.0.0:5555", [2022-10-20T16:59:43.896Z] "unix:///var/run/docker.sock" [2022-10-20T16:59:43.896Z] ], [2022-10-20T16:59:43.896Z] "mtu": 1458, [2022-10-20T16:59:43.896Z] "selinux-enabled": true, [2022-10-20T16:59:43.896Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-20T16:59:43.896Z] } [Pipeline] sh [2022-10-20T16:59:44.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-20T16:59:44.549Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T17:00:02.812Z] provisioning config files... [2022-10-20T17:00:02.835Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config17149926782691122007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:00:03.179Z] ---> docker-login.sh [2022-10-20T17:00:03.179Z] nexus3.edgexfoundry.org:10001 [2022-10-20T17:00:03.501Z] Removing intermediate container 7b6696f9fd72 [2022-10-20T17:00:03.501Z] ---> 1ccb277c9c35 [2022-10-20T17:00:03.501Z] Step 15/27 : FROM alpine:3.16 [2022-10-20T17:00:03.501Z] 3.16: Pulling from library/alpine [2022-10-20T17:00:03.501Z] 213ec9aee27d: Already exists [2022-10-20T17:00:03.501Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T17:00:03.501Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T17:00:03.501Z] ---> 9c6f07244728 [2022-10-20T17:00:03.501Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-20T17:00:03.501Z] ---> Running in cf10d187257f [2022-10-20T17:00:03.501Z] Removing intermediate container cf10d187257f [2022-10-20T17:00:03.501Z] ---> f102468297e7 [2022-10-20T17:00:03.501Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-20T17:00:03.501Z] ---> Running in 93d4825b52dc [2022-10-20T17:00:03.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-20T17:00:03.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-20T17:00:03.769Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-20T17:00:03.769Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T17:00:03.769Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-20T17:00:03.769Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T17:00:03.769Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-20T17:00:03.769Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-20T17:00:03.769Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T17:00:03.769Z] OK: 8 MiB in 20 packages [2022-10-20T17:00:03.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T17:00:03.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T17:00:03.774Z] Configure a credential helper to remove this warning. See [2022-10-20T17:00:03.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T17:00:03.774Z] [2022-10-20T17:00:03.774Z] Login Succeeded [2022-10-20T17:00:03.774Z] nexus3.edgexfoundry.org:10002 [2022-10-20T17:00:04.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T17:00:04.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T17:00:04.042Z] Configure a credential helper to remove this warning. See [2022-10-20T17:00:04.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T17:00:04.042Z] [2022-10-20T17:00:04.042Z] Login Succeeded [2022-10-20T17:00:04.312Z] nexus3.edgexfoundry.org:10003 [2022-10-20T17:00:04.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T17:00:04.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T17:00:04.582Z] Configure a credential helper to remove this warning. See [2022-10-20T17:00:04.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T17:00:04.582Z] [2022-10-20T17:00:04.582Z] Login Succeeded [2022-10-20T17:00:04.582Z] nexus3.edgexfoundry.org:10004 [2022-10-20T17:00:04.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T17:00:04.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T17:00:04.850Z] Configure a credential helper to remove this warning. See [2022-10-20T17:00:04.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T17:00:04.850Z] [2022-10-20T17:00:04.850Z] Login Succeeded [2022-10-20T17:00:04.850Z] docker.io [2022-10-20T17:00:05.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-20T17:00:05.151Z] Removing intermediate container 93d4825b52dc [2022-10-20T17:00:05.151Z] ---> e8cc7ff00b56 [2022-10-20T17:00:05.151Z] Step 18/27 : WORKDIR / [2022-10-20T17:00:05.411Z] ---> Running in ba1032ddd1b6 [2022-10-20T17:00:05.671Z] Removing intermediate container ba1032ddd1b6 [2022-10-20T17:00:05.671Z] ---> 3c54ff9bcc3a [2022-10-20T17:00:05.671Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-20T17:00:07.051Z] ---> 0ef368dad93e [2022-10-20T17:00:07.051Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-20T17:00:07.315Z] ---> 91c5a8d9d481 [2022-10-20T17:00:07.315Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-20T17:00:07.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-20T17:00:07.702Z] Configure a credential helper to remove this warning. See [2022-10-20T17:00:07.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-20T17:00:07.702Z] [2022-10-20T17:00:07.702Z] Login Succeeded [2022-10-20T17:00:07.702Z] ---> docker-login.sh ends [Pipeline] } [2022-10-20T17:00:07.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-20T17:00:07.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T17:00:07.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-20T17:00:07.982Z] ========================================================= [2022-10-20T17:00:07.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-20T17:00:07.982Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:00:08.254Z] ---> 2bdb37cfee6a [2022-10-20T17:00:08.254Z] Step 22/27 : EXPOSE 59984 [2022-10-20T17:00:08.367Z] + 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-20T17:00:08.513Z] ---> Running in 619240ddc5cd [2022-10-20T17:00:08.513Z] Removing intermediate container 619240ddc5cd [2022-10-20T17:00:08.513Z] ---> f75c90d31fbc [2022-10-20T17:00:08.513Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-20T17:00:08.773Z] ---> Running in f6725959a46e [2022-10-20T17:00:08.959Z] Sending build context to Docker daemon 20.38MB [2022-10-20T17:00:08.959Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T17:00:08.959Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-20T17:00:08.959Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-20T17:00:08.959Z] 9b18e9b68314: Pulling fs layer [2022-10-20T17:00:08.959Z] d32db5db7311: Pulling fs layer [2022-10-20T17:00:08.959Z] d0c4b47475fc: Pulling fs layer [2022-10-20T17:00:08.959Z] 5831b945b038: Pulling fs layer [2022-10-20T17:00:08.959Z] 86bbec2aaacd: Pulling fs layer [2022-10-20T17:00:08.959Z] e10730c5d714: Pulling fs layer [2022-10-20T17:00:08.959Z] 5dd5c2283517: Pulling fs layer [2022-10-20T17:00:08.959Z] d5ac0230b979: Pulling fs layer [2022-10-20T17:00:08.959Z] 5831b945b038: Waiting [2022-10-20T17:00:08.959Z] 86bbec2aaacd: Waiting [2022-10-20T17:00:08.959Z] e10730c5d714: Waiting [2022-10-20T17:00:08.959Z] 5dd5c2283517: Waiting [2022-10-20T17:00:08.959Z] d5ac0230b979: Waiting [2022-10-20T17:00:08.959Z] d0c4b47475fc: Verifying Checksum [2022-10-20T17:00:08.959Z] d0c4b47475fc: Download complete [2022-10-20T17:00:08.959Z] d32db5db7311: Verifying Checksum [2022-10-20T17:00:08.959Z] d32db5db7311: Download complete [2022-10-20T17:00:09.229Z] 86bbec2aaacd: Verifying Checksum [2022-10-20T17:00:09.229Z] 86bbec2aaacd: Download complete [2022-10-20T17:00:09.229Z] 9b18e9b68314: Verifying Checksum [2022-10-20T17:00:09.229Z] 9b18e9b68314: Download complete [2022-10-20T17:00:09.229Z] e10730c5d714: Verifying Checksum [2022-10-20T17:00:09.229Z] e10730c5d714: Download complete [2022-10-20T17:00:09.340Z] Removing intermediate container f6725959a46e [2022-10-20T17:00:09.340Z] ---> 6a45473915c1 [2022-10-20T17:00:09.340Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T17:00:09.914Z] ---> Running in bddaca896c38 [2022-10-20T17:00:10.173Z] Removing intermediate container bddaca896c38 [2022-10-20T17:00:10.173Z] ---> de527ad2b71e [2022-10-20T17:00:10.173Z] Step 25/27 : LABEL arch=amd64 [2022-10-20T17:00:10.198Z] 9b18e9b68314: Pull complete [2022-10-20T17:00:10.198Z] d5ac0230b979: Verifying Checksum [2022-10-20T17:00:10.198Z] d5ac0230b979: Download complete [2022-10-20T17:00:10.432Z] ---> Running in 21246f6cc1ca [2022-10-20T17:00:10.785Z] d32db5db7311: Pull complete [2022-10-20T17:00:11.001Z] Removing intermediate container 21246f6cc1ca [2022-10-20T17:00:11.001Z] ---> ec3eeb20fbe0 [2022-10-20T17:00:11.001Z] Step 26/27 : LABEL git_sha=6f511cfdc54a5faed542fac4ba7365aa731660a0 [2022-10-20T17:00:11.001Z] ---> Running in 25685d8c73f2 [2022-10-20T17:00:11.054Z] d0c4b47475fc: Pull complete [2022-10-20T17:00:11.260Z] Removing intermediate container 25685d8c73f2 [2022-10-20T17:00:11.260Z] ---> fdfe28c7d6e0 [2022-10-20T17:00:11.260Z] Step 27/27 : LABEL version=0.0.0 [2022-10-20T17:00:11.519Z] ---> Running in fc6df745dd65 [2022-10-20T17:00:11.644Z] 5dd5c2283517: Verifying Checksum [2022-10-20T17:00:11.644Z] 5dd5c2283517: Download complete [2022-10-20T17:00:12.086Z] Removing intermediate container fc6df745dd65 [2022-10-20T17:00:12.086Z] ---> be28356cb2f0 [2022-10-20T17:00:12.086Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T17:00:12.086Z] Successfully built be28356cb2f0 [2022-10-20T17:00:12.086Z] 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] } [2022-10-20T17:00:12.232Z] 5831b945b038: Download complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:00:12.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T17:00:12.548Z] [2022-10-20T17:00:12.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:00:12.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T17:00:13.109Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-20T17:00:13.109Z] 5eb5b503b376: Pulling fs layer [2022-10-20T17:00:13.109Z] 5c69ac0246d0: Pulling fs layer [2022-10-20T17:00:13.109Z] ec43610c2a17: Pulling fs layer [2022-10-20T17:00:13.109Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-20T17:00:13.109Z] 33b1e0a273af: Pulling fs layer [2022-10-20T17:00:13.109Z] 5d3b04190fa2: Pulling fs layer [2022-10-20T17:00:13.109Z] 2f39f015ded8: Pulling fs layer [2022-10-20T17:00:13.109Z] 3a2ae6a8a46f: Waiting [2022-10-20T17:00:13.109Z] 33b1e0a273af: Waiting [2022-10-20T17:00:13.109Z] 5d3b04190fa2: Waiting [2022-10-20T17:00:13.109Z] 2f39f015ded8: Waiting [2022-10-20T17:00:13.109Z] 5c69ac0246d0: Verifying Checksum [2022-10-20T17:00:13.109Z] 5c69ac0246d0: Download complete [2022-10-20T17:00:13.109Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-20T17:00:13.109Z] 3a2ae6a8a46f: Download complete [2022-10-20T17:00:13.371Z] 33b1e0a273af: Verifying Checksum [2022-10-20T17:00:13.371Z] 33b1e0a273af: Download complete [2022-10-20T17:00:13.371Z] ec43610c2a17: Verifying Checksum [2022-10-20T17:00:13.371Z] ec43610c2a17: Download complete [2022-10-20T17:00:13.371Z] 5d3b04190fa2: Download complete [2022-10-20T17:00:13.371Z] 5eb5b503b376: Verifying Checksum [2022-10-20T17:00:13.371Z] 5eb5b503b376: Download complete [2022-10-20T17:00:13.939Z] 2f39f015ded8: Download complete [2022-10-20T17:00:15.328Z] 5eb5b503b376: Pull complete [2022-10-20T17:00:15.588Z] 5c69ac0246d0: Pull complete [2022-10-20T17:00:16.557Z] ec43610c2a17: Pull complete [2022-10-20T17:00:16.816Z] 3a2ae6a8a46f: Pull complete [2022-10-20T17:00:17.383Z] 33b1e0a273af: Pull complete [2022-10-20T17:00:17.643Z] 5d3b04190fa2: Pull complete [2022-10-20T17:00:21.847Z] 2f39f015ded8: Pull complete [2022-10-20T17:00:22.105Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-20T17:00:22.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T17:00:22.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T17:00:22.184Z] prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container [2022-10-20T17:00:22.212Z] $ 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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-20T17:00:24.713Z] 5831b945b038: Pull complete [2022-10-20T17:00:24.713Z] 86bbec2aaacd: Pull complete [2022-10-20T17:00:24.713Z] e10730c5d714: Pull complete [2022-10-20T17:00:31.391Z] 5dd5c2283517: Pull complete [2022-10-20T17:00:32.351Z] d5ac0230b979: Pull complete [2022-10-20T17:00:32.352Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-20T17:00:32.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-20T17:00:32.352Z] ---> 59b3b1a385d4 [2022-10-20T17:00:32.352Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-20T17:00:32.414Z] $ docker top f95ffdb34b0e9d0ed15ef356f265a7c9023851b06f78b65455b009af7e08b787 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:00:32.812Z] ---> job-cost.sh [2022-10-20T17:00:32.812Z] lf-activate-venv: SKIPPING [2022-10-20T17:00:32.812Z] INFO: No Stack... [2022-10-20T17:00:33.070Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T17:00:33.646Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T17:00:33.933Z] + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [2022-10-20T17:00:33.933Z] + cut -d, -f6 [Pipeline] lock [2022-10-20T17:00:33.945Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [2022-10-20T17:00:33.951Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] did not exist. Created. [2022-10-20T17:00:33.952Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T17:00:34.247Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-20T17:00:34.280Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T17:00:34.287Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-20T17:00:34.304Z] $ docker stop --time=1 f95ffdb34b0e9d0ed15ef356f265a7c9023851b06f78b65455b009af7e08b787 [2022-10-20T17:00:34.311Z] ---> Running in 226699135fc9 [2022-10-20T17:00:34.311Z] Removing intermediate container 226699135fc9 [2022-10-20T17:00:34.311Z] ---> 1e9a73581886 [2022-10-20T17:00:34.311Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T17:00:34.578Z] ---> Running in 9773644a66e1 [2022-10-20T17:00:34.846Z] Removing intermediate container 9773644a66e1 [2022-10-20T17:00:34.846Z] ---> c15f057b41ea [2022-10-20T17:00:34.846Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T17:00:34.846Z] ---> Running in d369fa41af79 [2022-10-20T17:00:35.112Z] Removing intermediate container d369fa41af79 [2022-10-20T17:00:35.112Z] ---> 41b8535cb5d9 [2022-10-20T17:00:35.112Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T17:00:35.112Z] ---> Running in fbe850efb20e [2022-10-20T17:00:35.698Z] Removing intermediate container fbe850efb20e [2022-10-20T17:00:35.698Z] ---> 63030a952676 [2022-10-20T17:00:35.698Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-20T17:00:35.698Z] ---> Running in 003ee2ee8436 [2022-10-20T17:00:35.795Z] $ docker rm -f f95ffdb34b0e9d0ed15ef356f265a7c9023851b06f78b65455b009af7e08b787 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-20T17:00:35.965Z] Removing intermediate container 003ee2ee8436 [2022-10-20T17:00:35.965Z] ---> 0d335ece262e [2022-10-20T17:00:35.965Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T17:00:35.965Z] ---> Running in d6dfa892db71 [2022-10-20T17:00:37.909Z] Removing intermediate container d6dfa892db71 [2022-10-20T17:00:37.909Z] ---> b0fa5d5f4d93 [2022-10-20T17:00:37.909Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T17:00:37.909Z] ---> Running in 73f5f95b3207 [2022-10-20T17:00:38.493Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T17:00:39.457Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T17:00:40.429Z] OK: 221 MiB in 51 packages [2022-10-20T17:00:41.841Z] Removing intermediate container 73f5f95b3207 [2022-10-20T17:00:41.841Z] ---> eeba120b9684 [2022-10-20T17:00:41.841Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-20T17:00:41.841Z] ---> Running in 0d791b66544c [2022-10-20T17:00:41.841Z] Removing intermediate container 0d791b66544c [2022-10-20T17:00:41.841Z] ---> 4a22eee2682a [2022-10-20T17:00:41.841Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-20T17:00:42.425Z] ---> b9c2e0f7a602 [2022-10-20T17:00:42.425Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T17:00:42.699Z] ---> Running in d3852243728b [2022-10-20T17:01:29.552Z] Removing intermediate container d3852243728b [2022-10-20T17:01:29.552Z] ---> 8e54d18394ea [2022-10-20T17:01:29.552Z] Step 13/14 : COPY . . [2022-10-20T17:01:30.960Z] ---> 6f5b1cae681d [2022-10-20T17:01:30.960Z] Step 14/14 : RUN ${MAKE} [2022-10-20T17:01:30.960Z] ---> Running in fcafe5edee69 [2022-10-20T17:01:31.929Z] noop [2022-10-20T17:01:32.512Z] Removing intermediate container fcafe5edee69 [2022-10-20T17:01:32.512Z] ---> 038f6e61e6be [2022-10-20T17:01:32.512Z] Successfully built 038f6e61e6be [2022-10-20T17:01:32.512Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:01:32.855Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T17:01:32.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T17:01:33.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-8693 does not seem to be running inside a container [2022-10-20T17:01:33.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-20T17:01:34.186Z] $ docker top 14f548201d7a22504d1b139ab60e33c8306c72dce3604531d9392bd29ac93b36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T17:01:35.006Z] + go version [2022-10-20T17:01:35.007Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-20T17:01:35.030Z] $ docker stop --time=1 14f548201d7a22504d1b139ab60e33c8306c72dce3604531d9392bd29ac93b36 [2022-10-20T17:01:36.599Z] $ docker rm -f 14f548201d7a22504d1b139ab60e33c8306c72dce3604531d9392bd29ac93b36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:01:37.148Z] + docker inspect -f . ci-base-image-arm64 [2022-10-20T17:01:37.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T17:01:37.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-8693 does not seem to be running inside a container [2022-10-20T17:01:37.371Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-20T17:01:38.513Z] $ docker top 8e95e0b590cbaee0ab496c7e59c39a55c455ebc885342000d9bd10d5bddc826f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T17:01:39.012Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-10-20T17:01:39.341Z] + make test [2022-10-20T17:01:39.341Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-20T17:01:41.287Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-20T17:03:17.943Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-20T17:03:17.943Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.191s coverage: 28.2% of statements [2022-10-20T17:03:17.943Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-20T17:03:32.955Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.220s coverage: 86.5% of statements [2022-10-20T17:03:32.955Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-20T17:03:32.955Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-20T17:03:55.496Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-20T17:03:55.496Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-20T17:03:55.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-20T17:03:56.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-20T17:03:56.075Z] $ docker stop --time=1 8e95e0b590cbaee0ab496c7e59c39a55c455ebc885342000d9bd10d5bddc826f [2022-10-20T17:03:57.819Z] $ docker rm -f 8e95e0b590cbaee0ab496c7e59c39a55c455ebc885342000d9bd10d5bddc826f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-20T17:03:58.752Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-20T17:03:58.767Z] Warning: overwriting stash ‘coverage-report’ [2022-10-20T17:03:59.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-20T17:03:59.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-20T17:03:59.977Z] + ls -al . [2022-10-20T17:03:59.977Z] total 232 [2022-10-20T17:03:59.977Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 20 17:01 . [2022-10-20T17:03:59.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:59 .. [2022-10-20T17:03:59.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 16:59 .git [2022-10-20T17:03:59.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:59 .github [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 20 16:59 .gitignore [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 16:59 .golangci.yml [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 20 16:59 Attribution.txt [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 20 16:59 CHANGELOG.md [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 20 16:59 Dockerfile [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 16:59 GOVERNANCE.md [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 20 16:59 Jenkinsfile [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 20 16:59 LICENSE [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 20 16:59 Makefile [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 20 16:59 OWNERS.md [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 20 16:59 README.md [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 16:57 VERSION [2022-10-20T17:03:59.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 16:59 bin [2022-10-20T17:03:59.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 16:59 cmd [2022-10-20T17:03:59.977Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 20 17:03 coverage.out [2022-10-20T17:03:59.977Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 16:59 doc [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 20 16:59 go.mod [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 20 16:59 go.sum [2022-10-20T17:03:59.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:59 internal [2022-10-20T17:03:59.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 16:59 snap [2022-10-20T17:03:59.977Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 20 16:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:04:00.324Z] + 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=6f511cfdc54a5faed542fac4ba7365aa731660a0 --label arch=arm64 --label version=0.0.0 . [2022-10-20T17:04:00.911Z] Sending build context to Docker daemon 20.46MB [2022-10-20T17:04:00.911Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-20T17:04:00.911Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-20T17:04:00.911Z] ---> 038f6e61e6be [2022-10-20T17:04:00.911Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-20T17:04:01.180Z] ---> Running in c74a1b230d90 [2022-10-20T17:04:01.465Z] Removing intermediate container c74a1b230d90 [2022-10-20T17:04:01.465Z] ---> 7a27d8b93229 [2022-10-20T17:04:01.465Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-20T17:04:01.465Z] ---> Running in ea0251abd2f6 [2022-10-20T17:04:02.055Z] Removing intermediate container ea0251abd2f6 [2022-10-20T17:04:02.055Z] ---> 92a5561b9237 [2022-10-20T17:04:02.055Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-20T17:04:02.055Z] ---> Running in 44c785bbe599 [2022-10-20T17:04:02.323Z] Removing intermediate container 44c785bbe599 [2022-10-20T17:04:02.323Z] ---> 4ae094659cbf [2022-10-20T17:04:02.323Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-20T17:04:02.590Z] ---> Running in 3d5369ae056d [2022-10-20T17:04:02.861Z] Removing intermediate container 3d5369ae056d [2022-10-20T17:04:02.861Z] ---> a53267497699 [2022-10-20T17:04:02.861Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-20T17:04:02.861Z] ---> Running in 7a570dfc440d [2022-10-20T17:04:03.136Z] Removing intermediate container 7a570dfc440d [2022-10-20T17:04:03.136Z] ---> 921c3e7d101e [2022-10-20T17:04:03.136Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-20T17:04:03.136Z] ---> Running in 101e4c73bdd6 [2022-10-20T17:04:05.110Z] Removing intermediate container 101e4c73bdd6 [2022-10-20T17:04:05.110Z] ---> d28fe2e3284e [2022-10-20T17:04:05.110Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-20T17:04:05.110Z] ---> Running in 3e3c160a9eb2 [2022-10-20T17:04:06.531Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T17:04:07.495Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T17:04:08.462Z] OK: 221 MiB in 51 packages [2022-10-20T17:04:09.446Z] Removing intermediate container 3e3c160a9eb2 [2022-10-20T17:04:09.446Z] ---> 51c40f92eb2f [2022-10-20T17:04:09.446Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-20T17:04:09.446Z] ---> Running in 6112f391a01e [2022-10-20T17:04:10.039Z] Removing intermediate container 6112f391a01e [2022-10-20T17:04:10.039Z] ---> a65743ecb9dd [2022-10-20T17:04:10.039Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-20T17:04:10.308Z] ---> d0196ddbcdb6 [2022-10-20T17:04:10.308Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-20T17:04:10.581Z] ---> Running in ac61b5d08feb [2022-10-20T17:04:12.529Z] Removing intermediate container ac61b5d08feb [2022-10-20T17:04:12.529Z] ---> 5cca1b8fc35e [2022-10-20T17:04:12.529Z] Step 13/27 : COPY . . [2022-10-20T17:04:14.475Z] ---> 9d34ca0fc7ca [2022-10-20T17:04:14.475Z] Step 14/27 : RUN ${MAKE} [2022-10-20T17:04:14.475Z] ---> Running in 6e973912ab8d [2022-10-20T17:04:15.438Z] 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-20T17:06:52.137Z] Removing intermediate container 6e973912ab8d [2022-10-20T17:06:52.137Z] ---> c2aef66e3263 [2022-10-20T17:06:52.137Z] Step 15/27 : FROM alpine:3.16 [2022-10-20T17:06:52.137Z] 3.16: Pulling from library/alpine [2022-10-20T17:06:52.137Z] 9b18e9b68314: Already exists [2022-10-20T17:06:52.137Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-20T17:06:52.137Z] Status: Downloaded newer image for alpine:3.16 [2022-10-20T17:06:52.137Z] ---> a6215f271958 [2022-10-20T17:06:52.137Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-20T17:06:52.137Z] ---> Running in dc1655a5e93a [2022-10-20T17:06:52.137Z] Removing intermediate container dc1655a5e93a [2022-10-20T17:06:52.137Z] ---> 00fe085770cd [2022-10-20T17:06:52.137Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-20T17:06:52.137Z] ---> Running in 6437151e613d [2022-10-20T17:06:52.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-20T17:06:52.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-20T17:06:52.137Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-20T17:06:52.137Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-20T17:06:52.137Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-20T17:06:52.137Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-20T17:06:52.137Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-20T17:06:52.137Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-20T17:06:52.137Z] Executing busybox-1.35.0-r17.trigger [2022-10-20T17:06:52.137Z] OK: 8 MiB in 20 packages [2022-10-20T17:06:52.137Z] Removing intermediate container 6437151e613d [2022-10-20T17:06:52.137Z] ---> 6e286044a490 [2022-10-20T17:06:52.137Z] Step 18/27 : WORKDIR / [2022-10-20T17:06:52.137Z] ---> Running in fb6c4e197943 [2022-10-20T17:06:52.137Z] Removing intermediate container fb6c4e197943 [2022-10-20T17:06:52.137Z] ---> 752e547c722d [2022-10-20T17:06:52.137Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-20T17:06:52.137Z] ---> ecab19eef913 [2022-10-20T17:06:52.137Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-20T17:06:52.137Z] ---> 2eb1f73aa2b7 [2022-10-20T17:06:52.137Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-20T17:06:52.137Z] ---> c78d95c3f442 [2022-10-20T17:06:52.137Z] Step 22/27 : EXPOSE 59984 [2022-10-20T17:06:52.137Z] ---> Running in f087ea2d50f7 [2022-10-20T17:06:52.137Z] Removing intermediate container f087ea2d50f7 [2022-10-20T17:06:52.137Z] ---> 216970b65227 [2022-10-20T17:06:52.137Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-20T17:06:52.137Z] ---> Running in fef58bf1b47f [2022-10-20T17:06:52.137Z] Removing intermediate container fef58bf1b47f [2022-10-20T17:06:52.137Z] ---> d5f2da14aaba [2022-10-20T17:06:52.137Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-20T17:06:52.137Z] ---> Running in 29ce7c00108c [2022-10-20T17:06:52.137Z] Removing intermediate container 29ce7c00108c [2022-10-20T17:06:52.137Z] ---> b28c9371e8f0 [2022-10-20T17:06:52.137Z] Step 25/27 : LABEL arch=arm64 [2022-10-20T17:06:52.137Z] ---> Running in 58246b443dcf [2022-10-20T17:06:52.137Z] Removing intermediate container 58246b443dcf [2022-10-20T17:06:52.137Z] ---> b9646e262cf9 [2022-10-20T17:06:52.137Z] Step 26/27 : LABEL git_sha=6f511cfdc54a5faed542fac4ba7365aa731660a0 [2022-10-20T17:06:52.137Z] ---> Running in df87c3e7b412 [2022-10-20T17:06:52.137Z] Removing intermediate container df87c3e7b412 [2022-10-20T17:06:52.137Z] ---> cd1647254944 [2022-10-20T17:06:52.137Z] Step 27/27 : LABEL version=0.0.0 [2022-10-20T17:06:52.137Z] ---> Running in 292ab6fe4f9b [2022-10-20T17:06:52.137Z] Removing intermediate container 292ab6fe4f9b [2022-10-20T17:06:52.137Z] ---> 4e3fb49005bb [2022-10-20T17:06:52.137Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-20T17:06:52.137Z] Successfully built 4e3fb49005bb [2022-10-20T17:06:52.137Z] 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-20T17:06:52.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T17:06:52.570Z] [2022-10-20T17:06:52.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:06:52.908Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T17:06:52.908Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-20T17:06:52.908Z] 8998bd30e6a1: Pulling fs layer [2022-10-20T17:06:52.908Z] 04944245beec: Pulling fs layer [2022-10-20T17:06:52.908Z] 699f458cf7ca: Pulling fs layer [2022-10-20T17:06:52.908Z] 765212b225bb: Pulling fs layer [2022-10-20T17:06:52.908Z] f23df028b6ca: Pulling fs layer [2022-10-20T17:06:52.908Z] d65c8cfc05b1: Pulling fs layer [2022-10-20T17:06:52.908Z] 2437ff75d9bd: Pulling fs layer [2022-10-20T17:06:52.908Z] d65c8cfc05b1: Waiting [2022-10-20T17:06:52.908Z] 765212b225bb: Waiting [2022-10-20T17:06:52.908Z] f23df028b6ca: Waiting [2022-10-20T17:06:52.908Z] 2437ff75d9bd: Waiting [2022-10-20T17:06:53.176Z] 04944245beec: Verifying Checksum [2022-10-20T17:06:53.176Z] 04944245beec: Download complete [2022-10-20T17:06:53.176Z] 765212b225bb: Verifying Checksum [2022-10-20T17:06:53.176Z] 765212b225bb: Download complete [2022-10-20T17:06:53.176Z] f23df028b6ca: Verifying Checksum [2022-10-20T17:06:53.176Z] f23df028b6ca: Download complete [2022-10-20T17:06:53.176Z] d65c8cfc05b1: Verifying Checksum [2022-10-20T17:06:53.176Z] d65c8cfc05b1: Download complete [2022-10-20T17:06:53.176Z] 699f458cf7ca: Verifying Checksum [2022-10-20T17:06:53.176Z] 699f458cf7ca: Download complete [2022-10-20T17:06:53.765Z] 8998bd30e6a1: Verifying Checksum [2022-10-20T17:06:53.765Z] 8998bd30e6a1: Download complete [2022-10-20T17:06:55.707Z] 2437ff75d9bd: Verifying Checksum [2022-10-20T17:06:55.707Z] 2437ff75d9bd: Download complete [2022-10-20T17:06:57.655Z] 8998bd30e6a1: Pull complete [2022-10-20T17:06:57.921Z] 04944245beec: Pull complete [2022-10-20T17:06:58.932Z] 699f458cf7ca: Pull complete [2022-10-20T17:06:59.217Z] 765212b225bb: Pull complete [2022-10-20T17:07:00.208Z] f23df028b6ca: Pull complete [2022-10-20T17:07:00.208Z] d65c8cfc05b1: Pull complete [2022-10-20T17:07:15.271Z] 2437ff75d9bd: Pull complete [2022-10-20T17:07:15.271Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-20T17:07:15.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-20T17:07:15.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T17:07:15.459Z] prd-ubuntu20.04-docker-arm64-4c-16g-8693 does not seem to be running inside a container [2022-10-20T17:07:15.525Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-20T17:07:18.068Z] $ docker top 1b6afe198a92efb37ca9e69f737874dc35e35fab629eef5f291d1365c39f40be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:18.555Z] ---> job-cost.sh [2022-10-20T17:07:18.821Z] lf-activate-venv: SKIPPING [2022-10-20T17:07:18.821Z] INFO: No Stack... [2022-10-20T17:07:19.400Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-20T17:07:19.982Z] INFO: Archiving Costs [Pipeline] sh [2022-10-20T17:07:20.299Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-10-20T17:07:20.299Z] + cut -d, -f6 [Pipeline] lock [2022-10-20T17:07:20.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [2022-10-20T17:07:20.629Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] did not exist. Created. [2022-10-20T17:07:20.629Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-20T17:07:20.968Z] /w/workspace/device-onvif-camera/4@tmp/durable-5736b5ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-20T17:07:21.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-20T17:07:21.320Z] Warning: overwriting stash ‘stack-cost’ [2022-10-20T17:07:21.380Z] Stashed 1 file(s) [Pipeline] } [2022-10-20T17:07:21.387Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-20T17:07:21.406Z] $ docker stop --time=1 1b6afe198a92efb37ca9e69f737874dc35e35fab629eef5f291d1365c39f40be [2022-10-20T17:07:22.878Z] $ docker rm -f 1b6afe198a92efb37ca9e69f737874dc35e35fab629eef5f291d1365c39f40be [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-20T17:07:23.321Z] provisioning config files... [2022-10-20T17:07:23.327Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14046045363246498981tmp [Pipeline] { [Pipeline] sh [2022-10-20T17:07:23.617Z] + set +x [2022-10-20T17:07:23.617Z] + curl -s https://codecov.io/bash [2022-10-20T17:07:23.617Z] + bash -s -- [2022-10-20T17:07:23.617Z] [2022-10-20T17:07:23.617Z] _____ _ [2022-10-20T17:07:23.617Z] / ____| | | [2022-10-20T17:07:23.617Z] | | ___ __| | ___ ___ _____ __ [2022-10-20T17:07:23.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-20T17:07:23.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-20T17:07:23.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-20T17:07:23.617Z] Bash-1.0.6 [2022-10-20T17:07:23.617Z] [2022-10-20T17:07:23.617Z] [2022-10-20T17:07:23.617Z] ==> git version 2.25.1 found [2022-10-20T17:07:23.617Z] ==> 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-20T17:07:23.617Z] Release-Date: 2020-01-08 [2022-10-20T17:07:23.617Z] 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-20T17:07:23.617Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-20T17:07:23.617Z] ==> Jenkins CI detected. [2022-10-20T17:07:23.617Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-20T17:07:23.617Z] project root: . [2022-10-20T17:07:23.617Z] --> token set from env [2022-10-20T17:07:23.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-20T17:07:23.618Z] ==> Running gcov in . (disable via -X gcov) [2022-10-20T17:07:23.618Z] ==> Python coveragepy not found [2022-10-20T17:07:23.618Z] ==> Searching for coverage reports in: [2022-10-20T17:07:23.618Z] + . [2022-10-20T17:07:23.618Z] -> Found 1 reports [2022-10-20T17:07:23.618Z] ==> Detecting git/mercurial file structure [2022-10-20T17:07:23.618Z] ==> Reading reports [2022-10-20T17:07:23.618Z] + ./coverage.out bytes=78636 [2022-10-20T17:07:23.618Z] ==> Appending adjustments [2022-10-20T17:07:23.618Z] https://docs.codecov.io/docs/fixing-reports [2022-10-20T17:07:23.876Z] + Found adjustments [2022-10-20T17:07:23.876Z] ==> Gzipping contents [2022-10-20T17:07:23.876Z] 12K /tmp/codecov.4SQtk2.gz [2022-10-20T17:07:23.876Z] ==> Uploading reports [2022-10-20T17:07:23.876Z] url: https://codecov.io [2022-10-20T17:07:23.876Z] query: branch=PR-180&commit=6f511cfdc54a5faed542fac4ba7365aa731660a0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-20T17:07:23.876Z] -> Pinging Codecov [2022-10-20T17:07:23.876Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-180&commit=6f511cfdc54a5faed542fac4ba7365aa731660a0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-20T17:07:24.444Z] -> Uploading to [2022-10-20T17:07:24.444Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-20/F29A59C45E3A92E06B3E522C9905F8EF/6f511cfdc54a5faed542fac4ba7365aa731660a0/78a62456-172c-494f-beaa-d56c28627c26.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T170724Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1878ca6f1a278f2f8d1fff3fe3c4492139764c371b76b672f9b1a1cd737d191 [2022-10-20T17:07:24.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-20T17:07:24.444Z] Dload Upload Total Spent Left Speed [2022-10-20T17:07:24.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10776 0 0 100 10776 0 41287 --:--:-- --:--:-- --:--:-- 41287 [2022-10-20T17:07:24.703Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6f511cfdc54a5faed542fac4ba7365aa731660a0 [Pipeline] } [2022-10-20T17:07:24.711Z] 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-20T17:07:25.467Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-20T17:07:25.467Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T17:07:25.467Z] total 16 [2022-10-20T17:07:25.467Z] drwxr-xr-x 3 root root 4096 Oct 20 17:00 . [2022-10-20T17:07:25.467Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 17:00 .. [2022-10-20T17:07:25.467Z] drwxr-xr-x 2 root root 4096 Oct 20 17:00 cost [2022-10-20T17:07:25.467Z] -rw-r--r-- 1 root root 91 Oct 20 17:00 cost.csv [2022-10-20T17:07:25.467Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T17:07:25.467Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-20T17:07:25.467Z] total 16 [2022-10-20T17:07:25.467Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 17:00 . [2022-10-20T17:07:25.467Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 17:00 .. [2022-10-20T17:07:25.467Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 17:00 cost [2022-10-20T17:07:25.467Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 20 17:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:25.757Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:26.613Z] ---> package-listing.sh [2022-10-20T17:07:26.613Z] ++ facter osfamily [2022-10-20T17:07:26.613Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-20T17:07:26.873Z] + OS_FAMILY=debian [2022-10-20T17:07:26.873Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-20T17:07:26.873Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-20T17:07:26.873Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-20T17:07:26.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-20T17:07:26.873Z] + PACKAGES=/tmp/packages_start.txt [2022-10-20T17:07:26.873Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-20T17:07:26.873Z] + PACKAGES=/tmp/packages_end.txt [2022-10-20T17:07:26.873Z] + case "${OS_FAMILY}" in [2022-10-20T17:07:26.873Z] + dpkg -l [2022-10-20T17:07:26.873Z] + grep '^ii' [2022-10-20T17:07:26.873Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-20T17:07:26.873Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-20T17:07:26.873Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-20T17:07:26.873Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-20T17:07:26.873Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-20T17:07:26.873Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-180/archives/ [Pipeline] echo [2022-10-20T17:07:26.884Z] 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-180/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-20T17:07:27.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-20T17:07:27.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-20T17:07:27.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-20T17:07:27.788Z] prd-ubuntu20.04-docker-8c-8g-8692 does not seem to be running inside a container [2022-10-20T17:07:27.820Z] $ 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-180/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-180 -v /w/workspace/undry_device-onvif-camera_PR-180:/w/workspace/undry_device-onvif-camera_PR-180:rw,z -v /w/workspace/undry_device-onvif-camera_PR-180@tmp:/w/workspace/undry_device-onvif-camera_PR-180@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-20T17:07:28.127Z] $ docker top 0d8f2e1b8a1931c288824f03fe0412567804a4c4a19d439b2225a59fe60c4004 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-20T17:07:28.472Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-20T17:07:28.763Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-20T17:07:29.047Z] + ls /var/log/sa-host [2022-10-20T17:07:29.047Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-20T17:07:29.199Z] provisioning config files... [2022-10-20T17:07:29.209Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14097435015919714174tmp [Pipeline] { [Pipeline] echo [2022-10-20T17:07:29.227Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:29.512Z] ---> create-netrc.sh [Pipeline] } [2022-10-20T17:07:29.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:29.857Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-20T17:07:29.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:30.149Z] ---> sudo-logs.sh [2022-10-20T17:07:30.149Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-20T17:07:30.183Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:30.463Z] ---> job-cost.sh [2022-10-20T17:07:30.463Z] lf-activate-venv: SKIPPING [2022-10-20T17:07:30.463Z] DEBUG: total: 0.2199999988079071 [2022-10-20T17:07:30.463Z] INFO: Retrieving Stack Cost... [2022-10-20T17:07:30.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-20T17:07:31.287Z] INFO: Archiving Costs [Pipeline] echo [2022-10-20T17:07:31.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-20T17:07:31.583Z] ---> logs-deploy.sh [2022-10-20T17:07:31.583Z] lf-activate-venv: SKIPPING [2022-10-20T17:07:31.583Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/4 [2022-10-20T17:07:31.583Z] INFO: archiving workspace using pattern(s): [2022-10-20T17:07:32.517Z] Archives upload complete. [2022-10-20T17:07:32.517Z] INFO: archiving logs to Nexus