Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dffb7f2740dabbc09a199987319937f43974e7a+dcb5ff70d07d89643353ce084bf74e7176a8b088 (97d57a045033e76f8c3fe42321cf55324e39d242) 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-ssh17186237247153498579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1706939775216119494.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-267/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-267/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10665001090023702420.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15403633418661172218.key > 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-267/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-267/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15472350536656451365.key > 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2528 in /w/workspace/undry_device-onvif-camera_PR-267 [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-267 # 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 > 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 Merging remotes/origin/main commit dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit 8dffb7f2740dabbc09a199987319937f43974e7a Merge succeeded, producing 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 Checking out Revision 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 (PR-267) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dffb7f2740dabbc09a199987319937f43974e7a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 # timeout=10 Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" > git rev-list --no-walk 8dffb7f2740dabbc09a199987319937f43974e7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T22:11:25.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T22:11:25.784Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T22:11:25.797Z] ========================================================= [2023-03-16T22:11:25.797Z] EdgeX Global Pipelines Version Info [2023-03-16T22:11:25.797Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:26.521Z] ------------------- [2023-03-16T22:11:26.521Z] stable info: [2023-03-16T22:11:26.521Z] ------------------- [2023-03-16T22:11:26.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T22:11:26.521Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T22:11:26.521Z] Message: update stable to v1.0.245 [2023-03-16T22:11:27.095Z] ------------------- [2023-03-16T22:11:27.095Z] experimental info: [2023-03-16T22:11:27.095Z] ------------------- [2023-03-16T22:11:27.095Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T22:11:27.095Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T22:11:27.095Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T22:11:27.327Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T22:11:27.340Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T22:11:27.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T22:11:27.361Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T22:11:27.373Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T22:11:27.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T22:11:27.398Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T22:11:27.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T22:11:27.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T22:11:27.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T22:11:27.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T22:11:27.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T22:11:27.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T22:11:27.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T22:11:27.510Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T22:11:27.579Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T22:11:27.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T22:11:27.603Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T22:11:27.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T22:11:27.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T22:11:27.637Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T22:11:27.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T22:11:27.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T22:11:27.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T22:11:27.692Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T22:11:27.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T22:11:27.719Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T22:11:27.730Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-267 [Pipeline] echo [2023-03-16T22:11:27.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-267 [Pipeline] echo [2023-03-16T22:11:27.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-267 [Pipeline] echo [2023-03-16T22:11:27.767Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [Pipeline] echo [2023-03-16T22:11:27.778Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ab607e [Pipeline] echo [2023-03-16T22:11:27.792Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:11:27.835Z] provisioning config files... [2023-03-16T22:11:27.847Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config4982002879412672254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:28.148Z] ---> docker-login.sh [2023-03-16T22:11:28.148Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:11:28.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:28.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:28.408Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:28.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:28.408Z] [2023-03-16T22:11:28.408Z] Login Succeeded [2023-03-16T22:11:28.408Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:11:28.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:28.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:28.668Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:28.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:28.668Z] [2023-03-16T22:11:28.668Z] Login Succeeded [2023-03-16T22:11:28.668Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:11:28.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:28.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:28.668Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:28.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:28.668Z] [2023-03-16T22:11:28.668Z] Login Succeeded [2023-03-16T22:11:28.668Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:11:28.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:28.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:28.668Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:28.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:28.668Z] [2023-03-16T22:11:28.668Z] Login Succeeded [2023-03-16T22:11:28.668Z] docker.io [2023-03-16T22:11:28.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:28.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:28.928Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:28.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:28.928Z] [2023-03-16T22:11:28.928Z] Login Succeeded [2023-03-16T22:11:28.928Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:11:28.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T22:11:29.298Z] + git rev-list -1 --merges 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688~1..7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [Pipeline] echo [2023-03-16T22:11:29.342Z] -----------> git rev-list -1 --merges 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688~1..7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [2023-03-16T22:11:29.342Z] 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [false] [Pipeline] sh [2023-03-16T22:11:29.628Z] + git log --format=format:%s -1 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [Pipeline] echo [2023-03-16T22:11:29.641Z] ========================================================= [2023-03-16T22:11:29.641Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T22:11:29.641Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T22:11:29.952Z] + git log --format=format:%s -1 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688 [Pipeline] echo [2023-03-16T22:11:29.963Z] [semverPrep] GIT_COMMIT: 7ab607ea8ec15b81c9c5b78046b2a4c1a95dd688, Commit Message: Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD [Pipeline] echo [2023-03-16T22:11:29.973Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T22:11:30.313Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T22:11:30.313Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T22:11:30.313Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T22:11:30.313Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T22:11:30.313Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T22:11:30.313Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T22:11:30.313Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:30.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:30.661Z] [2023-03-16T22:11:30.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:30.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:30.987Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T22:11:30.987Z] b85a868b505f: Pulling fs layer [2023-03-16T22:11:30.987Z] e2be974225ed: Pulling fs layer [2023-03-16T22:11:30.987Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T22:11:30.987Z] 988bab9f4d93: Pulling fs layer [2023-03-16T22:11:30.987Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T22:11:30.987Z] eaf3925da568: Pulling fs layer [2023-03-16T22:11:30.987Z] bab4dde63d76: Pulling fs layer [2023-03-16T22:11:30.987Z] bde34c3a00c8: Pulling fs layer [2023-03-16T22:11:30.987Z] b352a97aabf1: Pulling fs layer [2023-03-16T22:11:30.987Z] 4872d77fe225: Pulling fs layer [2023-03-16T22:11:30.987Z] 5851b861e8e6: Pulling fs layer [2023-03-16T22:11:30.987Z] bab4dde63d76: Waiting [2023-03-16T22:11:30.987Z] bde34c3a00c8: Waiting [2023-03-16T22:11:30.987Z] 4872d77fe225: Waiting [2023-03-16T22:11:30.987Z] 5851b861e8e6: Waiting [2023-03-16T22:11:30.987Z] b352a97aabf1: Waiting [2023-03-16T22:11:30.987Z] 988bab9f4d93: Waiting [2023-03-16T22:11:30.987Z] 1469e6f7b9e6: Waiting [2023-03-16T22:11:30.987Z] eaf3925da568: Waiting [2023-03-16T22:11:30.987Z] e2be974225ed: Verifying Checksum [2023-03-16T22:11:30.987Z] e2be974225ed: Download complete [2023-03-16T22:11:30.987Z] 988bab9f4d93: Download complete [2023-03-16T22:11:31.247Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T22:11:31.247Z] 339a4e72a1f5: Download complete [2023-03-16T22:11:31.247Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T22:11:31.247Z] 1469e6f7b9e6: Download complete [2023-03-16T22:11:31.247Z] eaf3925da568: Verifying Checksum [2023-03-16T22:11:31.247Z] eaf3925da568: Download complete [2023-03-16T22:11:31.247Z] bde34c3a00c8: Verifying Checksum [2023-03-16T22:11:31.247Z] bde34c3a00c8: Download complete [2023-03-16T22:11:31.247Z] b352a97aabf1: Verifying Checksum [2023-03-16T22:11:31.247Z] b352a97aabf1: Download complete [2023-03-16T22:11:31.247Z] 4872d77fe225: Verifying Checksum [2023-03-16T22:11:31.247Z] 4872d77fe225: Download complete [2023-03-16T22:11:31.247Z] 5851b861e8e6: Download complete [2023-03-16T22:11:31.247Z] b85a868b505f: Verifying Checksum [2023-03-16T22:11:31.247Z] b85a868b505f: Download complete [2023-03-16T22:11:31.505Z] bab4dde63d76: Verifying Checksum [2023-03-16T22:11:31.505Z] bab4dde63d76: Download complete [2023-03-16T22:11:32.440Z] b85a868b505f: Pull complete [2023-03-16T22:11:32.698Z] e2be974225ed: Pull complete [2023-03-16T22:11:32.967Z] 339a4e72a1f5: Pull complete [2023-03-16T22:11:33.226Z] 988bab9f4d93: Pull complete [2023-03-16T22:11:33.484Z] 1469e6f7b9e6: Pull complete [2023-03-16T22:11:33.484Z] eaf3925da568: Pull complete [2023-03-16T22:11:35.389Z] bab4dde63d76: Pull complete [2023-03-16T22:11:35.389Z] bde34c3a00c8: Pull complete [2023-03-16T22:11:35.389Z] b352a97aabf1: Pull complete [2023-03-16T22:11:35.389Z] 4872d77fe225: Pull complete [2023-03-16T22:11:35.389Z] 5851b861e8e6: Pull complete [2023-03-16T22:11:35.389Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T22:11:35.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:35.389Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:11:35.491Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2023-03-16T22:11:35.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T22:11:38.241Z] $ docker top f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 -eo pid,comm [2023-03-16T22:11:38.290Z] 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). [2023-03-16T22:11:38.290Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T22:11:38.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T22:11:38.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T22:11:38.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T22:11:38.441Z] $ docker exec f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 ssh-agent [2023-03-16T22:11:38.554Z] SSH_AUTH_SOCK=/tmp/ssh-hmrKA2ZPQFNV/agent.32 [2023-03-16T22:11:38.554Z] SSH_AGENT_PID=38 [2023-03-16T22:11:38.560Z] Running ssh-add (command line suppressed) [2023-03-16T22:11:38.649Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_14062581940733906355.key (/w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_14062581940733906355.key) [2023-03-16T22:11:38.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T22:11:38.949Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T22:11:38.961Z] $ docker exec --env ******** --env ******** f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 ssh-agent -k [2023-03-16T22:11:39.056Z] unset SSH_AUTH_SOCK; [2023-03-16T22:11:39.057Z] unset SSH_AGENT_PID; [2023-03-16T22:11:39.057Z] echo Agent pid 38 killed; [2023-03-16T22:11:39.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T22:11:39.092Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T22:11:39.092Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T22:11:39.218Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T22:11:39.217Z] $ docker exec f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 ssh-agent [2023-03-16T22:11:39.346Z] SSH_AUTH_SOCK=/tmp/ssh-wdd92tA397hp/agent.70 [2023-03-16T22:11:39.346Z] SSH_AGENT_PID=76 [2023-03-16T22:11:39.351Z] Running ssh-add (command line suppressed) [2023-03-16T22:11:39.462Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_13492381624366911922.key (/w/workspace/undry_device-onvif-camera_PR-267@tmp/private_key_13492381624366911922.key) [2023-03-16T22:11:39.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T22:11:39.773Z] + git semver init [2023-03-16T22:11:40.032Z] 2023-03-16 22:11:39,966 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T22:11:40.032Z] 2023-03-16 22:11:39,967 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-267/.semver [2023-03-16T22:11:40.032Z] 2023-03-16 22:11:39,967 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-267/.semver [2023-03-16T22:11:40.032Z] 2023-03-16 22:11:39,967 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-267/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-267, universal_newlines=False, shell=None, istream=None) [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,842 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-267/.git/info/exclude [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,843 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 with force:False [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,843 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,847 [execute] INFO git cat-file --batch-check [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,853 [execute] INFO git cat-file --batch [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-267/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T22:11:40.969Z] 2023-03-16 22:11:40,858 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-267/.semver/PR-267 [2023-03-16T22:11:40.969Z] 0.0.0 [Pipeline] } [2023-03-16T22:11:40.975Z] $ docker exec --env ******** --env ******** f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 ssh-agent -k [2023-03-16T22:11:41.084Z] unset SSH_AUTH_SOCK; [2023-03-16T22:11:41.084Z] unset SSH_AGENT_PID; [2023-03-16T22:11:41.084Z] echo Agent pid 76 killed; [2023-03-16T22:11:41.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T22:11:41.404Z] + git semver [Pipeline] } [2023-03-16T22:11:41.671Z] $ docker stop --time=1 f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 [2023-03-16T22:11:42.961Z] $ docker rm -f --volumes f0cb6fbe2e4bdf64a6e4205d4a3d3b857b79c45a1018ad12f9e32b1d90e76578 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T22:11:43.310Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T22:11:43.517Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T22:11:43.519Z] [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 [2023-03-16T22:11:43.653Z] provisioning config files... [2023-03-16T22:11:43.659Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config7463798713180521705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:43.947Z] ---> docker-login.sh [2023-03-16T22:11:43.947Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:11:43.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:43.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:43.947Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:43.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:43.947Z] [2023-03-16T22:11:43.947Z] Login Succeeded [2023-03-16T22:11:43.947Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:11:43.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:43.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:43.947Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:43.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:43.947Z] [2023-03-16T22:11:43.947Z] Login Succeeded [2023-03-16T22:11:43.947Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:11:44.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:44.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:44.206Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:44.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:44.206Z] [2023-03-16T22:11:44.206Z] Login Succeeded [2023-03-16T22:11:44.206Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:11:44.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:44.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:44.206Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:44.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:44.206Z] [2023-03-16T22:11:44.206Z] Login Succeeded [2023-03-16T22:11:44.206Z] docker.io [2023-03-16T22:11:44.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:44.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:44.465Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:44.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:44.465Z] [2023-03-16T22:11:44.465Z] Login Succeeded [2023-03-16T22:11:44.465Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:11:44.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T22:11:44.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:11:44.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:11:44.544Z] ========================================================= [2023-03-16T22:11:44.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T22:11:44.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:44.860Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T22:11:44.860Z] Sending build context to Docker daemon 27.87MB [2023-03-16T22:11:44.860Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T22:11:44.860Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T22:11:45.122Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T22:11:45.122Z] 63b65145d645: Pulling fs layer [2023-03-16T22:11:45.122Z] a2d21d5440eb: Pulling fs layer [2023-03-16T22:11:45.122Z] 935e6c44a52c: Pulling fs layer [2023-03-16T22:11:45.122Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T22:11:45.122Z] 30dea6a524f1: Pulling fs layer [2023-03-16T22:11:45.122Z] a2aff8979fd8: Pulling fs layer [2023-03-16T22:11:45.122Z] 6808be2612f2: Pulling fs layer [2023-03-16T22:11:45.122Z] f25807f1079a: Pulling fs layer [2023-03-16T22:11:45.122Z] 30dea6a524f1: Waiting [2023-03-16T22:11:45.122Z] a2aff8979fd8: Waiting [2023-03-16T22:11:45.122Z] 6808be2612f2: Waiting [2023-03-16T22:11:45.122Z] f25807f1079a: Waiting [2023-03-16T22:11:45.122Z] 94cc34f8dd06: Waiting [2023-03-16T22:11:45.122Z] a2d21d5440eb: Verifying Checksum [2023-03-16T22:11:45.122Z] a2d21d5440eb: Download complete [2023-03-16T22:11:45.122Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T22:11:45.122Z] 94cc34f8dd06: Download complete [2023-03-16T22:11:45.122Z] 30dea6a524f1: Verifying Checksum [2023-03-16T22:11:45.122Z] 30dea6a524f1: Download complete [2023-03-16T22:11:45.122Z] 63b65145d645: Verifying Checksum [2023-03-16T22:11:45.122Z] 63b65145d645: Download complete [2023-03-16T22:11:45.122Z] a2aff8979fd8: Verifying Checksum [2023-03-16T22:11:45.122Z] a2aff8979fd8: Download complete [2023-03-16T22:11:45.393Z] 63b65145d645: Pull complete [2023-03-16T22:11:45.393Z] a2d21d5440eb: Pull complete [2023-03-16T22:11:45.971Z] 935e6c44a52c: Verifying Checksum [2023-03-16T22:11:45.971Z] 935e6c44a52c: Download complete [2023-03-16T22:11:45.971Z] f25807f1079a: Verifying Checksum [2023-03-16T22:11:45.971Z] f25807f1079a: Download complete [2023-03-16T22:11:45.971Z] 6808be2612f2: Verifying Checksum [2023-03-16T22:11:45.971Z] 6808be2612f2: Download complete [2023-03-16T22:11:49.248Z] 935e6c44a52c: Pull complete [2023-03-16T22:11:49.248Z] 94cc34f8dd06: Pull complete [2023-03-16T22:11:49.248Z] 30dea6a524f1: Pull complete [2023-03-16T22:11:49.248Z] a2aff8979fd8: Pull complete [2023-03-16T22:11:51.778Z] 6808be2612f2: Pull complete [2023-03-16T22:11:52.343Z] f25807f1079a: Pull complete [2023-03-16T22:11:52.343Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T22:11:52.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T22:11:52.343Z] ---> 3b553350e43f [2023-03-16T22:11:52.343Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T22:11:56.533Z] ---> Running in 35710eef5934 [2023-03-16T22:11:56.533Z] Removing intermediate container 35710eef5934 [2023-03-16T22:11:56.533Z] ---> b5352dd0a06c [2023-03-16T22:11:56.533Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T22:11:56.533Z] ---> Running in 08c687ab83ce [2023-03-16T22:11:56.533Z] Removing intermediate container 08c687ab83ce [2023-03-16T22:11:56.533Z] ---> 64d57dbe840c [2023-03-16T22:11:56.533Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T22:11:56.533Z] ---> Running in 4ca1732c6dae [2023-03-16T22:11:56.533Z] Removing intermediate container 4ca1732c6dae [2023-03-16T22:11:56.533Z] ---> f773f01ac335 [2023-03-16T22:11:56.533Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T22:11:56.533Z] ---> Running in 147405a35bcb [2023-03-16T22:11:56.533Z] Removing intermediate container 147405a35bcb [2023-03-16T22:11:56.533Z] ---> b4e67e8b818e [2023-03-16T22:11:56.533Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T22:11:56.533Z] ---> Running in ad47353a5928 [2023-03-16T22:11:56.533Z] Removing intermediate container ad47353a5928 [2023-03-16T22:11:56.533Z] ---> 85568d84f075 [2023-03-16T22:11:56.533Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T22:11:56.533Z] ---> Running in 1244529fb9fe [2023-03-16T22:11:56.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T22:11:56.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T22:11:57.051Z] OK: 265 MiB in 53 packages [2023-03-16T22:11:57.309Z] Removing intermediate container 1244529fb9fe [2023-03-16T22:11:57.309Z] ---> 7e91b000a449 [2023-03-16T22:11:57.309Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T22:11:57.309Z] ---> Running in c50cea8efd84 [2023-03-16T22:11:57.309Z] Removing intermediate container c50cea8efd84 [2023-03-16T22:11:57.309Z] ---> 8342c6180060 [2023-03-16T22:11:57.309Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T22:11:57.567Z] ---> 79b990f46e3e [2023-03-16T22:11:57.567Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T22:11:57.567Z] ---> Running in 05701735b74a [2023-03-16T22:11:58.613Z] Still waiting to schedule task [2023-03-16T22:11:58.613Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2530’ is offline [2023-03-16T22:12:24.176Z] Removing intermediate container 05701735b74a [2023-03-16T22:12:24.176Z] ---> 13f94660912b [2023-03-16T22:12:24.176Z] Step 12/13 : COPY . . [2023-03-16T22:12:24.176Z] ---> a59ce781870d [2023-03-16T22:12:24.176Z] Step 13/13 : RUN ${MAKE} [2023-03-16T22:12:24.176Z] ---> Running in 00ecb6496113 [2023-03-16T22:12:24.176Z] noop [2023-03-16T22:12:24.176Z] Removing intermediate container 00ecb6496113 [2023-03-16T22:12:24.176Z] ---> 0801cd7e618f [2023-03-16T22:12:24.176Z] Successfully built 0801cd7e618f [2023-03-16T22:12:24.176Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:12:24.486Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T22:12:24.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:12:24.557Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2023-03-16T22:12:24.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 ******** ci-base-image-x86_64 cat [2023-03-16T22:12:24.937Z] $ docker top df14efc1cf573c2f48d6b031d697d5214405b1e57b9566f691c08262ed3ffd18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:12:25.280Z] + go version [2023-03-16T22:12:25.280Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T22:12:25.290Z] $ docker stop --time=1 df14efc1cf573c2f48d6b031d697d5214405b1e57b9566f691c08262ed3ffd18 [2023-03-16T22:12:26.559Z] $ docker rm -f --volumes df14efc1cf573c2f48d6b031d697d5214405b1e57b9566f691c08262ed3ffd18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:12:26.941Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T22:12:26.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:12:27.016Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2023-03-16T22:12:27.045Z] $ 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-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@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 ******** ci-base-image-x86_64 cat [2023-03-16T22:12:27.345Z] $ docker top 4f33b5a6a2915faf669c3f1fbe8fb73c78635f0b5e1b8a56faad5344a4bdbbb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:12:27.692Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-267 [Pipeline] fileExists [Pipeline] sh [2023-03-16T22:12:27.985Z] + make test [2023-03-16T22:12:27.985Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T22:12:33.244Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T22:12:43.199Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T22:12:43.199Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T22:12:43.199Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T22:12:43.199Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T22:12:45.093Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.302s coverage: 86.5% of statements [2023-03-16T22:12:45.093Z] FAIL [2023-03-16T22:12:45.093Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T22:12:45.106Z] $ docker stop --time=1 4f33b5a6a2915faf669c3f1fbe8fb73c78635f0b5e1b8a56faad5344a4bdbbb7 [2023-03-16T22:12:48.057Z] $ docker rm -f --volumes 4f33b5a6a2915faf669c3f1fbe8fb73c78635f0b5e1b8a56faad5344a4bdbbb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:12:48.593Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:48.593Z] [2023-03-16T22:12:48.593Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:12:48.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:48.886Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T22:12:48.886Z] 5eb5b503b376: Pulling fs layer [2023-03-16T22:12:48.886Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T22:12:48.886Z] ec43610c2a17: Pulling fs layer [2023-03-16T22:12:48.886Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T22:12:48.886Z] 33b1e0a273af: Pulling fs layer [2023-03-16T22:12:48.886Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T22:12:48.886Z] 2f39f015ded8: Pulling fs layer [2023-03-16T22:12:48.886Z] 33b1e0a273af: Waiting [2023-03-16T22:12:48.886Z] 2f39f015ded8: Waiting [2023-03-16T22:12:48.886Z] 5d3b04190fa2: Waiting [2023-03-16T22:12:48.886Z] 3a2ae6a8a46f: Waiting [2023-03-16T22:12:48.886Z] 5c69ac0246d0: Verifying Checksum [2023-03-16T22:12:48.886Z] 5c69ac0246d0: Download complete [2023-03-16T22:12:48.886Z] 3a2ae6a8a46f: Download complete [2023-03-16T22:12:49.145Z] 33b1e0a273af: Verifying Checksum [2023-03-16T22:12:49.145Z] 33b1e0a273af: Download complete [2023-03-16T22:12:49.145Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T22:12:49.145Z] 5d3b04190fa2: Download complete [2023-03-16T22:12:49.145Z] ec43610c2a17: Verifying Checksum [2023-03-16T22:12:49.145Z] ec43610c2a17: Download complete [2023-03-16T22:12:49.145Z] 5eb5b503b376: Verifying Checksum [2023-03-16T22:12:49.145Z] 5eb5b503b376: Download complete [2023-03-16T22:12:49.712Z] 2f39f015ded8: Download complete [2023-03-16T22:12:50.648Z] 5eb5b503b376: Pull complete [2023-03-16T22:12:50.648Z] 5c69ac0246d0: Pull complete [2023-03-16T22:12:51.214Z] ec43610c2a17: Pull complete [2023-03-16T22:12:51.214Z] 3a2ae6a8a46f: Pull complete [2023-03-16T22:12:51.472Z] 33b1e0a273af: Pull complete [2023-03-16T22:12:51.472Z] 5d3b04190fa2: Pull complete [2023-03-16T22:12:55.650Z] 2f39f015ded8: Pull complete [2023-03-16T22:12:55.650Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T22:12:55.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:55.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:12:55.723Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2023-03-16T22:12:55.752Z] $ 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-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T22:13:00.619Z] $ docker top 28658ff5bd2971b54e94457a7f13beb67192aef42e5334248bb59a452c7c99e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:13:00.987Z] ---> job-cost.sh [2023-03-16T22:13:00.987Z] lf-activate-venv: SKIPPING [2023-03-16T22:13:00.987Z] INFO: No Stack... [2023-03-16T22:13:01.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T22:13:01.503Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T22:13:01.786Z] + cat /w/workspace/undry_device-onvif-camera_PR-267/archives/cost.csv [2023-03-16T22:13:01.786Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T22:13:01.797Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [2023-03-16T22:13:01.812Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] did not exist. Created. [2023-03-16T22:13:01.812Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T22:13:02.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T22:13:02.135Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T22:13:02.141Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T22:13:02.160Z] $ docker stop --time=1 28658ff5bd2971b54e94457a7f13beb67192aef42e5334248bb59a452c7c99e9 [2023-03-16T22:13:03.317Z] $ docker rm -f --volumes 28658ff5bd2971b54e94457a7f13beb67192aef42e5334248bb59a452c7c99e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T22:13:03.413Z] Failed in branch amd64 [2023-03-16T22:14:33.078Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2535 in /w/workspace/undry_device-onvif-camera_PR-267 [Pipeline] { [Pipeline] ws [2023-03-16T22:14:33.092Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-16T22:14:33.132Z] The recommended git tool is: git [2023-03-16T22:14:39.513Z] using credential edgex-jenkins-ssh [2023-03-16T22:14:39.533Z] Cloning the remote Git repository [2023-03-16T22:14:39.598Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:39.825Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-16T22:14:40.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:40.008Z] > git --version # timeout=10 [2023-03-16T22:14:40.042Z] > git --version # 'git version 2.25.1' [2023-03-16T22:14:40.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:40.241Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T22:14:41.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T22:14:41.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T22:14:43.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T22:14:43.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:43.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:43.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/267/head:refs/remotes/origin/PR-267 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T22:14:43.727Z] Merging remotes/origin/main commit dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit 8dffb7f2740dabbc09a199987319937f43974e7a [2023-03-16T22:14:44.823Z] Merge succeeded, producing b566fb414694f55cf674b3e2520bd6b691c44d80 [2023-03-16T22:14:44.824Z] Checking out Revision b566fb414694f55cf674b3e2520bd6b691c44d80 (PR-267) [2023-03-16T22:14:43.768Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T22:14:43.872Z] > git checkout -f 8dffb7f2740dabbc09a199987319937f43974e7a # timeout=10 [2023-03-16T22:14:44.218Z] > git remote # timeout=10 [2023-03-16T22:14:44.242Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T22:14:44.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:44.283Z] > git merge dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 [2023-03-16T22:14:44.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T22:14:44.834Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T22:14:44.853Z] > git checkout -f b566fb414694f55cf674b3e2520bd6b691c44d80 # timeout=10 [2023-03-16T22:14:48.800Z] Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" [2023-03-16T22:14:48.814Z] > git rev-list --no-walk 8dffb7f2740dabbc09a199987319937f43974e7a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T22:14:49.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T22:14:49.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T22:14:49.837Z] Dload Upload Total Spent Left Speed [2023-03-16T22:14:49.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh [2023-03-16T22:14:50.723Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T22:14:51.074Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T22:14:51.074Z] + sudo tee /etc/docker/daemon.new [2023-03-16T22:14:51.074Z] { [2023-03-16T22:14:51.074Z] "registry-mirrors": [ [2023-03-16T22:14:51.074Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T22:14:51.074Z] ], [2023-03-16T22:14:51.074Z] "bip": "10.250.0.254/24", [2023-03-16T22:14:51.074Z] "hosts": [ [2023-03-16T22:14:51.074Z] "tcp://0.0.0.0:5555", [2023-03-16T22:14:51.074Z] "unix:///var/run/docker.sock" [2023-03-16T22:14:51.074Z] ], [2023-03-16T22:14:51.074Z] "mtu": 1458, [2023-03-16T22:14:51.074Z] "selinux-enabled": true, [2023-03-16T22:14:51.074Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T22:14:51.074Z] } [Pipeline] sh [2023-03-16T22:14:51.442Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T22:14:51.820Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:15:10.160Z] provisioning config files... [2023-03-16T22:15:10.199Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config3752790393548527644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:15:10.579Z] ---> docker-login.sh [2023-03-16T22:15:10.579Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:15:11.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:15:11.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:15:11.176Z] Configure a credential helper to remove this warning. See [2023-03-16T22:15:11.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:15:11.176Z] [2023-03-16T22:15:11.176Z] Login Succeeded [2023-03-16T22:15:11.450Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:15:11.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:15:11.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:15:11.721Z] Configure a credential helper to remove this warning. See [2023-03-16T22:15:11.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:15:11.721Z] [2023-03-16T22:15:11.721Z] Login Succeeded [2023-03-16T22:15:11.721Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:15:11.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:15:12.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:15:12.265Z] Configure a credential helper to remove this warning. See [2023-03-16T22:15:12.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:15:12.265Z] [2023-03-16T22:15:12.265Z] Login Succeeded [2023-03-16T22:15:12.265Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:15:12.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:15:12.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:15:12.543Z] Configure a credential helper to remove this warning. See [2023-03-16T22:15:12.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:15:12.543Z] [2023-03-16T22:15:12.543Z] Login Succeeded [2023-03-16T22:15:12.543Z] docker.io [2023-03-16T22:15:12.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:15:13.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:15:13.088Z] Configure a credential helper to remove this warning. See [2023-03-16T22:15:13.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:15:13.088Z] [2023-03-16T22:15:13.088Z] Login Succeeded [2023-03-16T22:15:13.088Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:15:13.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T22:15:13.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:15:13.423Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:15:13.434Z] ========================================================= [2023-03-16T22:15:13.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T22:15:13.434Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:15:13.791Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T22:15:14.395Z] Sending build context to Docker daemon 20.63MB [2023-03-16T22:15:14.395Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T22:15:14.395Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T22:15:14.668Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T22:15:14.668Z] af6eaf76a39c: Pulling fs layer [2023-03-16T22:15:14.668Z] 55522c791124: Pulling fs layer [2023-03-16T22:15:14.668Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T22:15:14.668Z] 169dfbe0d373: Pulling fs layer [2023-03-16T22:15:14.668Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T22:15:14.668Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T22:15:14.668Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T22:15:14.668Z] e1ff8fa3b103: Waiting [2023-03-16T22:15:14.668Z] 52ebb69f0ebf: Waiting [2023-03-16T22:15:14.668Z] 5abe8eddf0d5: Waiting [2023-03-16T22:15:14.668Z] 169dfbe0d373: Waiting [2023-03-16T22:15:14.668Z] 55522c791124: Verifying Checksum [2023-03-16T22:15:14.668Z] 55522c791124: Download complete [2023-03-16T22:15:14.668Z] 169dfbe0d373: Verifying Checksum [2023-03-16T22:15:14.668Z] 169dfbe0d373: Download complete [2023-03-16T22:15:14.668Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T22:15:14.668Z] e1ff8fa3b103: Download complete [2023-03-16T22:15:14.668Z] af6eaf76a39c: Verifying Checksum [2023-03-16T22:15:14.668Z] af6eaf76a39c: Download complete [2023-03-16T22:15:15.649Z] af6eaf76a39c: Pull complete [2023-03-16T22:15:15.930Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T22:15:15.930Z] 5abe8eddf0d5: Download complete [2023-03-16T22:15:16.203Z] 55522c791124: Pull complete [2023-03-16T22:15:17.184Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T22:15:17.184Z] 52ebb69f0ebf: Download complete [2023-03-16T22:15:17.184Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T22:15:17.184Z] ce5c4a1c91eb: Download complete [2023-03-16T22:15:29.563Z] ce5c4a1c91eb: Pull complete [2023-03-16T22:15:29.563Z] 169dfbe0d373: Pull complete [2023-03-16T22:15:29.563Z] e1ff8fa3b103: Pull complete [2023-03-16T22:15:36.510Z] 52ebb69f0ebf: Pull complete [2023-03-16T22:15:38.486Z] 5abe8eddf0d5: Pull complete [2023-03-16T22:15:38.486Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T22:15:38.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T22:15:38.486Z] ---> 6cb57ee374ae [2023-03-16T22:15:38.486Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T22:15:40.460Z] ---> Running in b3a880eff8ef [2023-03-16T22:15:40.731Z] Removing intermediate container b3a880eff8ef [2023-03-16T22:15:40.731Z] ---> ebd690fd6915 [2023-03-16T22:15:40.731Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T22:15:41.004Z] ---> Running in 94406d4102ac [2023-03-16T22:15:41.275Z] Removing intermediate container 94406d4102ac [2023-03-16T22:15:41.275Z] ---> a06013070e01 [2023-03-16T22:15:41.275Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T22:15:41.275Z] ---> Running in 00b55985b5c9 [2023-03-16T22:15:41.544Z] Removing intermediate container 00b55985b5c9 [2023-03-16T22:15:41.544Z] ---> efe0a7b0b26c [2023-03-16T22:15:41.544Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T22:15:41.817Z] ---> Running in 6b2551cbc985 [2023-03-16T22:15:42.086Z] Removing intermediate container 6b2551cbc985 [2023-03-16T22:15:42.086Z] ---> 868527826d3e [2023-03-16T22:15:42.086Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T22:15:42.358Z] ---> Running in 56770b912d55 [2023-03-16T22:15:42.633Z] Removing intermediate container 56770b912d55 [2023-03-16T22:15:42.633Z] ---> 2787db946dbf [2023-03-16T22:15:42.633Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T22:15:42.633Z] ---> Running in 42dd9aa02e4f [2023-03-16T22:15:44.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T22:15:45.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T22:15:46.458Z] OK: 263 MiB in 53 packages [2023-03-16T22:15:47.058Z] Removing intermediate container 42dd9aa02e4f [2023-03-16T22:15:47.058Z] ---> a1eb064542f2 [2023-03-16T22:15:47.058Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T22:15:47.328Z] ---> Running in 3c0bbf26b873 [2023-03-16T22:15:47.598Z] Removing intermediate container 3c0bbf26b873 [2023-03-16T22:15:47.598Z] ---> 114c669222f8 [2023-03-16T22:15:47.598Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T22:15:48.186Z] ---> 6a56ddeb0131 [2023-03-16T22:15:48.186Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T22:15:48.454Z] ---> Running in ffb830fff111 [2023-03-16T22:17:10.138Z] Removing intermediate container ffb830fff111 [2023-03-16T22:17:10.138Z] ---> 01f920c84a47 [2023-03-16T22:17:10.138Z] Step 12/13 : COPY . . [2023-03-16T22:17:10.138Z] ---> 81b2946759f9 [2023-03-16T22:17:10.138Z] Step 13/13 : RUN ${MAKE} [2023-03-16T22:17:10.138Z] ---> Running in d79ff6d35db0 [2023-03-16T22:17:10.138Z] noop [2023-03-16T22:17:10.138Z] Removing intermediate container d79ff6d35db0 [2023-03-16T22:17:10.138Z] ---> beecc141120a [2023-03-16T22:17:10.138Z] Successfully built beecc141120a [2023-03-16T22:17:10.138Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:17:10.509Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T22:17:10.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:17:10.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2023-03-16T22:17:10.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2023-03-16T22:17:12.205Z] $ docker top 08e45e93d53cf942ea6b95cb3fc6fc76793eeaee0cedd819569148cc64696d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:17:13.091Z] + go version [2023-03-16T22:17:13.091Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T22:17:13.119Z] $ docker stop --time=1 08e45e93d53cf942ea6b95cb3fc6fc76793eeaee0cedd819569148cc64696d33 [2023-03-16T22:17:14.836Z] $ docker rm -f --volumes 08e45e93d53cf942ea6b95cb3fc6fc76793eeaee0cedd819569148cc64696d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:17:15.396Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T22:17:15.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:17:15.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2023-03-16T22:17:15.686Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** ci-base-image-arm64 cat [2023-03-16T22:17:17.133Z] $ docker top 8005f1d58346ae8e6754eec63b679f3eece14342ad84b3b821649ec16bde4fce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:17:18.057Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T22:17:18.725Z] + make test [2023-03-16T22:17:18.725Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T22:17:57.672Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T22:20:34.471Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T22:20:34.471Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T22:20:52.743Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T22:20:52.743Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T22:21:25.053Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.015s coverage: 86.5% of statements [2023-03-16T22:21:25.053Z] FAIL [2023-03-16T22:21:25.054Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T22:21:25.080Z] $ docker stop --time=1 8005f1d58346ae8e6754eec63b679f3eece14342ad84b3b821649ec16bde4fce [2023-03-16T22:21:27.001Z] $ docker rm -f --volumes 8005f1d58346ae8e6754eec63b679f3eece14342ad84b3b821649ec16bde4fce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:21:28.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:21:28.313Z] [2023-03-16T22:21:28.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:21:28.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:21:28.929Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T22:21:28.929Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T22:21:28.929Z] 04944245beec: Pulling fs layer [2023-03-16T22:21:28.929Z] 699f458cf7ca: Pulling fs layer [2023-03-16T22:21:28.929Z] 765212b225bb: Pulling fs layer [2023-03-16T22:21:28.929Z] f23df028b6ca: Pulling fs layer [2023-03-16T22:21:28.929Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T22:21:28.929Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T22:21:28.929Z] f23df028b6ca: Waiting [2023-03-16T22:21:28.929Z] d65c8cfc05b1: Waiting [2023-03-16T22:21:28.929Z] 2437ff75d9bd: Waiting [2023-03-16T22:21:28.929Z] 765212b225bb: Waiting [2023-03-16T22:21:28.929Z] 04944245beec: Verifying Checksum [2023-03-16T22:21:28.929Z] 04944245beec: Download complete [2023-03-16T22:21:28.929Z] 765212b225bb: Verifying Checksum [2023-03-16T22:21:28.929Z] 765212b225bb: Download complete [2023-03-16T22:21:29.198Z] f23df028b6ca: Verifying Checksum [2023-03-16T22:21:29.198Z] f23df028b6ca: Download complete [2023-03-16T22:21:29.198Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T22:21:29.198Z] d65c8cfc05b1: Download complete [2023-03-16T22:21:29.198Z] 699f458cf7ca: Verifying Checksum [2023-03-16T22:21:29.786Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T22:21:29.786Z] 8998bd30e6a1: Download complete [2023-03-16T22:21:31.738Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T22:21:31.738Z] 2437ff75d9bd: Download complete [2023-03-16T22:21:33.690Z] 8998bd30e6a1: Pull complete [2023-03-16T22:21:34.393Z] 04944245beec: Pull complete [2023-03-16T22:21:35.850Z] 699f458cf7ca: Pull complete [2023-03-16T22:21:36.130Z] 765212b225bb: Pull complete [2023-03-16T22:21:37.118Z] f23df028b6ca: Pull complete [2023-03-16T22:21:37.118Z] d65c8cfc05b1: Pull complete [2023-03-16T22:21:52.148Z] 2437ff75d9bd: Pull complete [2023-03-16T22:21:52.148Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T22:21:52.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:21:52.148Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:21:52.385Z] prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container [2023-03-16T22:21:52.468Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T22:21:55.644Z] $ docker top 1090f946fdff2459aecd91fde6319d929796f63d7bc6396ae66943c0f1b91eab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:21:56.549Z] ---> job-cost.sh [2023-03-16T22:21:56.549Z] lf-activate-venv: SKIPPING [2023-03-16T22:21:56.549Z] INFO: No Stack... [2023-03-16T22:21:56.820Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T22:21:57.788Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T22:21:58.450Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-03-16T22:21:58.450Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T22:21:58.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [2023-03-16T22:21:58.549Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] did not exist. Created. [2023-03-16T22:21:58.549Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T22:21:59.231Z] /w/workspace/device-onvif-camera/2@tmp/durable-ea210493/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T22:21:59.901Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T22:21:59.927Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T22:22:00.487Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T22:22:00.495Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-267-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T22:22:00.520Z] $ docker stop --time=1 1090f946fdff2459aecd91fde6319d929796f63d7bc6396ae66943c0f1b91eab [2023-03-16T22:22:02.055Z] $ docker rm -f --volumes 1090f946fdff2459aecd91fde6319d929796f63d7bc6396ae66943c0f1b91eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T22:22:02.303Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-16T22:22:02.960Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-267/archives ] [2023-03-16T22:22:02.960Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-16T22:22:02.960Z] total 16 [2023-03-16T22:22:02.960Z] drwxr-xr-x 3 root root 4096 Mar 16 22:13 . [2023-03-16T22:22:02.960Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:13 .. [2023-03-16T22:22:02.960Z] drwxr-xr-x 2 root root 4096 Mar 16 22:13 cost [2023-03-16T22:22:02.960Z] -rw-r--r-- 1 root root 91 Mar 16 22:13 cost.csv [2023-03-16T22:22:02.960Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-16T22:22:02.960Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-267/archives [2023-03-16T22:22:02.960Z] total 16 [2023-03-16T22:22:02.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 22:13 . [2023-03-16T22:22:02.960Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:13 .. [2023-03-16T22:22:02.960Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 22:13 cost [2023-03-16T22:22:02.960Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:03.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:04.105Z] ---> package-listing.sh [2023-03-16T22:22:04.105Z] ++ facter osfamily [2023-03-16T22:22:04.105Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T22:22:04.363Z] + OS_FAMILY=debian [2023-03-16T22:22:04.363Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-267 [2023-03-16T22:22:04.363Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T22:22:04.363Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T22:22:04.363Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T22:22:04.363Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T22:22:04.363Z] + '[' /w/workspace/undry_device-onvif-camera_PR-267 ']' [2023-03-16T22:22:04.363Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T22:22:04.363Z] + case "${OS_FAMILY}" in [2023-03-16T22:22:04.363Z] + dpkg -l [2023-03-16T22:22:04.363Z] + grep '^ii' [2023-03-16T22:22:04.363Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T22:22:04.363Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T22:22:04.363Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T22:22:04.363Z] + '[' /w/workspace/undry_device-onvif-camera_PR-267 ']' [2023-03-16T22:22:04.363Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-267/archives/ [2023-03-16T22:22:04.363Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-267/archives/ [Pipeline] echo [2023-03-16T22:22:04.374Z] 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-267/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T22:22:04.651Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:22:05.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:22:05.207Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:22:05.275Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2023-03-16T22:22:05.306Z] $ 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-267/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-267 -v /w/workspace/undry_device-onvif-camera_PR-267:/w/workspace/undry_device-onvif-camera_PR-267:rw,z -v /w/workspace/undry_device-onvif-camera_PR-267@tmp:/w/workspace/undry_device-onvif-camera_PR-267@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T22:22:05.510Z] $ docker top ea44d76cc7a5b4fbb7b55a0bd6250e9cba0a4aa898da7a4fe0779480c00cd4cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:22:05.851Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T22:22:06.135Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T22:22:06.420Z] + ls /var/log/sa-host [2023-03-16T22:22:06.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:22:06.487Z] provisioning config files... [2023-03-16T22:22:06.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-267@tmp/config1676797562348465148tmp [Pipeline] { [Pipeline] echo [2023-03-16T22:22:06.507Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:06.790Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T22:22:06.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:07.124Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T22:22:07.133Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:07.416Z] ---> sudo-logs.sh [2023-03-16T22:22:07.416Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T22:22:07.442Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:07.726Z] ---> job-cost.sh [2023-03-16T22:22:07.726Z] lf-activate-venv: SKIPPING [2023-03-16T22:22:07.726Z] DEBUG: total: 0.2199999988079071 [2023-03-16T22:22:07.726Z] INFO: Retrieving Stack Cost... [2023-03-16T22:22:07.984Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T22:22:08.550Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T22:22:08.559Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:22:08.842Z] ---> logs-deploy.sh [2023-03-16T22:22:08.842Z] lf-activate-venv: SKIPPING [2023-03-16T22:22:08.842Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-267/2 [2023-03-16T22:22:08.842Z] INFO: archiving workspace using pattern(s): [2023-03-16T22:22:09.779Z] Archives upload complete. [2023-03-16T22:22:09.779Z] INFO: archiving logs to Nexus