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 525b448516f7ccbfc29b672512b49cbee4360610 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-ssh18017345002027035427.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-ssh324817271813847959.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-ssh5468933171776277012.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-ssh10798343829901601014.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-ssh14275760617034024465.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-8781’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8783 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 525b448516f7ccbfc29b672512b49cbee4360610 Merge succeeded, producing 525b448516f7ccbfc29b672512b49cbee4360610 Checking out Revision 525b448516f7ccbfc29b672512b49cbee4360610 (PR-180) Commit message: "docs: use typing.Dict for typings" > git config core.sparsecheckout # timeout=10 > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # 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 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 > git rev-list --no-walk 58fdfd40f00060caf6819d4a78b16f38e6b426d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-21T18:59:42.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-21T18:59:42.727Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-21T18:59:42.746Z] ========================================================= [2022-10-21T18:59:42.747Z] EdgeX Global Pipelines Version Info [2022-10-21T18:59:42.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-21T18:59:43.820Z] ------------------- [2022-10-21T18:59:43.820Z] stable info: [2022-10-21T18:59:43.820Z] ------------------- [2022-10-21T18:59:43.820Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-21T18:59:43.820Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-21T18:59:43.820Z] Message: update stable to v1.0.243 [2022-10-21T18:59:44.080Z] ------------------- [2022-10-21T18:59:44.080Z] experimental info: [2022-10-21T18:59:44.080Z] ------------------- [2022-10-21T18:59:44.080Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-21T18:59:44.080Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-21T18:59:44.080Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-21T18:59:44.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-21T18:59:44.241Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-21T18:59:44.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-21T18:59:44.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-21T18:59:44.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-21T18:59:44.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-21T18:59:44.286Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-21T18:59:44.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-21T18:59:44.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-21T18:59:44.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-21T18:59:44.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-21T18:59:44.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-21T18:59:44.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-21T18:59:44.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-21T18:59:44.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-21T18:59:44.369Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-21T18:59:44.383Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-21T18:59:44.399Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-21T18:59:44.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-21T18:59:44.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-21T18:59:44.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-21T18:59:44.453Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-21T18:59:44.467Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-21T18:59:44.478Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-21T18:59:44.490Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-21T18:59:44.501Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-21T18:59:44.513Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-21T18:59:44.528Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-180 [Pipeline] echo [2022-10-21T18:59:44.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-180 [Pipeline] echo [2022-10-21T18:59:44.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-180 [Pipeline] echo [2022-10-21T18:59:44.561Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo [2022-10-21T18:59:44.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 525b448 [Pipeline] echo [2022-10-21T18:59:44.585Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T18:59:44.623Z] provisioning config files... [2022-10-21T18:59:44.637Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1382024854395624131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T18:59:44.937Z] ---> docker-login.sh [2022-10-21T18:59:44.937Z] nexus3.edgexfoundry.org:10001 [2022-10-21T18:59:45.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T18:59:45.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T18:59:45.195Z] Configure a credential helper to remove this warning. See [2022-10-21T18:59:45.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T18:59:45.195Z] [2022-10-21T18:59:45.195Z] Login Succeeded [2022-10-21T18:59:45.195Z] nexus3.edgexfoundry.org:10002 [2022-10-21T18:59:45.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T18:59:45.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T18:59:45.195Z] Configure a credential helper to remove this warning. See [2022-10-21T18:59:45.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T18:59:45.195Z] [2022-10-21T18:59:45.195Z] Login Succeeded [2022-10-21T18:59:45.195Z] nexus3.edgexfoundry.org:10003 [2022-10-21T18:59:45.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T18:59:45.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T18:59:45.456Z] Configure a credential helper to remove this warning. See [2022-10-21T18:59:45.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T18:59:45.456Z] [2022-10-21T18:59:45.456Z] Login Succeeded [2022-10-21T18:59:45.456Z] nexus3.edgexfoundry.org:10004 [2022-10-21T18:59:45.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T18:59:45.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T18:59:45.456Z] Configure a credential helper to remove this warning. See [2022-10-21T18:59:45.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T18:59:45.456Z] [2022-10-21T18:59:45.456Z] Login Succeeded [2022-10-21T18:59:45.456Z] docker.io [2022-10-21T18:59:45.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T18:59:45.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T18:59:45.974Z] Configure a credential helper to remove this warning. See [2022-10-21T18:59:45.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T18:59:45.974Z] [2022-10-21T18:59:45.974Z] Login Succeeded [2022-10-21T18:59:45.974Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T18:59:45.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-21T18:59:46.323Z] + git rev-list -1 --merges 525b448516f7ccbfc29b672512b49cbee4360610~1..525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo [2022-10-21T18:59:46.356Z] -----------> git rev-list -1 --merges 525b448516f7ccbfc29b672512b49cbee4360610~1..525b448516f7ccbfc29b672512b49cbee4360610 525b448516f7ccbfc29b672512b49cbee4360610 [false] [Pipeline] sh [2022-10-21T18:59:46.648Z] + git log --format=format:%s -1 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo [2022-10-21T18:59:46.663Z] ========================================================= [2022-10-21T18:59:46.663Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-21T18:59:46.663Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T18:59:46.978Z] + git log --format=format:%s -1 525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] echo [2022-10-21T18:59:47.003Z] [semverPrep] GIT_COMMIT: 525b448516f7ccbfc29b672512b49cbee4360610, Commit Message: docs: use typing.Dict for typings [Pipeline] echo [2022-10-21T18:59:47.013Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-21T18:59:47.341Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-21T18:59:47.341Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-21T18:59:47.341Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-21T18:59:47.341Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-21T18:59:47.341Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-21T18:59:47.341Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-21T18:59:47.341Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T18:59:47.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T18:59:47.693Z] [2022-10-21T18:59:47.693Z] 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-21T18:59:47.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T18:59:47.989Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-21T18:59:47.989Z] b85a868b505f: Pulling fs layer [2022-10-21T18:59:47.989Z] e2be974225ed: Pulling fs layer [2022-10-21T18:59:47.989Z] 339a4e72a1f5: Pulling fs layer [2022-10-21T18:59:47.989Z] 988bab9f4d93: Pulling fs layer [2022-10-21T18:59:47.989Z] 1469e6f7b9e6: Pulling fs layer [2022-10-21T18:59:47.989Z] eaf3925da568: Pulling fs layer [2022-10-21T18:59:47.989Z] bab4dde63d76: Pulling fs layer [2022-10-21T18:59:47.989Z] bde34c3a00c8: Pulling fs layer [2022-10-21T18:59:47.989Z] b352a97aabf1: Pulling fs layer [2022-10-21T18:59:47.989Z] 4872d77fe225: Pulling fs layer [2022-10-21T18:59:47.989Z] 5851b861e8e6: Pulling fs layer [2022-10-21T18:59:47.989Z] 988bab9f4d93: Waiting [2022-10-21T18:59:47.989Z] 1469e6f7b9e6: Waiting [2022-10-21T18:59:47.989Z] b352a97aabf1: Waiting [2022-10-21T18:59:47.989Z] eaf3925da568: Waiting [2022-10-21T18:59:47.989Z] 4872d77fe225: Waiting [2022-10-21T18:59:47.989Z] bab4dde63d76: Waiting [2022-10-21T18:59:47.989Z] 5851b861e8e6: Waiting [2022-10-21T18:59:47.989Z] bde34c3a00c8: Waiting [2022-10-21T18:59:47.989Z] e2be974225ed: Verifying Checksum [2022-10-21T18:59:47.989Z] e2be974225ed: Download complete [2022-10-21T18:59:47.989Z] 988bab9f4d93: Download complete [2022-10-21T18:59:48.250Z] 1469e6f7b9e6: Verifying Checksum [2022-10-21T18:59:48.250Z] 1469e6f7b9e6: Download complete [2022-10-21T18:59:48.250Z] eaf3925da568: Download complete [2022-10-21T18:59:48.250Z] 339a4e72a1f5: Download complete [2022-10-21T18:59:48.250Z] bde34c3a00c8: Verifying Checksum [2022-10-21T18:59:48.250Z] bde34c3a00c8: Download complete [2022-10-21T18:59:48.250Z] b352a97aabf1: Verifying Checksum [2022-10-21T18:59:48.250Z] b352a97aabf1: Download complete [2022-10-21T18:59:48.250Z] 4872d77fe225: Verifying Checksum [2022-10-21T18:59:48.250Z] 4872d77fe225: Download complete [2022-10-21T18:59:48.250Z] 5851b861e8e6: Download complete [2022-10-21T18:59:48.250Z] b85a868b505f: Download complete [2022-10-21T18:59:48.509Z] bab4dde63d76: Verifying Checksum [2022-10-21T18:59:48.509Z] bab4dde63d76: Download complete [2022-10-21T18:59:49.890Z] b85a868b505f: Pull complete [2022-10-21T18:59:49.890Z] e2be974225ed: Pull complete [2022-10-21T18:59:50.461Z] 339a4e72a1f5: Pull complete [2022-10-21T18:59:50.461Z] 988bab9f4d93: Pull complete [2022-10-21T18:59:50.721Z] 1469e6f7b9e6: Pull complete [2022-10-21T18:59:50.721Z] eaf3925da568: Pull complete [2022-10-21T18:59:52.625Z] bab4dde63d76: Pull complete [2022-10-21T18:59:52.625Z] bde34c3a00c8: Pull complete [2022-10-21T18:59:52.885Z] b352a97aabf1: Pull complete [2022-10-21T18:59:52.885Z] 4872d77fe225: Pull complete [2022-10-21T18:59:53.144Z] 5851b861e8e6: Pull complete [2022-10-21T18:59:53.144Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-21T18:59:53.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-21T18:59:53.144Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T18:59:53.225Z] prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container [2022-10-21T18:59:53.259Z] $ 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-21T18:59:54.742Z] $ docker top 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 -eo pid,comm [2022-10-21T18:59:54.796Z] 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-21T18:59:54.796Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-21T18:59:54.839Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-21T18:59:54.839Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-21T18:59:54.963Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-21T18:59:54.967Z] $ docker exec 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent [2022-10-21T18:59:55.072Z] SSH_AUTH_SOCK=/tmp/ssh-tkxRylPKm95X/agent.32 [2022-10-21T18:59:55.072Z] SSH_AGENT_PID=38 [2022-10-21T18:59:55.078Z] Running ssh-add (command line suppressed) [2022-10-21T18:59:55.193Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_10478438499455436377.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_10478438499455436377.key) [2022-10-21T18:59:55.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-21T18:59:55.496Z] + git tag --points-at HEAD [Pipeline] } [2022-10-21T18:59:55.507Z] $ docker exec --env ******** --env ******** 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent -k [2022-10-21T18:59:55.621Z] unset SSH_AUTH_SOCK; [2022-10-21T18:59:55.622Z] unset SSH_AGENT_PID; [2022-10-21T18:59:55.622Z] echo Agent pid 38 killed; [2022-10-21T18:59:55.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-21T18:59:55.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-21T18:59:55.658Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-21T18:59:55.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-21T18:59:55.779Z] $ docker exec 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent [2022-10-21T18:59:55.902Z] SSH_AUTH_SOCK=/tmp/ssh-W6ersCUpFiBz/agent.70 [2022-10-21T18:59:55.902Z] SSH_AGENT_PID=76 [2022-10-21T18:59:55.907Z] Running ssh-add (command line suppressed) [2022-10-21T18:59:56.020Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_13790549613955442782.key (/w/workspace/undry_device-onvif-camera_PR-180@tmp/private_key_13790549613955442782.key) [2022-10-21T18:59:56.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-21T18:59:56.320Z] + git semver init [2022-10-21T18:59:56.580Z] 2022-10-21 18:59:56,525 [run_init] DEBUG init version:0.0.0 force:False [2022-10-21T18:59:56.580Z] 2022-10-21 18:59:56,526 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-180/.semver [2022-10-21T18:59:56.580Z] 2022-10-21 18:59:56,527 [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-21T18:59:56.580Z] 2022-10-21 18:59:56,527 [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-21T18:59:57.959Z] 2022-10-21 18:59:57,549 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-180/.git/info/exclude [2022-10-21T18:59:57.959Z] 2022-10-21 18:59:57,550 [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-21T18:59:57.959Z] 2022-10-21 18:59:57,550 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-21T18:59:57.959Z] 2022-10-21 18:59:57,554 [execute] INFO git cat-file --batch-check [2022-10-21T18:59:57.959Z] 2022-10-21 18:59:57,555 [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-21T18:59:57.959Z] 2022-10-21 18:59:57,561 [execute] INFO git cat-file --batch [2022-10-21T18:59:57.959Z] 2022-10-21 18:59:57,561 [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-21T18:59:57.959Z] 2022-10-21 18:59:57,566 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-180/.semver/PR-180 [2022-10-21T18:59:57.959Z] 0.0.0 [Pipeline] } [2022-10-21T18:59:57.967Z] $ docker exec --env ******** --env ******** 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 ssh-agent -k [2022-10-21T18:59:58.065Z] unset SSH_AUTH_SOCK; [2022-10-21T18:59:58.066Z] unset SSH_AGENT_PID; [2022-10-21T18:59:58.066Z] echo Agent pid 76 killed; [2022-10-21T18:59:58.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-21T18:59:58.378Z] + git semver [Pipeline] } [2022-10-21T18:59:58.649Z] $ docker stop --time=1 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 [2022-10-21T18:59:59.988Z] $ docker rm -f 0ce26be99b0868f5fed3ccac54821ee5e82868230b16c23c2a081f4b7e3af6c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T19:00:00.333Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-21T19:00:00.515Z] Stashed 1 file(s) [Pipeline] echo [2022-10-21T19:00:00.518Z] [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-21T19:00:00.660Z] provisioning config files... [2022-10-21T19:00:00.669Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config1812502717856729616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:00:00.966Z] ---> docker-login.sh [2022-10-21T19:00:00.966Z] nexus3.edgexfoundry.org:10001 [2022-10-21T19:00:00.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:00:00.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:00:00.967Z] Configure a credential helper to remove this warning. See [2022-10-21T19:00:00.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:00:00.967Z] [2022-10-21T19:00:00.967Z] Login Succeeded [2022-10-21T19:00:00.967Z] nexus3.edgexfoundry.org:10002 [2022-10-21T19:00:00.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:00:00.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:00:00.967Z] Configure a credential helper to remove this warning. See [2022-10-21T19:00:00.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:00:00.967Z] [2022-10-21T19:00:00.967Z] Login Succeeded [2022-10-21T19:00:00.967Z] nexus3.edgexfoundry.org:10003 [2022-10-21T19:00:01.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:00:01.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:00:01.232Z] Configure a credential helper to remove this warning. See [2022-10-21T19:00:01.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:00:01.232Z] [2022-10-21T19:00:01.232Z] Login Succeeded [2022-10-21T19:00:01.232Z] nexus3.edgexfoundry.org:10004 [2022-10-21T19:00:01.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:00:01.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:00:01.232Z] Configure a credential helper to remove this warning. See [2022-10-21T19:00:01.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:00:01.232Z] [2022-10-21T19:00:01.232Z] Login Succeeded [2022-10-21T19:00:01.232Z] docker.io [2022-10-21T19:00:01.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:00:01.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:00:01.755Z] Configure a credential helper to remove this warning. See [2022-10-21T19:00:01.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:00:01.755Z] [2022-10-21T19:00:01.755Z] Login Succeeded [2022-10-21T19:00:02.016Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T19:00:02.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-21T19:00:02.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T19:00:02.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T19:00:02.106Z] ========================================================= [2022-10-21T19:00:02.106Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-21T19:00:02.106Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:00:02.428Z] + 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-21T19:00:02.428Z] Sending build context to Docker daemon 27.08MB [2022-10-21T19:00:02.428Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T19:00:02.428Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-21T19:00:02.687Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-21T19:00:02.687Z] 213ec9aee27d: Pulling fs layer [2022-10-21T19:00:02.687Z] 4583459ba037: Pulling fs layer [2022-10-21T19:00:02.687Z] 93c1e223e6f2: Pulling fs layer [2022-10-21T19:00:02.687Z] 53926ce57604: Pulling fs layer [2022-10-21T19:00:02.687Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-21T19:00:02.687Z] 30f14e443154: Pulling fs layer [2022-10-21T19:00:02.687Z] 801331c1e519: Pulling fs layer [2022-10-21T19:00:02.687Z] 99cc6dd402b0: Pulling fs layer [2022-10-21T19:00:02.687Z] 7d9ed39f4882: Pulling fs layer [2022-10-21T19:00:02.687Z] 53926ce57604: Waiting [2022-10-21T19:00:02.687Z] 21b2b0c7a3f4: Waiting [2022-10-21T19:00:02.687Z] 30f14e443154: Waiting [2022-10-21T19:00:02.687Z] 801331c1e519: Waiting [2022-10-21T19:00:02.687Z] 99cc6dd402b0: Waiting [2022-10-21T19:00:02.687Z] 7d9ed39f4882: Waiting [2022-10-21T19:00:02.687Z] 93c1e223e6f2: Verifying Checksum [2022-10-21T19:00:02.687Z] 93c1e223e6f2: Download complete [2022-10-21T19:00:02.687Z] 4583459ba037: Verifying Checksum [2022-10-21T19:00:02.687Z] 4583459ba037: Download complete [2022-10-21T19:00:02.687Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-21T19:00:02.687Z] 21b2b0c7a3f4: Download complete [2022-10-21T19:00:02.687Z] 30f14e443154: Verifying Checksum [2022-10-21T19:00:02.687Z] 30f14e443154: Download complete [2022-10-21T19:00:02.687Z] 213ec9aee27d: Verifying Checksum [2022-10-21T19:00:02.687Z] 213ec9aee27d: Download complete [2022-10-21T19:00:02.687Z] 801331c1e519: Download complete [2022-10-21T19:00:02.952Z] 213ec9aee27d: Pull complete [2022-10-21T19:00:02.952Z] 4583459ba037: Pull complete [2022-10-21T19:00:03.220Z] 93c1e223e6f2: Pull complete [2022-10-21T19:00:03.220Z] 7d9ed39f4882: Verifying Checksum [2022-10-21T19:00:03.220Z] 7d9ed39f4882: Download complete [2022-10-21T19:00:03.481Z] 99cc6dd402b0: Verifying Checksum [2022-10-21T19:00:03.481Z] 99cc6dd402b0: Download complete [2022-10-21T19:00:03.481Z] 53926ce57604: Verifying Checksum [2022-10-21T19:00:03.481Z] 53926ce57604: Download complete [2022-10-21T19:00:07.667Z] 53926ce57604: Pull complete [2022-10-21T19:00:07.667Z] 21b2b0c7a3f4: Pull complete [2022-10-21T19:00:07.667Z] 30f14e443154: Pull complete [2022-10-21T19:00:07.928Z] 801331c1e519: Pull complete [2022-10-21T19:00:09.827Z] 99cc6dd402b0: Pull complete [2022-10-21T19:00:10.767Z] 7d9ed39f4882: Pull complete [2022-10-21T19:00:10.767Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-21T19:00:10.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-21T19:00:10.767Z] ---> 1dedd983c030 [2022-10-21T19:00:10.767Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-21T19:00:12.149Z] ---> Running in 6da89fe46bc5 [2022-10-21T19:00:12.408Z] Removing intermediate container 6da89fe46bc5 [2022-10-21T19:00:12.408Z] ---> c7601e2f9b04 [2022-10-21T19:00:12.408Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-21T19:00:12.408Z] ---> Running in bbe9c7fcb653 [2022-10-21T19:00:12.408Z] Removing intermediate container bbe9c7fcb653 [2022-10-21T19:00:12.408Z] ---> 1ccb12326869 [2022-10-21T19:00:12.408Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-21T19:00:12.408Z] ---> Running in 235cbd8c16d2 [2022-10-21T19:00:12.668Z] Removing intermediate container 235cbd8c16d2 [2022-10-21T19:00:12.668Z] ---> 0af4cfa2dbf3 [2022-10-21T19:00:12.668Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-21T19:00:12.668Z] ---> Running in b2d274035854 [2022-10-21T19:00:12.668Z] Removing intermediate container b2d274035854 [2022-10-21T19:00:12.668Z] ---> 4e6865ae073c [2022-10-21T19:00:12.668Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-21T19:00:12.668Z] ---> Running in d6c64435c042 [2022-10-21T19:00:12.927Z] Removing intermediate container d6c64435c042 [2022-10-21T19:00:12.927Z] ---> 8041e90eeca5 [2022-10-21T19:00:12.927Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T19:00:12.927Z] ---> Running in 9651f1064c57 [2022-10-21T19:00:13.495Z] Removing intermediate container 9651f1064c57 [2022-10-21T19:00:13.495Z] ---> 4e7037765321 [2022-10-21T19:00:13.495Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-21T19:00:13.495Z] ---> Running in 0afcb28e9a97 [2022-10-21T19:00:13.754Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T19:00:14.691Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T19:00:14.950Z] OK: 211 MiB in 51 packages [2022-10-21T19:00:15.210Z] Removing intermediate container 0afcb28e9a97 [2022-10-21T19:00:15.210Z] ---> aeea5fa3c661 [2022-10-21T19:00:15.210Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-21T19:00:15.210Z] ---> Running in ddf62f2161c0 [2022-10-21T19:00:15.469Z] Removing intermediate container ddf62f2161c0 [2022-10-21T19:00:15.469Z] ---> 4dce9df52a85 [2022-10-21T19:00:15.469Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-21T19:00:15.469Z] ---> 8538b15c840a [2022-10-21T19:00:15.469Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T19:00:15.469Z] ---> Running in 0df332011abb [2022-10-21T19:00:15.617Z] Still waiting to schedule task [2022-10-21T19:00:15.617Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-21T19:00:33.579Z] Removing intermediate container 0df332011abb [2022-10-21T19:00:33.579Z] ---> 0249f4ca8384 [2022-10-21T19:00:33.579Z] Step 13/14 : COPY . . [2022-10-21T19:00:33.579Z] ---> 3de8e5ac6c8c [2022-10-21T19:00:33.579Z] Step 14/14 : RUN ${MAKE} [2022-10-21T19:00:33.579Z] ---> Running in 7474dc939293 [2022-10-21T19:00:33.579Z] noop [2022-10-21T19:00:34.146Z] Removing intermediate container 7474dc939293 [2022-10-21T19:00:34.146Z] ---> 1dc957b96017 [2022-10-21T19:00:34.146Z] Successfully built 1dc957b96017 [2022-10-21T19:00:34.146Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:00:34.449Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-21T19:00:34.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:00:34.521Z] prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container [2022-10-21T19:00:34.563Z] $ 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-21T19:00:35.103Z] $ docker top e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T19:00:35.444Z] + go version [2022-10-21T19:00:35.444Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-21T19:00:35.455Z] $ docker stop --time=1 e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab [2022-10-21T19:00:36.805Z] $ docker rm -f e0328686ce35e7b1447fe566f310f475c092bd542bc940859265360acaab0cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:00:37.205Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-21T19:00:37.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:00:37.280Z] prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container [2022-10-21T19:00:37.306Z] $ 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-21T19:00:37.716Z] $ docker top ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T19:00:38.066Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] fileExists [Pipeline] sh [2022-10-21T19:00:38.362Z] + make test [2022-10-21T19:00:38.362Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-21T19:00:38.929Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-21T19:00:51.134Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-21T19:00:51.134Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-21T19:00:51.134Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-21T19:00:51.134Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.362s coverage: 86.5% of statements [2022-10-21T19:00:59.256Z] 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-21T19:00:59.256Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-21T19:01:01.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-21T19:01:01.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-21T19:01:02.044Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-21T19:01:02.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-21T19:01:02.070Z] $ docker stop --time=1 ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c [2022-10-21T19:01:04.009Z] $ docker rm -f ad0b156a7759b1e2488064106ec63f04b34632f19b08feb5d5f30e66634e1f6c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T19:01:04.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-21T19:01:04.614Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-21T19:01:05.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-21T19:01:05.607Z] + ls -al . [2022-10-21T19:01:05.607Z] total 236 [2022-10-21T19:01:05.607Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 19:00 . [2022-10-21T19:01:05.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 .. [2022-10-21T19:01:05.607Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 19:00 .git [2022-10-21T19:01:05.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:59 .github [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 18:59 .gitignore [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 18:59 .golangci.yml [2022-10-21T19:01:05.607Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 18:59 .semver [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 18:59 Attribution.txt [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 18:59 CHANGELOG.md [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 18:59 Dockerfile [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 18:59 GOVERNANCE.md [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 18:59 Jenkinsfile [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 18:59 LICENSE [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 18:59 Makefile [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 18:59 OWNERS.md [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 18:59 README.md [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 19:00 VERSION [2022-10-21T19:01:05.607Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 18:59 bin [2022-10-21T19:01:05.607Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 18:59 cmd [2022-10-21T19:01:05.607Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 19:00 coverage.out [2022-10-21T19:01:05.607Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 18:59 doc [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 18:59 go.mod [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 18:59 go.sum [2022-10-21T19:01:05.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 internal [2022-10-21T19:01:05.607Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 18:59 snap [2022-10-21T19:01:05.607Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:01:05.909Z] + 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=525b448516f7ccbfc29b672512b49cbee4360610 --label arch=amd64 --label version=0.0.0 . [2022-10-21T19:01:05.909Z] Sending build context to Docker daemon 27.16MB [2022-10-21T19:01:05.909Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T19:01:05.909Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-21T19:01:05.909Z] ---> 1dc957b96017 [2022-10-21T19:01:05.909Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-21T19:01:06.169Z] ---> Running in 216a4f505a59 [2022-10-21T19:01:06.169Z] Removing intermediate container 216a4f505a59 [2022-10-21T19:01:06.169Z] ---> 893d1cdf508f [2022-10-21T19:01:06.169Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-21T19:01:06.429Z] ---> Running in 2069cb4bb4ba [2022-10-21T19:01:06.429Z] Removing intermediate container 2069cb4bb4ba [2022-10-21T19:01:06.429Z] ---> 6e009569484b [2022-10-21T19:01:06.429Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-21T19:01:06.429Z] ---> Running in 04b7d586fd44 [2022-10-21T19:01:06.702Z] Removing intermediate container 04b7d586fd44 [2022-10-21T19:01:06.702Z] ---> 66c84b34493f [2022-10-21T19:01:06.702Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-21T19:01:06.702Z] ---> Running in 37f87a7fd8ae [2022-10-21T19:01:06.702Z] Removing intermediate container 37f87a7fd8ae [2022-10-21T19:01:06.702Z] ---> eaaf3a97aef8 [2022-10-21T19:01:06.702Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-21T19:01:06.702Z] ---> Running in bba56eee3a19 [2022-10-21T19:01:06.962Z] Removing intermediate container bba56eee3a19 [2022-10-21T19:01:06.962Z] ---> 78e3aea093ed [2022-10-21T19:01:06.962Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T19:01:06.962Z] ---> Running in ce41c9818806 [2022-10-21T19:01:07.529Z] Removing intermediate container ce41c9818806 [2022-10-21T19:01:07.529Z] ---> e2c60a8c05b2 [2022-10-21T19:01:07.529Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-21T19:01:07.529Z] ---> Running in 850f8aa58dbf [2022-10-21T19:01:07.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T19:01:08.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T19:01:08.985Z] OK: 211 MiB in 51 packages [2022-10-21T19:01:09.244Z] Removing intermediate container 850f8aa58dbf [2022-10-21T19:01:09.244Z] ---> df2d900209fb [2022-10-21T19:01:09.244Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-21T19:01:09.244Z] ---> Running in 80d0b08a7fd2 [2022-10-21T19:01:09.503Z] Removing intermediate container 80d0b08a7fd2 [2022-10-21T19:01:09.503Z] ---> d3cb28dadce1 [2022-10-21T19:01:09.503Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-21T19:01:09.761Z] ---> f69d0fc2f4b5 [2022-10-21T19:01:09.761Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T19:01:09.761Z] ---> Running in 9692df94f57c [2022-10-21T19:01:10.326Z] Removing intermediate container 9692df94f57c [2022-10-21T19:01:10.326Z] ---> de86937f83ad [2022-10-21T19:01:10.326Z] Step 13/27 : COPY . . [2022-10-21T19:01:10.891Z] ---> ed48fdba06b5 [2022-10-21T19:01:10.891Z] Step 14/27 : RUN ${MAKE} [2022-10-21T19:01:10.891Z] ---> Running in e801142ebe8b [2022-10-21T19:01:11.149Z] 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-21T19:01:33.074Z] Removing intermediate container e801142ebe8b [2022-10-21T19:01:33.074Z] ---> 913405f85cac [2022-10-21T19:01:33.074Z] Step 15/27 : FROM alpine:3.16 [2022-10-21T19:01:33.074Z] 3.16: Pulling from library/alpine [2022-10-21T19:01:33.074Z] 213ec9aee27d: Already exists [2022-10-21T19:01:33.074Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-21T19:01:33.074Z] Status: Downloaded newer image for alpine:3.16 [2022-10-21T19:01:33.074Z] ---> 9c6f07244728 [2022-10-21T19:01:33.074Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-21T19:01:33.074Z] ---> Running in 8f10171f6857 [2022-10-21T19:01:33.074Z] Removing intermediate container 8f10171f6857 [2022-10-21T19:01:33.074Z] ---> 33739785ea7c [2022-10-21T19:01:33.074Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-21T19:01:33.074Z] ---> Running in f4adae87dcca [2022-10-21T19:01:33.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-21T19:01:33.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-21T19:01:33.074Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-21T19:01:33.074Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-21T19:01:33.074Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-21T19:01:33.074Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-21T19:01:33.074Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-21T19:01:33.074Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-21T19:01:33.074Z] Executing busybox-1.35.0-r17.trigger [2022-10-21T19:01:33.074Z] OK: 8 MiB in 20 packages [2022-10-21T19:01:33.074Z] Removing intermediate container f4adae87dcca [2022-10-21T19:01:33.074Z] ---> d7181c88af89 [2022-10-21T19:01:33.074Z] Step 18/27 : WORKDIR / [2022-10-21T19:01:33.074Z] ---> Running in fd45196ec0b4 [2022-10-21T19:01:33.074Z] Removing intermediate container fd45196ec0b4 [2022-10-21T19:01:33.074Z] ---> 740fa0d163d6 [2022-10-21T19:01:33.074Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-21T19:01:33.639Z] ---> 011c5900c141 [2022-10-21T19:01:33.639Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-21T19:01:33.897Z] ---> ba56099df71f [2022-10-21T19:01:33.897Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-21T19:01:33.897Z] ---> e32b080b0082 [2022-10-21T19:01:33.897Z] Step 22/27 : EXPOSE 59984 [2022-10-21T19:01:33.897Z] ---> Running in 47b8dcc8fb88 [2022-10-21T19:01:33.897Z] Removing intermediate container 47b8dcc8fb88 [2022-10-21T19:01:33.897Z] ---> cff7b6ea4ea7 [2022-10-21T19:01:33.897Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-21T19:01:34.156Z] ---> Running in f74559e30106 [2022-10-21T19:01:34.156Z] Removing intermediate container f74559e30106 [2022-10-21T19:01:34.156Z] ---> 3129712ef01d [2022-10-21T19:01:34.156Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-21T19:01:34.156Z] ---> Running in 83a81e2cbaf5 [2022-10-21T19:01:34.156Z] Removing intermediate container 83a81e2cbaf5 [2022-10-21T19:01:34.156Z] ---> fbad331a2fdc [2022-10-21T19:01:34.156Z] Step 25/27 : LABEL arch=amd64 [2022-10-21T19:01:34.156Z] ---> Running in 0b1e373939b8 [2022-10-21T19:01:34.414Z] Removing intermediate container 0b1e373939b8 [2022-10-21T19:01:34.414Z] ---> 3756f9dc75fc [2022-10-21T19:01:34.414Z] Step 26/27 : LABEL git_sha=525b448516f7ccbfc29b672512b49cbee4360610 [2022-10-21T19:01:34.414Z] ---> Running in 738aea0b2f4c [2022-10-21T19:01:34.414Z] Removing intermediate container 738aea0b2f4c [2022-10-21T19:01:34.414Z] ---> e20221abe874 [2022-10-21T19:01:34.414Z] Step 27/27 : LABEL version=0.0.0 [2022-10-21T19:01:34.414Z] ---> Running in 72cd1e44cbb3 [2022-10-21T19:01:34.672Z] Removing intermediate container 72cd1e44cbb3 [2022-10-21T19:01:34.672Z] ---> d3f974bf120f [2022-10-21T19:01:34.672Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-21T19:01:34.672Z] Successfully built d3f974bf120f [2022-10-21T19:01:34.672Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:01:35.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T19:01:35.113Z] [2022-10-21T19:01:35.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:01:35.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T19:01:35.406Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-21T19:01:35.406Z] 5eb5b503b376: Pulling fs layer [2022-10-21T19:01:35.406Z] 5c69ac0246d0: Pulling fs layer [2022-10-21T19:01:35.406Z] ec43610c2a17: Pulling fs layer [2022-10-21T19:01:35.406Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-21T19:01:35.406Z] 33b1e0a273af: Pulling fs layer [2022-10-21T19:01:35.406Z] 5d3b04190fa2: Pulling fs layer [2022-10-21T19:01:35.406Z] 2f39f015ded8: Pulling fs layer [2022-10-21T19:01:35.406Z] 33b1e0a273af: Waiting [2022-10-21T19:01:35.406Z] 5d3b04190fa2: Waiting [2022-10-21T19:01:35.406Z] 2f39f015ded8: Waiting [2022-10-21T19:01:35.406Z] 5c69ac0246d0: Download complete [2022-10-21T19:01:35.406Z] 3a2ae6a8a46f: Download complete [2022-10-21T19:01:35.406Z] 33b1e0a273af: Verifying Checksum [2022-10-21T19:01:35.664Z] 33b1e0a273af: Download complete [2022-10-21T19:01:35.664Z] ec43610c2a17: Verifying Checksum [2022-10-21T19:01:35.664Z] ec43610c2a17: Download complete [2022-10-21T19:01:35.664Z] 5d3b04190fa2: Verifying Checksum [2022-10-21T19:01:35.664Z] 5d3b04190fa2: Download complete [2022-10-21T19:01:35.664Z] 5eb5b503b376: Verifying Checksum [2022-10-21T19:01:35.664Z] 5eb5b503b376: Download complete [2022-10-21T19:01:36.232Z] 2f39f015ded8: Download complete [2022-10-21T19:01:36.797Z] 5eb5b503b376: Pull complete [2022-10-21T19:01:36.798Z] 5c69ac0246d0: Pull complete [2022-10-21T19:01:37.362Z] ec43610c2a17: Pull complete [2022-10-21T19:01:37.362Z] 3a2ae6a8a46f: Pull complete [2022-10-21T19:01:37.619Z] 33b1e0a273af: Pull complete [2022-10-21T19:01:37.619Z] 5d3b04190fa2: Pull complete [2022-10-21T19:01:41.800Z] 2f39f015ded8: Pull complete [2022-10-21T19:01:41.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-21T19:01:41.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T19:01:41.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:01:41.871Z] prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container [2022-10-21T19:01:41.895Z] $ 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-21T19:01:43.356Z] $ docker top 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:01:43.552Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8784 in /w/workspace/undry_device-onvif-camera_PR-180 [Pipeline] { [Pipeline] ws [2022-10-21T19:01:43.564Z] Running in /w/workspace/device-onvif-camera/9 [Pipeline] { [Pipeline] checkout [2022-10-21T19:01:43.597Z] The recommended git tool is: git [2022-10-21T19:01:43.715Z] ---> job-cost.sh [2022-10-21T19:01:43.715Z] lf-activate-venv: SKIPPING [2022-10-21T19:01:43.715Z] INFO: No Stack... [2022-10-21T19:01:43.973Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-21T19:01:44.231Z] INFO: Archiving Costs [Pipeline] sh [2022-10-21T19:01:44.513Z] + cut -d, -f6 [2022-10-21T19:01:44.513Z] + cat /w/workspace/undry_device-onvif-camera_PR-180/archives/cost.csv [Pipeline] lock [2022-10-21T19:01:44.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [2022-10-21T19:01:44.531Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] did not exist. Created. [2022-10-21T19:01:44.531Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-21T19:01:44.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-21T19:01:44.851Z] Stashed 1 file(s) [Pipeline] } [2022-10-21T19:01:44.857Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-21T19:01:44.870Z] $ docker stop --time=1 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f [2022-10-21T19:01:46.042Z] $ docker rm -f 6f28345b463073e89ba89f8ee99c769542885bd2a3bd71a82e40d34c34b45e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-21T19:01:48.433Z] using credential edgex-jenkins-ssh [2022-10-21T19:01:48.449Z] Cloning the remote Git repository [2022-10-21T19:01:48.484Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-21T19:01:48.553Z] > git init /w/workspace/device-onvif-camera/9 # timeout=10 [2022-10-21T19:01:48.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-21T19:01:48.698Z] > git --version # timeout=10 [2022-10-21T19:01:48.717Z] > git --version # 'git version 2.25.1' [2022-10-21T19:01:48.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T19:01:48.762Z] Verifying host key using known hosts file [2022-10-21T19:01:48.931Z] 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-21T19:01:48.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-21T19:01:50.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-21T19:01:50.242Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-21T19:01:51.929Z] Merging remotes/origin/main commit c32d12cb3f3d5bd786ac66f0af1d84994387a230 into PR head commit 525b448516f7ccbfc29b672512b49cbee4360610 [2022-10-21T19:01:50.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-21T19:01:51.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-21T19:01:51.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T19:01:51.047Z] Verifying host key using known hosts file [2022-10-21T19:01:51.053Z] 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-21T19:01:51.062Z] > 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-21T19:01:51.946Z] > git config core.sparsecheckout # timeout=10 [2022-10-21T19:01:51.987Z] > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 [2022-10-21T19:01:52.281Z] > git remote # timeout=10 [2022-10-21T19:01:52.375Z] Merge succeeded, producing 525b448516f7ccbfc29b672512b49cbee4360610 [2022-10-21T19:01:52.375Z] Checking out Revision 525b448516f7ccbfc29b672512b49cbee4360610 (PR-180) [2022-10-21T19:01:53.117Z] Commit message: "docs: use typing.Dict for typings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T19:01:52.299Z] > git config --get remote.origin.url # timeout=10 [2022-10-21T19:01:52.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-21T19:01:52.317Z] Verifying host key using known hosts file [2022-10-21T19:01:52.321Z] 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-21T19:01:52.330Z] > git merge c32d12cb3f3d5bd786ac66f0af1d84994387a230 # timeout=10 [2022-10-21T19:01:52.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-21T19:01:52.380Z] > git config core.sparsecheckout # timeout=10 [2022-10-21T19:01:52.390Z] > git checkout -f 525b448516f7ccbfc29b672512b49cbee4360610 # timeout=10 [2022-10-21T19:01:54.005Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-21T19:01:54.005Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-21T19:01:54.005Z] Dload Upload Total Spent Left Speed [2022-10-21T19:01:54.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-21T19:01:54.636Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-21T19:01:54.958Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-21T19:01:54.958Z] + sudo tee /etc/docker/daemon.new [2022-10-21T19:01:54.958Z] { [2022-10-21T19:01:54.958Z] "registry-mirrors": [ [2022-10-21T19:01:54.958Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-21T19:01:54.958Z] ], [2022-10-21T19:01:54.958Z] "bip": "10.250.0.254/24", [2022-10-21T19:01:54.958Z] "hosts": [ [2022-10-21T19:01:54.958Z] "tcp://0.0.0.0:5555", [2022-10-21T19:01:54.958Z] "unix:///var/run/docker.sock" [2022-10-21T19:01:54.958Z] ], [2022-10-21T19:01:54.958Z] "mtu": 1458, [2022-10-21T19:01:54.958Z] "selinux-enabled": true, [2022-10-21T19:01:54.958Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-21T19:01:54.958Z] } [Pipeline] sh [2022-10-21T19:01:55.281Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-21T19:01:55.602Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T19:02:13.851Z] provisioning config files... [2022-10-21T19:02:13.874Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/9@tmp/config4876208752091177496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:02:14.215Z] ---> docker-login.sh [2022-10-21T19:02:14.215Z] nexus3.edgexfoundry.org:10001 [2022-10-21T19:02:14.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:02:14.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:02:14.806Z] Configure a credential helper to remove this warning. See [2022-10-21T19:02:14.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:02:14.806Z] [2022-10-21T19:02:14.806Z] Login Succeeded [2022-10-21T19:02:14.806Z] nexus3.edgexfoundry.org:10002 [2022-10-21T19:02:15.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:02:15.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:02:15.074Z] Configure a credential helper to remove this warning. See [2022-10-21T19:02:15.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:02:15.074Z] [2022-10-21T19:02:15.074Z] Login Succeeded [2022-10-21T19:02:15.074Z] nexus3.edgexfoundry.org:10003 [2022-10-21T19:02:15.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:02:15.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:02:15.608Z] Configure a credential helper to remove this warning. See [2022-10-21T19:02:15.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:02:15.608Z] [2022-10-21T19:02:15.608Z] Login Succeeded [2022-10-21T19:02:15.608Z] nexus3.edgexfoundry.org:10004 [2022-10-21T19:02:15.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:02:15.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:02:15.876Z] Configure a credential helper to remove this warning. See [2022-10-21T19:02:15.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:02:15.876Z] [2022-10-21T19:02:15.876Z] Login Succeeded [2022-10-21T19:02:15.876Z] docker.io [2022-10-21T19:02:16.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-21T19:02:16.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-21T19:02:16.410Z] Configure a credential helper to remove this warning. See [2022-10-21T19:02:16.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-21T19:02:16.410Z] [2022-10-21T19:02:16.410Z] Login Succeeded [2022-10-21T19:02:16.410Z] ---> docker-login.sh ends [Pipeline] } [2022-10-21T19:02:16.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-21T19:02:16.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T19:02:16.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-21T19:02:16.585Z] ========================================================= [2022-10-21T19:02:16.585Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-21T19:02:16.585Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:02:16.923Z] + 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-21T19:02:17.508Z] Sending build context to Docker daemon 20.41MB [2022-10-21T19:02:17.508Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T19:02:17.508Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-21T19:02:17.508Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-21T19:02:17.508Z] 9b18e9b68314: Pulling fs layer [2022-10-21T19:02:17.508Z] d32db5db7311: Pulling fs layer [2022-10-21T19:02:17.508Z] d0c4b47475fc: Pulling fs layer [2022-10-21T19:02:17.508Z] 5831b945b038: Pulling fs layer [2022-10-21T19:02:17.508Z] 86bbec2aaacd: Pulling fs layer [2022-10-21T19:02:17.508Z] e10730c5d714: Pulling fs layer [2022-10-21T19:02:17.508Z] 5831b945b038: Waiting [2022-10-21T19:02:17.508Z] 5dd5c2283517: Pulling fs layer [2022-10-21T19:02:17.508Z] 86bbec2aaacd: Waiting [2022-10-21T19:02:17.508Z] d5ac0230b979: Pulling fs layer [2022-10-21T19:02:17.508Z] e10730c5d714: Waiting [2022-10-21T19:02:17.508Z] 5dd5c2283517: Waiting [2022-10-21T19:02:17.508Z] d5ac0230b979: Waiting [2022-10-21T19:02:17.508Z] d0c4b47475fc: Download complete [2022-10-21T19:02:17.508Z] d32db5db7311: Verifying Checksum [2022-10-21T19:02:17.508Z] d32db5db7311: Download complete [2022-10-21T19:02:17.774Z] 86bbec2aaacd: Verifying Checksum [2022-10-21T19:02:17.774Z] 86bbec2aaacd: Download complete [2022-10-21T19:02:17.774Z] e10730c5d714: Verifying Checksum [2022-10-21T19:02:17.775Z] e10730c5d714: Download complete [2022-10-21T19:02:17.775Z] 9b18e9b68314: Verifying Checksum [2022-10-21T19:02:17.775Z] 9b18e9b68314: Download complete [2022-10-21T19:02:18.770Z] 9b18e9b68314: Pull complete [2022-10-21T19:02:18.770Z] d5ac0230b979: Verifying Checksum [2022-10-21T19:02:18.770Z] d5ac0230b979: Download complete [2022-10-21T19:02:19.057Z] d32db5db7311: Pull complete [2022-10-21T19:02:19.328Z] d0c4b47475fc: Pull complete [2022-10-21T19:02:19.911Z] 5dd5c2283517: Verifying Checksum [2022-10-21T19:02:19.911Z] 5dd5c2283517: Download complete [2022-10-21T19:02:20.496Z] 5831b945b038: Verifying Checksum [2022-10-21T19:02:20.496Z] 5831b945b038: Download complete [2022-10-21T19:02:32.822Z] 5831b945b038: Pull complete [2022-10-21T19:02:32.822Z] 86bbec2aaacd: Pull complete [2022-10-21T19:02:32.822Z] e10730c5d714: Pull complete [2022-10-21T19:02:38.190Z] 5dd5c2283517: Pull complete [2022-10-21T19:02:40.225Z] d5ac0230b979: Pull complete [2022-10-21T19:02:40.225Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-21T19:02:40.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-21T19:02:40.225Z] ---> 59b3b1a385d4 [2022-10-21T19:02:40.225Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-21T19:02:41.633Z] ---> Running in c8fc7c515e02 [2022-10-21T19:02:42.233Z] Removing intermediate container c8fc7c515e02 [2022-10-21T19:02:42.233Z] ---> 477af9cc5d35 [2022-10-21T19:02:42.233Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-21T19:02:42.233Z] ---> Running in b4e57d91f016 [2022-10-21T19:02:42.501Z] Removing intermediate container b4e57d91f016 [2022-10-21T19:02:42.501Z] ---> 371264446a93 [2022-10-21T19:02:42.501Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-21T19:02:42.501Z] ---> Running in 2de8d28e5be6 [2022-10-21T19:02:42.768Z] Removing intermediate container 2de8d28e5be6 [2022-10-21T19:02:42.768Z] ---> c6544165c3b0 [2022-10-21T19:02:42.768Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-21T19:02:42.768Z] ---> Running in 31a893c2ae7c [2022-10-21T19:02:43.036Z] Removing intermediate container 31a893c2ae7c [2022-10-21T19:02:43.036Z] ---> 885678b41d51 [2022-10-21T19:02:43.036Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-21T19:02:43.304Z] ---> Running in fdbf61bfd5b0 [2022-10-21T19:02:43.572Z] Removing intermediate container fdbf61bfd5b0 [2022-10-21T19:02:43.572Z] ---> 52a294cda6c2 [2022-10-21T19:02:43.572Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T19:02:43.572Z] ---> Running in 14afee5757dd [2022-10-21T19:02:45.526Z] Removing intermediate container 14afee5757dd [2022-10-21T19:02:45.527Z] ---> 748a05d8925f [2022-10-21T19:02:45.527Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-21T19:02:45.527Z] ---> Running in 9f4222d92a22 [2022-10-21T19:02:46.489Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T19:02:47.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T19:02:48.034Z] OK: 221 MiB in 51 packages [2022-10-21T19:02:48.999Z] Removing intermediate container 9f4222d92a22 [2022-10-21T19:02:48.999Z] ---> 8e2942e27679 [2022-10-21T19:02:48.999Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-21T19:02:48.999Z] ---> Running in ad8c95ab6382 [2022-10-21T19:02:49.266Z] Removing intermediate container ad8c95ab6382 [2022-10-21T19:02:49.266Z] ---> f0473bb8d185 [2022-10-21T19:02:49.266Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-21T19:02:49.543Z] ---> c6b426cb16dc [2022-10-21T19:02:49.543Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T19:02:49.822Z] ---> Running in de49fd883993 [2022-10-21T19:03:36.672Z] Removing intermediate container de49fd883993 [2022-10-21T19:03:36.672Z] ---> c682b8d4e556 [2022-10-21T19:03:36.672Z] Step 13/14 : COPY . . [2022-10-21T19:03:38.092Z] ---> 2a95d2a94f5a [2022-10-21T19:03:38.092Z] Step 14/14 : RUN ${MAKE} [2022-10-21T19:03:38.092Z] ---> Running in 112b90b39188 [2022-10-21T19:03:39.054Z] noop [2022-10-21T19:03:39.637Z] Removing intermediate container 112b90b39188 [2022-10-21T19:03:39.637Z] ---> 4ee663d092b9 [2022-10-21T19:03:39.637Z] Successfully built 4ee663d092b9 [2022-10-21T19:03:39.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:03:39.992Z] + docker inspect -f . ci-base-image-arm64 [2022-10-21T19:03:39.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:03:40.158Z] prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container [2022-10-21T19:03:40.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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-21T19:03:41.388Z] $ docker top 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T19:03:42.198Z] + go version [2022-10-21T19:03:42.198Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-21T19:03:42.221Z] $ docker stop --time=1 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 [2022-10-21T19:03:43.859Z] $ docker rm -f 619f673d367c5ffe1e90695ef0542b52ab59c58d410b095ecae924fc649cd9b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:03:44.416Z] + docker inspect -f . ci-base-image-arm64 [2022-10-21T19:03:44.416Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:03:44.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container [2022-10-21T19:03:44.661Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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-21T19:03:45.817Z] $ docker top a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T19:03:46.320Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/9 [Pipeline] fileExists [Pipeline] sh [2022-10-21T19:03:46.648Z] + make test [2022-10-21T19:03:46.648Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-21T19:03:48.613Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-21T19:05:25.273Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-21T19:05:25.273Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.186s coverage: 28.2% of statements [2022-10-21T19:05:25.273Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-21T19:05:43.479Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.580s coverage: 86.5% of statements [2022-10-21T19:05:43.479Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-21T19:05:43.479Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-21T19:06:05.545Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-21T19:06:05.545Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-21T19:06:05.545Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-21T19:06:05.563Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-21T19:06:05.581Z] $ docker stop --time=1 a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 [2022-10-21T19:06:08.519Z] $ docker rm -f a8e520292098dd611e50c928f4b694ff89406619d362e9d46d7a115b403f0813 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-21T19:06:09.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-21T19:06:09.677Z] Warning: overwriting stash ‘coverage-report’ [2022-10-21T19:06:10.141Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-21T19:06:10.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-21T19:06:10.834Z] + ls -al . [2022-10-21T19:06:10.835Z] total 232 [2022-10-21T19:06:10.835Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 21 19:03 . [2022-10-21T19:06:10.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 .. [2022-10-21T19:06:10.835Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 19:01 .git [2022-10-21T19:06:10.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 19:01 .github [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 21 19:01 .gitignore [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 19:01 .golangci.yml [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 21 19:01 Attribution.txt [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 21 19:01 CHANGELOG.md [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 21 19:01 Dockerfile [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 19:01 GOVERNANCE.md [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 21 19:01 Jenkinsfile [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 21 19:01 LICENSE [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 21 19:01 Makefile [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 21 19:01 OWNERS.md [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 21 19:01 README.md [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 19:00 VERSION [2022-10-21T19:06:10.835Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 19:01 bin [2022-10-21T19:06:10.835Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 19:01 cmd [2022-10-21T19:06:10.835Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 21 19:05 coverage.out [2022-10-21T19:06:10.835Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 19:01 doc [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 21 19:01 go.mod [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 21 19:01 go.sum [2022-10-21T19:06:10.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 internal [2022-10-21T19:06:10.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 19:01 snap [2022-10-21T19:06:10.835Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 21 19:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:06:11.180Z] + 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=525b448516f7ccbfc29b672512b49cbee4360610 --label arch=arm64 --label version=0.0.0 . [2022-10-21T19:06:11.782Z] Sending build context to Docker daemon 20.49MB [2022-10-21T19:06:11.782Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-21T19:06:11.782Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-21T19:06:11.782Z] ---> 4ee663d092b9 [2022-10-21T19:06:11.782Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-21T19:06:12.048Z] ---> Running in 344cc56576b8 [2022-10-21T19:06:12.319Z] Removing intermediate container 344cc56576b8 [2022-10-21T19:06:12.319Z] ---> 5b246f7b189d [2022-10-21T19:06:12.319Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-21T19:06:12.319Z] ---> Running in 512fa3a8d392 [2022-10-21T19:06:12.903Z] Removing intermediate container 512fa3a8d392 [2022-10-21T19:06:12.903Z] ---> 1e798a6b928b [2022-10-21T19:06:12.903Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-21T19:06:12.903Z] ---> Running in dd2a0e575c59 [2022-10-21T19:06:13.171Z] Removing intermediate container dd2a0e575c59 [2022-10-21T19:06:13.171Z] ---> 9a40f0b6f6c7 [2022-10-21T19:06:13.171Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-21T19:06:13.171Z] ---> Running in f822ae7d482b [2022-10-21T19:06:13.439Z] Removing intermediate container f822ae7d482b [2022-10-21T19:06:13.439Z] ---> 2de1ef17f44e [2022-10-21T19:06:13.439Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-21T19:06:13.439Z] ---> Running in 7cb7d65fb14c [2022-10-21T19:06:14.048Z] Removing intermediate container 7cb7d65fb14c [2022-10-21T19:06:14.048Z] ---> cad5058d7615 [2022-10-21T19:06:14.048Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-21T19:06:14.048Z] ---> Running in a0ea1d297ee6 [2022-10-21T19:06:15.995Z] Removing intermediate container a0ea1d297ee6 [2022-10-21T19:06:15.995Z] ---> 7fe12c37ccbf [2022-10-21T19:06:15.995Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-21T19:06:15.995Z] ---> Running in 8094c6bf46b5 [2022-10-21T19:06:16.959Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T19:06:17.924Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T19:06:18.894Z] OK: 221 MiB in 51 packages [2022-10-21T19:06:19.863Z] Removing intermediate container 8094c6bf46b5 [2022-10-21T19:06:19.863Z] ---> 20b4aca92512 [2022-10-21T19:06:19.863Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-21T19:06:19.863Z] ---> Running in 41bc639734b9 [2022-10-21T19:06:20.448Z] Removing intermediate container 41bc639734b9 [2022-10-21T19:06:20.448Z] ---> 282d7b8eba9e [2022-10-21T19:06:20.448Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-21T19:06:21.407Z] ---> 933e110ce687 [2022-10-21T19:06:21.407Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-21T19:06:21.407Z] ---> Running in aaafaef908ed [2022-10-21T19:06:23.985Z] Removing intermediate container aaafaef908ed [2022-10-21T19:06:23.985Z] ---> 69760966e378 [2022-10-21T19:06:23.985Z] Step 13/27 : COPY . . [2022-10-21T19:06:25.932Z] ---> 48800f4b4cc5 [2022-10-21T19:06:25.932Z] Step 14/27 : RUN ${MAKE} [2022-10-21T19:06:25.932Z] ---> Running in aff5f2109897 [2022-10-21T19:06:26.895Z] 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-21T19:09:03.605Z] Removing intermediate container aff5f2109897 [2022-10-21T19:09:03.605Z] ---> b8c67a91632a [2022-10-21T19:09:03.605Z] Step 15/27 : FROM alpine:3.16 [2022-10-21T19:09:03.605Z] 3.16: Pulling from library/alpine [2022-10-21T19:09:03.605Z] 9b18e9b68314: Already exists [2022-10-21T19:09:03.605Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-21T19:09:03.605Z] Status: Downloaded newer image for alpine:3.16 [2022-10-21T19:09:03.605Z] ---> a6215f271958 [2022-10-21T19:09:03.605Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-21T19:09:03.605Z] ---> Running in ccc64930b020 [2022-10-21T19:09:03.605Z] Removing intermediate container ccc64930b020 [2022-10-21T19:09:03.605Z] ---> 780d5d3a9277 [2022-10-21T19:09:03.605Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-21T19:09:03.605Z] ---> Running in 6268b3aea6b3 [2022-10-21T19:09:03.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-21T19:09:03.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-21T19:09:03.605Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-21T19:09:03.605Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-21T19:09:03.605Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-21T19:09:03.605Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-21T19:09:03.605Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-21T19:09:03.605Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-21T19:09:03.605Z] Executing busybox-1.35.0-r17.trigger [2022-10-21T19:09:03.605Z] OK: 8 MiB in 20 packages [2022-10-21T19:09:03.605Z] Removing intermediate container 6268b3aea6b3 [2022-10-21T19:09:03.605Z] ---> 4123f0fd88c2 [2022-10-21T19:09:03.605Z] Step 18/27 : WORKDIR / [2022-10-21T19:09:03.605Z] ---> Running in 7181fe0e3586 [2022-10-21T19:09:03.605Z] Removing intermediate container 7181fe0e3586 [2022-10-21T19:09:03.605Z] ---> 3328cc3a7e1e [2022-10-21T19:09:03.605Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-21T19:09:03.605Z] ---> cdab6a620032 [2022-10-21T19:09:03.605Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-21T19:09:03.605Z] ---> 329acb25a0d8 [2022-10-21T19:09:03.605Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-21T19:09:03.605Z] ---> aa34d09dbce0 [2022-10-21T19:09:03.605Z] Step 22/27 : EXPOSE 59984 [2022-10-21T19:09:03.605Z] ---> Running in fd4799955937 [2022-10-21T19:09:03.605Z] Removing intermediate container fd4799955937 [2022-10-21T19:09:03.605Z] ---> 8d0a94eb567a [2022-10-21T19:09:03.605Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-21T19:09:03.605Z] ---> Running in 66565316b0e4 [2022-10-21T19:09:03.605Z] Removing intermediate container 66565316b0e4 [2022-10-21T19:09:03.605Z] ---> 874c2b59745d [2022-10-21T19:09:03.605Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-21T19:09:03.605Z] ---> Running in 6b134cbf6ad4 [2022-10-21T19:09:03.605Z] Removing intermediate container 6b134cbf6ad4 [2022-10-21T19:09:03.605Z] ---> ebb3a01325fd [2022-10-21T19:09:03.605Z] Step 25/27 : LABEL arch=arm64 [2022-10-21T19:09:03.605Z] ---> Running in 14258a829f8a [2022-10-21T19:09:03.605Z] Removing intermediate container 14258a829f8a [2022-10-21T19:09:03.605Z] ---> 39c01a20c728 [2022-10-21T19:09:03.605Z] Step 26/27 : LABEL git_sha=525b448516f7ccbfc29b672512b49cbee4360610 [2022-10-21T19:09:03.605Z] ---> Running in 0670d1b93d4a [2022-10-21T19:09:03.605Z] Removing intermediate container 0670d1b93d4a [2022-10-21T19:09:03.605Z] ---> 575b8d3213d0 [2022-10-21T19:09:03.605Z] Step 27/27 : LABEL version=0.0.0 [2022-10-21T19:09:03.605Z] ---> Running in b7dd4603deba [2022-10-21T19:09:03.605Z] Removing intermediate container b7dd4603deba [2022-10-21T19:09:03.605Z] ---> 61132bdc59f7 [2022-10-21T19:09:03.605Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-21T19:09:03.605Z] Successfully built 61132bdc59f7 [2022-10-21T19:09:03.605Z] 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-21T19:09:04.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T19:09:04.018Z] [2022-10-21T19:09:04.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:09:04.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T19:09:04.344Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-21T19:09:04.344Z] 8998bd30e6a1: Pulling fs layer [2022-10-21T19:09:04.344Z] 04944245beec: Pulling fs layer [2022-10-21T19:09:04.344Z] 699f458cf7ca: Pulling fs layer [2022-10-21T19:09:04.344Z] 765212b225bb: Pulling fs layer [2022-10-21T19:09:04.344Z] f23df028b6ca: Pulling fs layer [2022-10-21T19:09:04.344Z] d65c8cfc05b1: Pulling fs layer [2022-10-21T19:09:04.344Z] 2437ff75d9bd: Pulling fs layer [2022-10-21T19:09:04.344Z] 765212b225bb: Waiting [2022-10-21T19:09:04.344Z] f23df028b6ca: Waiting [2022-10-21T19:09:04.344Z] 2437ff75d9bd: Waiting [2022-10-21T19:09:04.344Z] d65c8cfc05b1: Waiting [2022-10-21T19:09:04.611Z] 04944245beec: Verifying Checksum [2022-10-21T19:09:04.611Z] 04944245beec: Download complete [2022-10-21T19:09:04.611Z] 765212b225bb: Verifying Checksum [2022-10-21T19:09:04.611Z] 765212b225bb: Download complete [2022-10-21T19:09:04.611Z] f23df028b6ca: Verifying Checksum [2022-10-21T19:09:04.611Z] f23df028b6ca: Download complete [2022-10-21T19:09:04.611Z] d65c8cfc05b1: Verifying Checksum [2022-10-21T19:09:04.611Z] d65c8cfc05b1: Download complete [2022-10-21T19:09:04.611Z] 699f458cf7ca: Verifying Checksum [2022-10-21T19:09:04.611Z] 699f458cf7ca: Download complete [2022-10-21T19:09:05.197Z] 8998bd30e6a1: Verifying Checksum [2022-10-21T19:09:05.197Z] 8998bd30e6a1: Download complete [2022-10-21T19:09:07.253Z] 2437ff75d9bd: Verifying Checksum [2022-10-21T19:09:07.253Z] 2437ff75d9bd: Download complete [2022-10-21T19:09:09.225Z] 8998bd30e6a1: Pull complete [2022-10-21T19:09:09.506Z] 04944245beec: Pull complete [2022-10-21T19:09:10.933Z] 699f458cf7ca: Pull complete [2022-10-21T19:09:11.200Z] 765212b225bb: Pull complete [2022-10-21T19:09:11.782Z] f23df028b6ca: Pull complete [2022-10-21T19:09:12.051Z] d65c8cfc05b1: Pull complete [2022-10-21T19:09:27.043Z] 2437ff75d9bd: Pull complete [2022-10-21T19:09:27.043Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-21T19:09:27.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-21T19:09:27.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:09:27.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-8784 does not seem to be running inside a container [2022-10-21T19:09:27.281Z] $ 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/9 -v /w/workspace/device-onvif-camera/9:/w/workspace/device-onvif-camera/9:rw,z -v /w/workspace/device-onvif-camera/9@tmp:/w/workspace/device-onvif-camera/9@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-21T19:09:29.716Z] $ docker top 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:30.207Z] ---> job-cost.sh [2022-10-21T19:09:30.471Z] lf-activate-venv: SKIPPING [2022-10-21T19:09:30.471Z] INFO: No Stack... [2022-10-21T19:09:30.735Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-21T19:09:31.688Z] INFO: Archiving Costs [Pipeline] sh [2022-10-21T19:09:31.999Z] + cat /w/workspace/device-onvif-camera/9/archives/cost.csv [2022-10-21T19:09:31.999Z] + cut -d, -f6 [Pipeline] lock [2022-10-21T19:09:32.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [2022-10-21T19:09:32.061Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] did not exist. Created. [2022-10-21T19:09:32.061Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-21T19:09:32.400Z] /w/workspace/device-onvif-camera/9@tmp/durable-e09cf4b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-21T19:09:32.734Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-21T19:09:32.754Z] Warning: overwriting stash ‘stack-cost’ [2022-10-21T19:09:32.814Z] Stashed 1 file(s) [Pipeline] } [2022-10-21T19:09:32.820Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-180-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-21T19:09:32.844Z] $ docker stop --time=1 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 [2022-10-21T19:09:34.280Z] $ docker rm -f 3dabe5220612f4d85a9d75beb4046c2525892c5e264b28654d488532b71c05d3 [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-21T19:09:34.596Z] provisioning config files... [2022-10-21T19:09:34.604Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config15760072367657581329tmp [Pipeline] { [Pipeline] sh [2022-10-21T19:09:34.891Z] + set +x [2022-10-21T19:09:34.891Z] + + curl -sbash https://codecov.io/bash -s [2022-10-21T19:09:34.891Z] -- [2022-10-21T19:09:34.891Z] [2022-10-21T19:09:34.891Z] _____ _ [2022-10-21T19:09:34.891Z] / ____| | | [2022-10-21T19:09:34.891Z] | | ___ __| | ___ ___ _____ __ [2022-10-21T19:09:34.891Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-21T19:09:34.891Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-21T19:09:34.891Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-21T19:09:34.891Z] Bash-1.0.6 [2022-10-21T19:09:34.891Z] [2022-10-21T19:09:34.891Z] [2022-10-21T19:09:34.891Z] ==> git version 2.25.1 found [2022-10-21T19:09:34.892Z] ==> 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-21T19:09:34.892Z] Release-Date: 2020-01-08 [2022-10-21T19:09:34.892Z] 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-21T19:09:34.892Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-21T19:09:34.892Z] ==> Jenkins CI detected. [2022-10-21T19:09:34.892Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-180 [2022-10-21T19:09:34.892Z] project root: . [2022-10-21T19:09:34.892Z] --> token set from env [2022-10-21T19:09:34.892Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-21T19:09:34.892Z] ==> Running gcov in . (disable via -X gcov) [2022-10-21T19:09:34.892Z] ==> Python coveragepy not found [2022-10-21T19:09:34.892Z] ==> Searching for coverage reports in: [2022-10-21T19:09:34.892Z] + . [2022-10-21T19:09:34.892Z] -> Found 1 reports [2022-10-21T19:09:34.892Z] ==> Detecting git/mercurial file structure [2022-10-21T19:09:34.892Z] ==> Reading reports [2022-10-21T19:09:35.149Z] + ./coverage.out bytes=78636 [2022-10-21T19:09:35.149Z] ==> Appending adjustments [2022-10-21T19:09:35.149Z] https://docs.codecov.io/docs/fixing-reports [2022-10-21T19:09:35.149Z] + Found adjustments [2022-10-21T19:09:35.149Z] ==> Gzipping contents [2022-10-21T19:09:35.149Z] 12K /tmp/codecov.wvmxJb.gz [2022-10-21T19:09:35.149Z] ==> Uploading reports [2022-10-21T19:09:35.149Z] url: https://codecov.io [2022-10-21T19:09:35.149Z] query: branch=PR-180&commit=525b448516f7ccbfc29b672512b49cbee4360610&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-21T19:09:35.149Z] -> Pinging Codecov [2022-10-21T19:09:35.149Z] 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=525b448516f7ccbfc29b672512b49cbee4360610&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-180%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=180&job=&cmd_args= [2022-10-21T19:09:35.715Z] -> Uploading to [2022-10-21T19:09:35.715Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-21/F29A59C45E3A92E06B3E522C9905F8EF/525b448516f7ccbfc29b672512b49cbee4360610/ebcdd996-f074-419d-b2ff-5261fa8acadf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T190935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f26ba4143e80d479587d403b07970b32ca69dc08287ce83fcf115a8877dd513f [2022-10-21T19:09:35.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-21T19:09:35.715Z] Dload Upload Total Spent Left Speed [2022-10-21T19:09:35.715Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10794 0 0 100 10794 0 53172 --:--:-- --:--:-- --:--:-- 52911 100 10794 0 0 100 10794 0 43700 --:--:-- --:--:-- --:--:-- 43524 [2022-10-21T19:09:35.715Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/525b448516f7ccbfc29b672512b49cbee4360610 [Pipeline] } [2022-10-21T19:09:35.722Z] 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-21T19:09:36.379Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-180/archives ] [2022-10-21T19:09:36.379Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-21T19:09:36.379Z] total 16 [2022-10-21T19:09:36.379Z] drwxr-xr-x 3 root root 4096 Oct 21 19:01 . [2022-10-21T19:09:36.379Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 19:01 .. [2022-10-21T19:09:36.379Z] drwxr-xr-x 2 root root 4096 Oct 21 19:01 cost [2022-10-21T19:09:36.379Z] -rw-r--r-- 1 root root 91 Oct 21 19:01 cost.csv [2022-10-21T19:09:36.380Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-21T19:09:36.380Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-180/archives [2022-10-21T19:09:36.380Z] total 16 [2022-10-21T19:09:36.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 19:01 . [2022-10-21T19:09:36.380Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 19:01 .. [2022-10-21T19:09:36.380Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 19:01 cost [2022-10-21T19:09:36.380Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 21 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:36.664Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:37.517Z] ---> package-listing.sh [2022-10-21T19:09:37.517Z] ++ facter osfamily [2022-10-21T19:09:37.517Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-21T19:09:37.776Z] + OS_FAMILY=debian [2022-10-21T19:09:37.776Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-180 [2022-10-21T19:09:37.776Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-21T19:09:37.776Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-21T19:09:37.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-21T19:09:37.776Z] + PACKAGES=/tmp/packages_start.txt [2022-10-21T19:09:37.776Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-21T19:09:37.776Z] + PACKAGES=/tmp/packages_end.txt [2022-10-21T19:09:37.776Z] + case "${OS_FAMILY}" in [2022-10-21T19:09:37.776Z] + dpkg -l [2022-10-21T19:09:37.776Z] + grep '^ii' [2022-10-21T19:09:37.776Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-21T19:09:37.776Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-21T19:09:37.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-21T19:09:37.776Z] + '[' /w/workspace/undry_device-onvif-camera_PR-180 ']' [2022-10-21T19:09:37.776Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-180/archives/ [2022-10-21T19:09:37.776Z] + 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-21T19:09:37.786Z] 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-21T19:09:38.062Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-21T19:09:38.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-21T19:09:38.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-21T19:09:38.689Z] prd-ubuntu20.04-docker-8c-8g-8783 does not seem to be running inside a container [2022-10-21T19:09:38.710Z] $ 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-21T19:09:38.979Z] $ docker top 56b5998e9c449c24ae3ca86dc5643b93251463341336da707cfdfa5cb23bb8fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-21T19:09:39.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-21T19:09:39.604Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-21T19:09:39.888Z] + ls /var/log/sa-host [2022-10-21T19:09:39.888Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-21T19:09:39.952Z] provisioning config files... [2022-10-21T19:09:39.961Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-180@tmp/config14749618621552533719tmp [Pipeline] { [Pipeline] echo [2022-10-21T19:09:39.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:40.254Z] ---> create-netrc.sh [Pipeline] } [2022-10-21T19:09:40.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:40.584Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-21T19:09:40.595Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:40.877Z] ---> sudo-logs.sh [2022-10-21T19:09:40.877Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-21T19:09:40.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:41.191Z] ---> job-cost.sh [2022-10-21T19:09:41.191Z] lf-activate-venv: SKIPPING [2022-10-21T19:09:41.191Z] DEBUG: total: 0.2199999988079071 [2022-10-21T19:09:41.191Z] INFO: Retrieving Stack Cost... [2022-10-21T19:09:41.451Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-21T19:09:42.027Z] INFO: Archiving Costs [Pipeline] echo [2022-10-21T19:09:42.039Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-21T19:09:42.324Z] ---> logs-deploy.sh [2022-10-21T19:09:42.324Z] lf-activate-venv: SKIPPING [2022-10-21T19:09:42.324Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-180/9 [2022-10-21T19:09:42.324Z] INFO: archiving workspace using pattern(s): [2022-10-21T19:09:43.260Z] Archives upload complete. [2022-10-21T19:09:43.520Z] INFO: archiving logs to Nexus