Pull request #148 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 74a61bde4e44d327b782092d128b30103c851033+c4833ecb71a5b036c07645cdd3981a69f5c223ec (463413aa08223e8218b189835db366a916a131a9) 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-ssh18195541192417002954.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17381723644655890066.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-usb-camera/branches/PR-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15137431573321947493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-usb-camera/branches/PR-148/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2699750601547426842.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5714201208700462376.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-148/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-usb-camera/branches/PR-148/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12469073376982751704.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6160 in /w/workspace/foundry_device-usb-camera_PR-148 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-148 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c4833ecb71a5b036c07645cdd3981a69f5c223ec into PR head commit 74a61bde4e44d327b782092d128b30103c851033 Merge succeeded, producing 74a61bde4e44d327b782092d128b30103c851033 Checking out Revision 74a61bde4e44d327b782092d128b30103c851033 (PR-148) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:04:17.070Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 74a61bde4e44d327b782092d128b30103c851033 # 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 c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74a61bde4e44d327b782092d128b30103c851033 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:04:17.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:04:17.336Z] ========================================================= [2023-02-15T18:04:17.336Z] EdgeX Global Pipelines Version Info [2023-02-15T18:04:17.336Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:04:18.090Z] ------------------- [2023-02-15T18:04:18.090Z] stable info: [2023-02-15T18:04:18.090Z] ------------------- [2023-02-15T18:04:18.090Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:04:18.090Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:04:18.090Z] Message: update stable to v1.0.244 [2023-02-15T18:04:18.662Z] ------------------- [2023-02-15T18:04:18.662Z] experimental info: [2023-02-15T18:04:18.662Z] ------------------- [2023-02-15T18:04:18.662Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:04:18.662Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:04:18.662Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:04:18.967Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-15T18:04:19.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-15T18:04:19.048Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:04:19.085Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:04:19.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:04:19.161Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:04:19.194Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:04:19.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:04:19.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:04:19.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:04:19.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:04:19.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-15T18:04:19.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:04:19.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:04:19.468Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:04:19.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:04:19.538Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:04:19.571Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:04:19.607Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:04:19.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:04:19.678Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:04:19.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:04:19.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:04:19.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:04:19.822Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:04:19.858Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:04:19.893Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:04:19.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-148 [Pipeline] echo [2023-02-15T18:04:19.963Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-148 [Pipeline] echo [2023-02-15T18:04:20.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-148 [Pipeline] echo [2023-02-15T18:04:20.045Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74a61bde4e44d327b782092d128b30103c851033 [Pipeline] echo [2023-02-15T18:04:20.087Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74a61bd [Pipeline] echo [2023-02-15T18:04:20.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:04:20.233Z] provisioning config files... [2023-02-15T18:04:20.257Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-148@tmp/config16218479448765201295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:04:20.608Z] ---> docker-login.sh [2023-02-15T18:04:20.608Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:04:20.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:20.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:20.868Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:20.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:20.868Z] [2023-02-15T18:04:20.868Z] Login Succeeded [2023-02-15T18:04:20.868Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:04:21.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:21.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:21.137Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:21.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:21.137Z] [2023-02-15T18:04:21.137Z] Login Succeeded [2023-02-15T18:04:21.137Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:04:21.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:21.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:21.137Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:21.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:21.137Z] [2023-02-15T18:04:21.137Z] Login Succeeded [2023-02-15T18:04:21.137Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:04:21.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:21.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:21.398Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:21.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:21.398Z] [2023-02-15T18:04:21.398Z] Login Succeeded [2023-02-15T18:04:21.398Z] docker.io [2023-02-15T18:04:21.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:21.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:21.661Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:21.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:21.661Z] [2023-02-15T18:04:21.661Z] Login Succeeded [2023-02-15T18:04:21.661Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:04:21.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:04:22.297Z] + git rev-list -1 --merges 74a61bde4e44d327b782092d128b30103c851033~1..74a61bde4e44d327b782092d128b30103c851033 [Pipeline] echo [2023-02-15T18:04:22.361Z] -----------> git rev-list -1 --merges 74a61bde4e44d327b782092d128b30103c851033~1..74a61bde4e44d327b782092d128b30103c851033 74a61bde4e44d327b782092d128b30103c851033 [false] [Pipeline] sh [2023-02-15T18:04:22.673Z] + git log --format=format:%s -1 74a61bde4e44d327b782092d128b30103c851033 [Pipeline] echo [2023-02-15T18:04:22.716Z] ========================================================= [2023-02-15T18:04:22.716Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:04:22.716Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:04:23.157Z] + git log --format=format:%s -1 74a61bde4e44d327b782092d128b30103c851033 [Pipeline] echo [2023-02-15T18:04:23.184Z] [semverPrep] GIT_COMMIT: 74a61bde4e44d327b782092d128b30103c851033, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-15T18:04:23.213Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:04:23.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:04:23.592Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:04:23.592Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:04:23.592Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:04:23.592Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:04:23.592Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:04:23.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:04:24.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:04:24.027Z] [2023-02-15T18:04:24.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:04:24.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:04:24.398Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:04:24.398Z] b85a868b505f: Pulling fs layer [2023-02-15T18:04:24.398Z] e2be974225ed: Pulling fs layer [2023-02-15T18:04:24.398Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:04:24.398Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:04:24.398Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:04:24.398Z] eaf3925da568: Pulling fs layer [2023-02-15T18:04:24.398Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:04:24.398Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:04:24.398Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:04:24.398Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:04:24.398Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:04:24.398Z] 4872d77fe225: Waiting [2023-02-15T18:04:24.398Z] b352a97aabf1: Waiting [2023-02-15T18:04:24.398Z] bde34c3a00c8: Waiting [2023-02-15T18:04:24.398Z] 5851b861e8e6: Waiting [2023-02-15T18:04:24.398Z] bab4dde63d76: Waiting [2023-02-15T18:04:24.398Z] 988bab9f4d93: Waiting [2023-02-15T18:04:24.398Z] eaf3925da568: Waiting [2023-02-15T18:04:24.398Z] e2be974225ed: Download complete [2023-02-15T18:04:24.398Z] 988bab9f4d93: Verifying Checksum [2023-02-15T18:04:24.398Z] 988bab9f4d93: Download complete [2023-02-15T18:04:24.666Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:04:24.666Z] 1469e6f7b9e6: Download complete [2023-02-15T18:04:24.666Z] eaf3925da568: Verifying Checksum [2023-02-15T18:04:24.666Z] eaf3925da568: Download complete [2023-02-15T18:04:24.666Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:04:24.666Z] 339a4e72a1f5: Download complete [2023-02-15T18:04:24.666Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:04:24.666Z] bde34c3a00c8: Download complete [2023-02-15T18:04:24.666Z] b352a97aabf1: Verifying Checksum [2023-02-15T18:04:24.666Z] b352a97aabf1: Download complete [2023-02-15T18:04:24.930Z] 4872d77fe225: Download complete [2023-02-15T18:04:24.930Z] b85a868b505f: Verifying Checksum [2023-02-15T18:04:24.930Z] b85a868b505f: Download complete [2023-02-15T18:04:24.930Z] 5851b861e8e6: Download complete [2023-02-15T18:04:25.190Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:04:25.190Z] bab4dde63d76: Download complete [2023-02-15T18:04:26.132Z] b85a868b505f: Pull complete [2023-02-15T18:04:26.132Z] e2be974225ed: Pull complete [2023-02-15T18:04:26.701Z] 339a4e72a1f5: Pull complete [2023-02-15T18:04:26.960Z] 988bab9f4d93: Pull complete [2023-02-15T18:04:27.219Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:04:27.219Z] eaf3925da568: Pull complete [2023-02-15T18:04:29.138Z] bab4dde63d76: Pull complete [2023-02-15T18:04:29.138Z] bde34c3a00c8: Pull complete [2023-02-15T18:04:29.138Z] b352a97aabf1: Pull complete [2023-02-15T18:04:29.402Z] 4872d77fe225: Pull complete [2023-02-15T18:04:29.402Z] 5851b861e8e6: Pull complete [2023-02-15T18:04:29.402Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:04:29.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:04:29.402Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:04:29.629Z] prd-ubuntu20.04-docker-8c-8g-6160 does not seem to be running inside a container [2023-02-15T18:04:29.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-148 -v /w/workspace/foundry_device-usb-camera_PR-148:/w/workspace/foundry_device-usb-camera_PR-148:rw,z -v /w/workspace/foundry_device-usb-camera_PR-148@tmp:/w/workspace/foundry_device-usb-camera_PR-148@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T18:04:31.455Z] $ docker top 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 -eo pid,comm [2023-02-15T18:04:31.515Z] 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-02-15T18:04:31.515Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:04:31.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:04:31.650Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:04:31.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:04:31.762Z] $ docker exec 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 ssh-agent [2023-02-15T18:04:31.876Z] SSH_AUTH_SOCK=/tmp/ssh-KJ21S5DnciaN/agent.32 [2023-02-15T18:04:31.876Z] SSH_AGENT_PID=38 [2023-02-15T18:04:31.882Z] Running ssh-add (command line suppressed) [2023-02-15T18:04:31.982Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-148@tmp/private_key_7480947731136504804.key (/w/workspace/foundry_device-usb-camera_PR-148@tmp/private_key_7480947731136504804.key) [2023-02-15T18:04:32.003Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:04:32.333Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:04:32.355Z] $ docker exec --env ******** --env ******** 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 ssh-agent -k [2023-02-15T18:04:32.465Z] unset SSH_AUTH_SOCK; [2023-02-15T18:04:32.465Z] unset SSH_AGENT_PID; [2023-02-15T18:04:32.466Z] echo Agent pid 38 killed; [2023-02-15T18:04:32.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:04:32.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:04:32.563Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:04:32.681Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:04:32.679Z] $ docker exec 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 ssh-agent [2023-02-15T18:04:32.798Z] SSH_AUTH_SOCK=/tmp/ssh-Wcbma5rKh6KB/agent.70 [2023-02-15T18:04:32.798Z] SSH_AGENT_PID=76 [2023-02-15T18:04:32.804Z] Running ssh-add (command line suppressed) [2023-02-15T18:04:32.892Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-148@tmp/private_key_9771273204398271613.key (/w/workspace/foundry_device-usb-camera_PR-148@tmp/private_key_9771273204398271613.key) [2023-02-15T18:04:32.913Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:04:33.255Z] + git semver init [2023-02-15T18:04:33.515Z] 2023-02-15 18:04:33,421 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:04:33.515Z] 2023-02-15 18:04:33,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-148/.semver [2023-02-15T18:04:33.515Z] 2023-02-15 18:04:33,424 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-148/.semver [2023-02-15T18:04:33.516Z] 2023-02-15 18:04:33,424 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-148/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-148, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:04:34.895Z] 2023-02-15 18:04:34,470 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-148/.git/info/exclude [2023-02-15T18:04:34.895Z] 2023-02-15 18:04:34,470 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-148/.semver/PR-148 with force:False [2023-02-15T18:04:34.895Z] 2023-02-15 18:04:34,470 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-148/.semver/PR-148 [2023-02-15T18:04:34.895Z] 2023-02-15 18:04:34,473 [execute] INFO git cat-file --batch-check [2023-02-15T18:04:34.895Z] 2023-02-15 18:04:34,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-148/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:04:34.896Z] 2023-02-15 18:04:34,479 [execute] INFO git cat-file --batch [2023-02-15T18:04:34.896Z] 2023-02-15 18:04:34,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-148/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:04:34.896Z] 2023-02-15 18:04:34,485 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-148/.semver/PR-148 [2023-02-15T18:04:34.896Z] 0.0.0 [Pipeline] } [2023-02-15T18:04:34.917Z] $ docker exec --env ******** --env ******** 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 ssh-agent -k [2023-02-15T18:04:35.015Z] unset SSH_AUTH_SOCK; [2023-02-15T18:04:35.016Z] unset SSH_AGENT_PID; [2023-02-15T18:04:35.016Z] echo Agent pid 76 killed; [2023-02-15T18:04:35.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:04:35.456Z] + git semver [Pipeline] } [2023-02-15T18:04:35.736Z] $ docker stop --time=1 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 [2023-02-15T18:04:37.108Z] $ docker rm -f --volumes 74d1e24b9834aa748c4548cf026a25f0210c9bc28e3701cbc29dd43af2899253 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:04:37.517Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:04:37.792Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:04:37.810Z] [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-02-15T18:04:38.382Z] provisioning config files... [2023-02-15T18:04:38.390Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-148@tmp/config267120104286638088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:04:38.735Z] ---> docker-login.sh [2023-02-15T18:04:38.735Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:04:38.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:38.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:38.735Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:38.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:38.736Z] [2023-02-15T18:04:38.736Z] Login Succeeded [2023-02-15T18:04:38.736Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:04:38.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:38.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:38.736Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:38.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:38.736Z] [2023-02-15T18:04:38.736Z] Login Succeeded [2023-02-15T18:04:38.736Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:04:38.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:38.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:38.996Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:38.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:38.996Z] [2023-02-15T18:04:38.996Z] Login Succeeded [2023-02-15T18:04:38.996Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:04:38.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:38.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:38.996Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:38.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:38.996Z] [2023-02-15T18:04:38.996Z] Login Succeeded [2023-02-15T18:04:38.996Z] docker.io [2023-02-15T18:04:39.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:04:39.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:04:39.515Z] Configure a credential helper to remove this warning. See [2023-02-15T18:04:39.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:04:39.515Z] [2023-02-15T18:04:39.515Z] Login Succeeded [2023-02-15T18:04:39.515Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:04:39.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:04:39.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:04:39.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:04:39.822Z] ========================================================= [2023-02-15T18:04:39.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:04:39.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:04:40.297Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:04:40.298Z] Sending build context to Docker daemon 1.737MB [2023-02-15T18:04:40.298Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:04:40.298Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-15T18:04:40.298Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:04:40.298Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:04:40.298Z] 4583459ba037: Pulling fs layer [2023-02-15T18:04:40.298Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:04:40.298Z] 53926ce57604: Pulling fs layer [2023-02-15T18:04:40.298Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:04:40.298Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:04:40.298Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:04:40.298Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:04:40.298Z] a7acece74701: Pulling fs layer [2023-02-15T18:04:40.298Z] 22ff95d597cd: Waiting [2023-02-15T18:04:40.298Z] 53926ce57604: Waiting [2023-02-15T18:04:40.298Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:04:40.298Z] 12d6caf4c0d1: Waiting [2023-02-15T18:04:40.298Z] a7acece74701: Waiting [2023-02-15T18:04:40.298Z] 96b7cbca73a9: Waiting [2023-02-15T18:04:40.298Z] 93c1e223e6f2: Download complete [2023-02-15T18:04:40.298Z] 4583459ba037: Verifying Checksum [2023-02-15T18:04:40.298Z] 4583459ba037: Download complete [2023-02-15T18:04:40.298Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T18:04:40.298Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:04:40.562Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:04:40.562Z] 22ff95d597cd: Download complete [2023-02-15T18:04:40.562Z] 213ec9aee27d: Verifying Checksum [2023-02-15T18:04:40.562Z] 213ec9aee27d: Download complete [2023-02-15T18:04:40.562Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:04:40.562Z] 12d6caf4c0d1: Download complete [2023-02-15T18:04:40.562Z] 213ec9aee27d: Pull complete [2023-02-15T18:04:40.827Z] 4583459ba037: Pull complete [2023-02-15T18:04:40.827Z] 93c1e223e6f2: Pull complete [2023-02-15T18:04:41.813Z] a7acece74701: Download complete [2023-02-15T18:04:41.813Z] 53926ce57604: Verifying Checksum [2023-02-15T18:04:41.813Z] 53926ce57604: Download complete [2023-02-15T18:04:42.072Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T18:04:42.072Z] 96b7cbca73a9: Download complete [2023-02-15T18:04:45.355Z] 53926ce57604: Pull complete [2023-02-15T18:04:45.613Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:04:45.613Z] 22ff95d597cd: Pull complete [2023-02-15T18:04:45.613Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:04:48.161Z] 96b7cbca73a9: Pull complete [2023-02-15T18:04:48.422Z] a7acece74701: Pull complete [2023-02-15T18:04:48.422Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:04:48.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:04:48.422Z] ---> db6d94c90886 [2023-02-15T18:04:48.422Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:04:50.972Z] ---> Running in b1886eadce44 [2023-02-15T18:04:50.972Z] Removing intermediate container b1886eadce44 [2023-02-15T18:04:50.972Z] ---> cd12de0f9018 [2023-02-15T18:04:50.972Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:04:50.972Z] ---> Running in bb1e1b349300 [2023-02-15T18:04:50.972Z] Removing intermediate container bb1e1b349300 [2023-02-15T18:04:50.972Z] ---> 7c019b5c511e [2023-02-15T18:04:50.972Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-15T18:04:50.972Z] ---> Running in 50f1382eed2a [2023-02-15T18:04:50.972Z] Removing intermediate container 50f1382eed2a [2023-02-15T18:04:50.972Z] ---> 3839813d94c9 [2023-02-15T18:04:50.972Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-15T18:04:51.234Z] ---> Running in 80d054e4b8b7 [2023-02-15T18:04:51.234Z] Removing intermediate container 80d054e4b8b7 [2023-02-15T18:04:51.234Z] ---> d03b11c5fc9e [2023-02-15T18:04:51.234Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:04:51.234Z] ---> Running in fe6f38f613fa [2023-02-15T18:04:51.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:04:51.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:04:51.805Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-15T18:04:51.805Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-15T18:04:52.065Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-15T18:04:52.065Z] (4/80) Installing libxcb (1.15-r0) [2023-02-15T18:04:52.065Z] (5/80) Installing libx11 (1.8-r0) [2023-02-15T18:04:52.065Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-15T18:04:52.065Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-15T18:04:52.065Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-15T18:04:52.065Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-15T18:04:52.065Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-15T18:04:52.065Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-15T18:04:52.065Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-15T18:04:52.065Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-15T18:04:52.065Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-15T18:04:52.327Z] (15/80) Installing libice (1.0.10-r0) [2023-02-15T18:04:52.327Z] (16/80) Installing libuuid (2.38-r1) [2023-02-15T18:04:52.327Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-15T18:04:52.327Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-15T18:04:52.327Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-15T18:04:52.327Z] (20/80) Installing xset (1.2.4-r0) [2023-02-15T18:04:52.327Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-15T18:04:52.327Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-15T18:04:52.327Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-15T18:04:52.327Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-15T18:04:52.327Z] (25/80) Installing libintl (0.21-r2) [2023-02-15T18:04:52.327Z] (26/80) Installing libblkid (2.38-r1) [2023-02-15T18:04:52.327Z] (27/80) Installing libmount (2.38-r1) [2023-02-15T18:04:52.327Z] (28/80) Installing pcre (8.45-r2) [2023-02-15T18:04:52.327Z] (29/80) Installing glib (2.72.1-r0) [2023-02-15T18:04:52.327Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-15T18:04:52.327Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-15T18:04:52.327Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-15T18:04:52.327Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-15T18:04:52.587Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-15T18:04:52.587Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-15T18:04:52.587Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-15T18:04:52.587Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-15T18:04:52.587Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-15T18:04:52.587Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-15T18:04:52.587Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-15T18:04:52.587Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-15T18:04:52.587Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-15T18:04:52.587Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-15T18:04:52.587Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-15T18:04:52.587Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-15T18:04:52.587Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-15T18:04:52.849Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-15T18:04:52.849Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-15T18:04:52.849Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-15T18:04:52.849Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-15T18:04:52.849Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-15T18:04:52.849Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-15T18:04:52.849Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-15T18:04:52.849Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-15T18:04:52.849Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-15T18:04:52.849Z] (56/80) Installing libunistring (1.0-r0) [2023-02-15T18:04:52.849Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-15T18:04:52.849Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-15T18:04:52.849Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-15T18:04:52.849Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-15T18:04:52.849Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-15T18:04:52.849Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-15T18:04:52.849Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-15T18:04:53.110Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-15T18:04:53.110Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-15T18:04:53.110Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-15T18:04:53.110Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-15T18:04:53.110Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-15T18:04:53.111Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-15T18:04:53.111Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-15T18:04:53.111Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-15T18:04:53.111Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-15T18:04:53.111Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-15T18:04:53.111Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-15T18:04:53.111Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-15T18:04:53.111Z] Executing udev-init-scripts-35-r0.post-install [2023-02-15T18:04:53.111Z] (76/80) Installing kmod-libs (29-r2) [2023-02-15T18:04:53.111Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-15T18:04:53.111Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-15T18:04:53.111Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-15T18:04:53.111Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-15T18:04:53.199Z] Still waiting to schedule task [2023-02-15T18:04:53.199Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T18:04:53.199Z] ‘prd-ubuntu18.04-docker-8c-8g-6115’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T18:04:53.199Z] ‘prd-ubuntu20.04-docker-8c-8g-6154’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T18:04:53.199Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6161’ is offline [2023-02-15T18:04:53.368Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:04:53.368Z] Executing eudev-3.2.11-r0.trigger [2023-02-15T18:04:53.368Z] OK: 331 MiB in 131 packages [2023-02-15T18:04:55.899Z] Removing intermediate container fe6f38f613fa [2023-02-15T18:04:55.899Z] ---> 3c66cde62503 [2023-02-15T18:04:55.899Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-15T18:04:55.899Z] ---> Running in a581290f9e23 [2023-02-15T18:04:55.899Z] Removing intermediate container a581290f9e23 [2023-02-15T18:04:55.899Z] ---> 4accca78479a [2023-02-15T18:04:55.899Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-15T18:04:56.159Z] ---> f1e1947fe23b [2023-02-15T18:04:56.159Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:04:56.159Z] ---> Running in 6e8de728381c [2023-02-15T18:05:22.727Z] Removing intermediate container 6e8de728381c [2023-02-15T18:05:22.727Z] ---> 3d6b2ba9ecca [2023-02-15T18:05:22.727Z] Step 11/13 : COPY . . [2023-02-15T18:05:22.727Z] ---> 7384a6ce4844 [2023-02-15T18:05:22.727Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-15T18:05:22.727Z] ---> Running in f6e472414bc5 [2023-02-15T18:05:22.727Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:05:22.727Z] Dload Upload Total Spent Left Speed [2023-02-15T18:05:22.727Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 5922 0 --:--:-- --:--:-- --:--:-- 5932 [2023-02-15T18:05:22.728Z] Removing intermediate container f6e472414bc5 [2023-02-15T18:05:22.728Z] ---> 6de7432ee6fb [2023-02-15T18:05:22.728Z] Step 13/13 : RUN ${MAKE} [2023-02-15T18:05:22.728Z] ---> Running in ec8b1b322e6c [2023-02-15T18:05:22.728Z] noop [2023-02-15T18:05:22.728Z] Removing intermediate container ec8b1b322e6c [2023-02-15T18:05:22.728Z] ---> 490c8fc2622c [2023-02-15T18:05:22.728Z] Successfully built 490c8fc2622c [2023-02-15T18:05:22.728Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:05:23.180Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:05:23.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:05:23.324Z] prd-ubuntu20.04-docker-8c-8g-6160 does not seem to be running inside a container [2023-02-15T18:05:23.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-148 -v /w/workspace/foundry_device-usb-camera_PR-148:/w/workspace/foundry_device-usb-camera_PR-148:rw,z -v /w/workspace/foundry_device-usb-camera_PR-148@tmp:/w/workspace/foundry_device-usb-camera_PR-148@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 ******** ci-base-image-x86_64 cat [2023-02-15T18:05:23.721Z] $ docker top 7c2ed25f7ddc160638416cbe8c976813c820dc0faa1ac65ec551a34606b94c78 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:05:24.134Z] + go version [2023-02-15T18:05:24.134Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:05:24.168Z] $ docker stop --time=1 7c2ed25f7ddc160638416cbe8c976813c820dc0faa1ac65ec551a34606b94c78 [2023-02-15T18:05:25.457Z] $ docker rm -f --volumes 7c2ed25f7ddc160638416cbe8c976813c820dc0faa1ac65ec551a34606b94c78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:05:26.152Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:05:26.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:05:26.290Z] prd-ubuntu20.04-docker-8c-8g-6160 does not seem to be running inside a container [2023-02-15T18:05:26.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-148 -v /w/workspace/foundry_device-usb-camera_PR-148:/w/workspace/foundry_device-usb-camera_PR-148:rw,z -v /w/workspace/foundry_device-usb-camera_PR-148@tmp:/w/workspace/foundry_device-usb-camera_PR-148@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 ******** ci-base-image-x86_64 cat [2023-02-15T18:05:26.691Z] $ docker top c59a3ec4d16b754a313d0e1b08cc49e54cffee7a8c4b404c93c553cc214f0840 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:05:27.080Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-148 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:05:27.441Z] + make test [2023-02-15T18:05:27.441Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:05:27.702Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-15T18:05:34.256Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-15T18:05:34.256Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-15T18:05:34.256Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-15T18:05:34.256Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-15T18:05:34.256Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-15T18:05:34.256Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-15T18:05:36.156Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-15T18:05:36.156Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:116:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T18:05:36.156Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-15T18:05:36.730Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-02-15T18:05:36.730Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-02-15T18:05:36.772Z] $ docker stop --time=1 c59a3ec4d16b754a313d0e1b08cc49e54cffee7a8c4b404c93c553cc214f0840 [2023-02-15T18:05:38.753Z] $ docker rm -f --volumes c59a3ec4d16b754a313d0e1b08cc49e54cffee7a8c4b404c93c553cc214f0840 [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-02-15T18:05:39.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:05:39.900Z] [2023-02-15T18:05:39.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:05:40.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:05:40.292Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:05:40.292Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:05:40.292Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:05:40.292Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:05:40.292Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:05:40.292Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:05:40.292Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:05:40.292Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:05:40.292Z] 33b1e0a273af: Waiting [2023-02-15T18:05:40.292Z] 5d3b04190fa2: Waiting [2023-02-15T18:05:40.292Z] 2f39f015ded8: Waiting [2023-02-15T18:05:40.292Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:05:40.292Z] 5c69ac0246d0: Download complete [2023-02-15T18:05:40.292Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:05:40.292Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:05:40.555Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:05:40.555Z] 33b1e0a273af: Download complete [2023-02-15T18:05:40.555Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T18:05:40.555Z] 5d3b04190fa2: Download complete [2023-02-15T18:05:40.555Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:05:40.555Z] ec43610c2a17: Download complete [2023-02-15T18:05:40.815Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:05:40.815Z] 5eb5b503b376: Download complete [2023-02-15T18:05:41.385Z] 2f39f015ded8: Verifying Checksum [2023-02-15T18:05:41.385Z] 2f39f015ded8: Download complete [2023-02-15T18:05:41.952Z] 5eb5b503b376: Pull complete [2023-02-15T18:05:41.952Z] 5c69ac0246d0: Pull complete [2023-02-15T18:05:42.519Z] ec43610c2a17: Pull complete [2023-02-15T18:05:42.519Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:05:42.777Z] 33b1e0a273af: Pull complete [2023-02-15T18:05:42.777Z] 5d3b04190fa2: Pull complete [2023-02-15T18:05:47.010Z] 2f39f015ded8: Pull complete [2023-02-15T18:05:47.010Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:05:47.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:05:47.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:05:47.263Z] prd-ubuntu20.04-docker-8c-8g-6160 does not seem to be running inside a container [2023-02-15T18:05:47.376Z] $ 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/foundry_device-usb-camera_PR-148 -v /w/workspace/foundry_device-usb-camera_PR-148:/w/workspace/foundry_device-usb-camera_PR-148:rw,z -v /w/workspace/foundry_device-usb-camera_PR-148@tmp:/w/workspace/foundry_device-usb-camera_PR-148@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:05:49.757Z] $ docker top 3ac3696b741372b4cc226a49b204fce2202adc3218a6671676dc8131259407d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:05:50.196Z] ---> job-cost.sh [2023-02-15T18:05:50.196Z] lf-activate-venv: SKIPPING [2023-02-15T18:05:50.196Z] INFO: No Stack... [2023-02-15T18:05:50.459Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:05:50.719Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:05:51.047Z] + cat /w/workspace/foundry_device-usb-camera_PR-148/archives/cost.csv [2023-02-15T18:05:51.047Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:05:51.087Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [2023-02-15T18:05:51.092Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] did not exist. Created. [2023-02-15T18:05:51.092Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:05:51.486Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:05:51.544Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:05:51.559Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:05:51.633Z] $ docker stop --time=1 3ac3696b741372b4cc226a49b204fce2202adc3218a6671676dc8131259407d7 [2023-02-15T18:05:52.807Z] $ docker rm -f --volumes 3ac3696b741372b4cc226a49b204fce2202adc3218a6671676dc8131259407d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:05:53.124Z] Failed in branch amd64 [2023-02-15T18:07:06.842Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6163 in /w/workspace/foundry_device-usb-camera_PR-148 [Pipeline] { [Pipeline] ws [2023-02-15T18:07:06.893Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-15T18:07:06.964Z] Selected Git installation does not exist. Using Default [2023-02-15T18:07:06.964Z] The recommended git tool is: NONE [2023-02-15T18:07:12.050Z] using credential edgex-jenkins-ssh [2023-02-15T18:07:12.071Z] Cloning the remote Git repository [2023-02-15T18:07:12.129Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-15T18:07:12.210Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-15T18:07:12.368Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-15T18:07:12.369Z] > git --version # timeout=10 [2023-02-15T18:07:12.389Z] > git --version # 'git version 2.25.1' [2023-02-15T18:07:12.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:07:12.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:07:13.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-15T18:07:13.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:07:14.299Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-15T18:07:14.343Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-15T18:07:14.344Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:07:14.362Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/148/head:refs/remotes/origin/PR-148 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T18:07:15.098Z] Merging remotes/origin/main commit c4833ecb71a5b036c07645cdd3981a69f5c223ec into PR head commit 74a61bde4e44d327b782092d128b30103c851033 [2023-02-15T18:07:15.340Z] Merge succeeded, producing 74a61bde4e44d327b782092d128b30103c851033 [2023-02-15T18:07:15.340Z] Checking out Revision 74a61bde4e44d327b782092d128b30103c851033 (PR-148) [2023-02-15T18:07:15.119Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:07:15.137Z] > git checkout -f 74a61bde4e44d327b782092d128b30103c851033 # timeout=10 [2023-02-15T18:07:15.236Z] > git remote # timeout=10 [2023-02-15T18:07:15.258Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T18:07:15.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:07:15.289Z] > git merge c4833ecb71a5b036c07645cdd3981a69f5c223ec # timeout=10 [2023-02-15T18:07:15.323Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T18:07:15.351Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:07:15.372Z] > git checkout -f 74a61bde4e44d327b782092d128b30103c851033 # timeout=10 [2023-02-15T18:07:15.965Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-15T18:07:16.049Z] > git --version # timeout=10 [2023-02-15T18:07:16.063Z] > git --version # 'git version 2.25.1' [2023-02-15T18:07:16.082Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:07:17.270Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:07:17.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:07:17.270Z] Dload Upload Total Spent Left Speed [2023-02-15T18:07:17.270Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-02-15T18:07:17.875Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:07:18.235Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:07:18.235Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:07:18.235Z] { [2023-02-15T18:07:18.235Z] "registry-mirrors": [ [2023-02-15T18:07:18.235Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:07:18.235Z] ], [2023-02-15T18:07:18.235Z] "bip": "10.250.0.254/24", [2023-02-15T18:07:18.235Z] "hosts": [ [2023-02-15T18:07:18.235Z] "tcp://0.0.0.0:5555", [2023-02-15T18:07:18.235Z] "unix:///var/run/docker.sock" [2023-02-15T18:07:18.235Z] ], [2023-02-15T18:07:18.235Z] "mtu": 1458, [2023-02-15T18:07:18.235Z] "selinux-enabled": true, [2023-02-15T18:07:18.235Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:07:18.235Z] } [Pipeline] sh [2023-02-15T18:07:18.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:07:18.948Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:07:37.301Z] provisioning config files... [2023-02-15T18:07:37.330Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config5001794907812583141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:07:37.726Z] ---> docker-login.sh [2023-02-15T18:07:37.726Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:07:38.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:07:38.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:07:38.326Z] Configure a credential helper to remove this warning. See [2023-02-15T18:07:38.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:07:38.326Z] [2023-02-15T18:07:38.326Z] Login Succeeded [2023-02-15T18:07:38.326Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:07:38.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:07:38.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:07:38.864Z] Configure a credential helper to remove this warning. See [2023-02-15T18:07:38.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:07:38.864Z] [2023-02-15T18:07:38.864Z] Login Succeeded [2023-02-15T18:07:38.864Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:07:39.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:07:39.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:07:39.139Z] Configure a credential helper to remove this warning. See [2023-02-15T18:07:39.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:07:39.139Z] [2023-02-15T18:07:39.139Z] Login Succeeded [2023-02-15T18:07:39.139Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:07:39.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:07:39.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:07:39.683Z] Configure a credential helper to remove this warning. See [2023-02-15T18:07:39.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:07:39.683Z] [2023-02-15T18:07:39.683Z] Login Succeeded [2023-02-15T18:07:39.683Z] docker.io [2023-02-15T18:07:39.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:07:40.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:07:40.225Z] Configure a credential helper to remove this warning. See [2023-02-15T18:07:40.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:07:40.225Z] [2023-02-15T18:07:40.225Z] Login Succeeded [2023-02-15T18:07:40.225Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:07:40.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:07:40.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:07:40.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:07:40.762Z] ========================================================= [2023-02-15T18:07:40.762Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:07:40.762Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:07:41.273Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:07:41.544Z] Sending build context to Docker daemon 1.133MB [2023-02-15T18:07:41.544Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:07:41.544Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-15T18:07:41.824Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:07:41.824Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:07:41.824Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:07:41.824Z] e16973657156: Pulling fs layer [2023-02-15T18:07:41.824Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:07:41.824Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:07:41.824Z] dda99020689f: Pulling fs layer [2023-02-15T18:07:41.824Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:07:41.824Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:07:41.824Z] dda99020689f: Waiting [2023-02-15T18:07:41.824Z] fc693d55d65f: Waiting [2023-02-15T18:07:41.824Z] 7e9fc2657dce: Waiting [2023-02-15T18:07:41.824Z] db1c61fa0a46: Waiting [2023-02-15T18:07:41.824Z] 891c053d2c06: Waiting [2023-02-15T18:07:41.824Z] e16973657156: Verifying Checksum [2023-02-15T18:07:41.824Z] e16973657156: Download complete [2023-02-15T18:07:41.824Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:07:41.824Z] 35d82f9e3411: Download complete [2023-02-15T18:07:41.824Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:07:41.824Z] 7e9fc2657dce: Download complete [2023-02-15T18:07:41.824Z] dda99020689f: Download complete [2023-02-15T18:07:41.824Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:07:41.824Z] 9b18e9b68314: Download complete [2023-02-15T18:07:43.244Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:07:43.244Z] 891c053d2c06: Download complete [2023-02-15T18:07:43.517Z] 9b18e9b68314: Pull complete [2023-02-15T18:07:44.107Z] 35d82f9e3411: Pull complete [2023-02-15T18:07:44.379Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:07:44.379Z] db1c61fa0a46: Download complete [2023-02-15T18:07:44.379Z] e16973657156: Pull complete [2023-02-15T18:07:44.987Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:07:44.987Z] fc693d55d65f: Download complete [2023-02-15T18:07:57.329Z] fc693d55d65f: Pull complete [2023-02-15T18:07:57.329Z] 7e9fc2657dce: Pull complete [2023-02-15T18:07:57.329Z] dda99020689f: Pull complete [2023-02-15T18:08:04.089Z] db1c61fa0a46: Pull complete [2023-02-15T18:08:05.556Z] 891c053d2c06: Pull complete [2023-02-15T18:08:05.556Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:08:05.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:08:05.556Z] ---> f96f9c87975a [2023-02-15T18:08:05.556Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:08:07.520Z] ---> Running in d7b4801debeb [2023-02-15T18:08:08.106Z] Removing intermediate container d7b4801debeb [2023-02-15T18:08:08.106Z] ---> 07d5a0f18b8b [2023-02-15T18:08:08.106Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:08:08.106Z] ---> Running in 0fd62cdda677 [2023-02-15T18:08:08.392Z] Removing intermediate container 0fd62cdda677 [2023-02-15T18:08:08.392Z] ---> 7f966be24a86 [2023-02-15T18:08:08.392Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-15T18:08:08.392Z] ---> Running in 4f06110b054e [2023-02-15T18:08:08.991Z] Removing intermediate container 4f06110b054e [2023-02-15T18:08:08.991Z] ---> 468c3946435c [2023-02-15T18:08:08.991Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-15T18:08:08.991Z] ---> Running in 3708c8534eca [2023-02-15T18:08:09.267Z] Removing intermediate container 3708c8534eca [2023-02-15T18:08:09.267Z] ---> c38342f47915 [2023-02-15T18:08:09.267Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:08:09.267Z] ---> Running in a55790694c62 [2023-02-15T18:08:10.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:08:10.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:08:11.936Z] (1/14) Installing libintl (0.21-r2) [2023-02-15T18:08:11.936Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-15T18:08:11.936Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-15T18:08:11.936Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-15T18:08:11.936Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-15T18:08:11.936Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-15T18:08:11.936Z] Executing udev-init-scripts-35-r0.post-install [2023-02-15T18:08:11.936Z] (7/14) Installing libblkid (2.38-r1) [2023-02-15T18:08:11.936Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-15T18:08:11.936Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-15T18:08:11.936Z] (10/14) Installing kmod-libs (29-r2) [2023-02-15T18:08:11.936Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-15T18:08:11.936Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-15T18:08:12.207Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-15T18:08:12.207Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-15T18:08:12.207Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:08:12.207Z] Executing eudev-3.2.11-r0.trigger [2023-02-15T18:08:12.207Z] OK: 228 MiB in 65 packages [2023-02-15T18:08:13.627Z] Removing intermediate container a55790694c62 [2023-02-15T18:08:13.627Z] ---> 2666ae718362 [2023-02-15T18:08:13.627Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-15T18:08:13.627Z] ---> Running in ec68f1470844 [2023-02-15T18:08:13.896Z] Removing intermediate container ec68f1470844 [2023-02-15T18:08:13.896Z] ---> 640585091c82 [2023-02-15T18:08:13.896Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-15T18:08:14.485Z] ---> 1ad33b8edf4c [2023-02-15T18:08:14.485Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:08:14.485Z] ---> Running in da3c21e1da14 [2023-02-15T18:09:22.418Z] Removing intermediate container da3c21e1da14 [2023-02-15T18:09:22.418Z] ---> cdd7b5ed570f [2023-02-15T18:09:22.418Z] Step 11/13 : COPY . . [2023-02-15T18:09:22.418Z] ---> 8d03e73a1221 [2023-02-15T18:09:22.418Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-15T18:09:22.418Z] ---> Running in ecec6baba93d [2023-02-15T18:09:22.418Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:09:22.418Z] Dload Upload Total Spent Left Speed [2023-02-15T18:09:22.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 12055 0 --:--:-- --:--:-- --:--:-- 12206 [2023-02-15T18:09:22.418Z] Removing intermediate container ecec6baba93d [2023-02-15T18:09:22.418Z] ---> 9703029b4a31 [2023-02-15T18:09:22.418Z] Step 13/13 : RUN ${MAKE} [2023-02-15T18:09:22.418Z] ---> Running in 2737f6b32370 [2023-02-15T18:09:22.418Z] noop [2023-02-15T18:09:22.418Z] Removing intermediate container 2737f6b32370 [2023-02-15T18:09:22.418Z] ---> 010202eb0fd4 [2023-02-15T18:09:22.418Z] Successfully built 010202eb0fd4 [2023-02-15T18:09:22.418Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:09:22.895Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:09:22.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:09:23.161Z] prd-ubuntu20.04-docker-arm64-4c-16g-6163 does not seem to be running inside a container [2023-02-15T18:09:23.230Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-15T18:09:24.428Z] $ docker top f95c999da446e4bd889ecbe0d3de557d33441605bb02cbc4f3fd130b599bb660 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:09:25.309Z] + go version [2023-02-15T18:09:25.309Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:09:25.346Z] $ docker stop --time=1 f95c999da446e4bd889ecbe0d3de557d33441605bb02cbc4f3fd130b599bb660 [2023-02-15T18:09:26.973Z] $ docker rm -f --volumes f95c999da446e4bd889ecbe0d3de557d33441605bb02cbc4f3fd130b599bb660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:09:27.816Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:09:27.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:09:28.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-6163 does not seem to be running inside a container [2023-02-15T18:09:28.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat [2023-02-15T18:09:29.322Z] $ docker top 8f5f906ee8f7c2a62cf8a4a71a63390cad57f894bd37fab2a7325c1998f94a83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:09:29.879Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:09:30.277Z] + make test [2023-02-15T18:09:30.278Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T18:09:32.245Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-15T18:10:28.657Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-02-15T18:10:28.657Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-02-15T18:10:28.657Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-02-15T18:10:28.657Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-15T18:10:28.657Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-02-15T18:10:28.657Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-02-15T18:10:46.871Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:49:71: undefined: common.ValueYes [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/command.go:54:74: undefined: common.ValueYes [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:68:23: undefined: common.Metrics [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:78:24: undefined: common.NewMetricsResponse [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:79:41: undefined: common.ApiMetricsRoute [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/common.go:116:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/http/restrouter.go:60:28: undefined: common.ApiMetricsRoute [2023-02-15T18:10:46.871Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:219:43: undefined: common.ValueYes [2023-02-15T18:10:46.871Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.8/internal/controller/messaging/command.go:223:45: undefined: common.ValueNo [2023-02-15T18:10:59.195Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-02-15T18:10:59.195Z] make: *** [Makefile:46: unittest] Error 2 [Pipeline] } [2023-02-15T18:10:59.242Z] $ docker stop --time=1 8f5f906ee8f7c2a62cf8a4a71a63390cad57f894bd37fab2a7325c1998f94a83 [2023-02-15T18:11:00.984Z] $ docker rm -f --volumes 8f5f906ee8f7c2a62cf8a4a71a63390cad57f894bd37fab2a7325c1998f94a83 [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-02-15T18:11:02.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:11:02.481Z] [2023-02-15T18:11:02.481Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:11:02.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:11:03.153Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:11:03.153Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:11:03.153Z] 04944245beec: Pulling fs layer [2023-02-15T18:11:03.153Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:11:03.153Z] 765212b225bb: Pulling fs layer [2023-02-15T18:11:03.153Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:11:03.153Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:11:03.153Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:11:03.153Z] f23df028b6ca: Waiting [2023-02-15T18:11:03.153Z] d65c8cfc05b1: Waiting [2023-02-15T18:11:03.153Z] 765212b225bb: Waiting [2023-02-15T18:11:03.153Z] 2437ff75d9bd: Waiting [2023-02-15T18:11:03.153Z] 04944245beec: Verifying Checksum [2023-02-15T18:11:03.153Z] 04944245beec: Download complete [2023-02-15T18:11:03.153Z] 765212b225bb: Verifying Checksum [2023-02-15T18:11:03.153Z] 765212b225bb: Download complete [2023-02-15T18:11:03.421Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:11:03.421Z] f23df028b6ca: Download complete [2023-02-15T18:11:03.421Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:11:03.421Z] 699f458cf7ca: Download complete [2023-02-15T18:11:03.421Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:11:03.421Z] d65c8cfc05b1: Download complete [2023-02-15T18:11:03.687Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:11:03.687Z] 8998bd30e6a1: Download complete [2023-02-15T18:11:06.272Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:11:06.272Z] 2437ff75d9bd: Download complete [2023-02-15T18:11:07.679Z] 8998bd30e6a1: Pull complete [2023-02-15T18:11:07.947Z] 04944245beec: Pull complete [2023-02-15T18:11:09.361Z] 699f458cf7ca: Pull complete [2023-02-15T18:11:09.361Z] 765212b225bb: Pull complete [2023-02-15T18:11:09.946Z] f23df028b6ca: Pull complete [2023-02-15T18:11:10.213Z] d65c8cfc05b1: Pull complete [2023-02-15T18:11:22.536Z] 2437ff75d9bd: Pull complete [2023-02-15T18:11:22.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:11:22.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:11:22.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:11:22.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-6163 does not seem to be running inside a container [2023-02-15T18:11:22.934Z] $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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-lftools-log-publisher:arm64 cat [2023-02-15T18:11:25.683Z] $ docker top 8b80eb7c3939ab5cfa3fad9ed597d1ee62b0beb4794bcbc6ef665da1108163aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:26.609Z] ---> job-cost.sh [2023-02-15T18:11:26.609Z] lf-activate-venv: SKIPPING [2023-02-15T18:11:26.609Z] INFO: No Stack... [2023-02-15T18:11:27.194Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:11:28.166Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:11:28.835Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2023-02-15T18:11:28.835Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:11:28.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [2023-02-15T18:11:28.931Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] did not exist. Created. [2023-02-15T18:11:28.931Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:11:29.659Z] /w/workspace/device-usb-camera/1@tmp/durable-210084e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:11:30.337Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:11:30.375Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:11:30.893Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:11:30.910Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-148-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:11:30.994Z] $ docker stop --time=1 8b80eb7c3939ab5cfa3fad9ed597d1ee62b0beb4794bcbc6ef665da1108163aa [2023-02-15T18:11:34.417Z] $ docker rm -f --volumes 8b80eb7c3939ab5cfa3fad9ed597d1ee62b0beb4794bcbc6ef665da1108163aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:11:35.226Z] 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-02-15T18:11:37.116Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-148/archives ] [2023-02-15T18:11:37.116Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-148/archives [2023-02-15T18:11:37.116Z] total 16 [2023-02-15T18:11:37.116Z] drwxr-xr-x 3 root root 4096 Feb 15 18:05 . [2023-02-15T18:11:37.116Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:05 .. [2023-02-15T18:11:37.116Z] drwxr-xr-x 2 root root 4096 Feb 15 18:05 cost [2023-02-15T18:11:37.116Z] -rw-r--r-- 1 root root 89 Feb 15 18:05 cost.csv [2023-02-15T18:11:37.116Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-148/archives [2023-02-15T18:11:37.116Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-148/archives [2023-02-15T18:11:37.116Z] total 16 [2023-02-15T18:11:37.116Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:05 . [2023-02-15T18:11:37.116Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:05 .. [2023-02-15T18:11:37.116Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:05 cost [2023-02-15T18:11:37.116Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 15 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:37.452Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:38.346Z] ---> package-listing.sh [2023-02-15T18:11:38.346Z] ++ facter osfamily [2023-02-15T18:11:38.346Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:11:38.607Z] + OS_FAMILY=debian [2023-02-15T18:11:38.607Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-148 [2023-02-15T18:11:38.607Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:11:38.607Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:11:38.607Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:11:38.607Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:11:38.607Z] + '[' /w/workspace/foundry_device-usb-camera_PR-148 ']' [2023-02-15T18:11:38.607Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:11:38.607Z] + case "${OS_FAMILY}" in [2023-02-15T18:11:38.607Z] + dpkg -l [2023-02-15T18:11:38.607Z] + grep '^ii' [2023-02-15T18:11:38.607Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:11:38.607Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:11:38.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:11:38.607Z] + '[' /w/workspace/foundry_device-usb-camera_PR-148 ']' [2023-02-15T18:11:38.607Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-148/archives/ [2023-02-15T18:11:38.607Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-148/archives/ [Pipeline] echo [2023-02-15T18:11:38.642Z] 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/foundry_device-usb-camera_PR-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:11:38.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:11:39.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:11:39.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:11:39.708Z] prd-ubuntu20.04-docker-8c-8g-6160 does not seem to be running inside a container [2023-02-15T18:11:39.742Z] $ 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/foundry_device-usb-camera_PR-148/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-148 -v /w/workspace/foundry_device-usb-camera_PR-148:/w/workspace/foundry_device-usb-camera_PR-148:rw,z -v /w/workspace/foundry_device-usb-camera_PR-148@tmp:/w/workspace/foundry_device-usb-camera_PR-148@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-lftools-log-publisher:latest cat [2023-02-15T18:11:39.975Z] $ docker top 6576d6234f7d9a7d44952430df7f30e108d80adf887eb0a99e7e6788e975ea62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:11:40.366Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:11:40.679Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:11:40.997Z] + ls /var/log/sa-host [2023-02-15T18:11:40.997Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:11:41.147Z] provisioning config files... [2023-02-15T18:11:41.157Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-148@tmp/config4612985773513476049tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:11:41.212Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:41.531Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:11:41.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:41.970Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:11:42.005Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:42.326Z] ---> sudo-logs.sh [2023-02-15T18:11:42.326Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:11:42.411Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:42.732Z] ---> job-cost.sh [2023-02-15T18:11:42.732Z] lf-activate-venv: SKIPPING [2023-02-15T18:11:42.732Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:11:42.732Z] INFO: Retrieving Stack Cost... [2023-02-15T18:11:43.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:11:43.564Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:11:43.602Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:11:43.915Z] ---> logs-deploy.sh [2023-02-15T18:11:43.916Z] lf-activate-venv: SKIPPING [2023-02-15T18:11:43.916Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-148/1 [2023-02-15T18:11:43.916Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:11:44.854Z] Archives upload complete. [2023-02-15T18:11:45.115Z] INFO: archiving logs to Nexus