Coder Social home page Coder Social logo

eventing-ceph's People

Contributors

adrcunha avatar aliok avatar aslom avatar chaodaig avatar chizhg avatar devguyio avatar dprotaso avatar dubee avatar evankanderson avatar grantr avatar harwayne avatar knative-automation avatar lberk avatar lionelvillard avatar markusthoemmes avatar mattmoor avatar mattmoor-sockpuppet avatar matzew avatar mibc avatar n3wscott avatar nachocano avatar nicolaferraro avatar pierdipi avatar slinkydeveloper avatar srvaroa avatar syedriko avatar tom24d avatar tzununbekov avatar vaikas avatar yuvalif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eventing-ceph's Issues

Add documentation on how to use this

Problem

The samples are not enough. How does one connect a ceph bucket notification to this? Could you please add more documentation? Also, is this being actively maintained?

Persona:
Which persona is this feature for?

Event producer

Exit Criteria
Documentation on how to connect ceph with this. This could also be added to the list of event sources: https://knative.dev/docs/eventing/sources/

./hack/release.sh fails in "validation tests failed, aborting" on fedora 34 with golang go1.16.8

Describe the bug
./hack/release.sh fails on my local laptop mentioning "validation tests failed, aborting" but ceph.yaml got created

Expected behavior
It should pass

To Reproduce
Ran ./hack/release.sh

Steps to reproduce the behavior.
Ran ./hack/release.sh
Knative release version
master branch

Additional context
it also complains about gotestsum, kntest, go-licenses: command not found but all installed in "~/go/bin"

$ ls ~/go/bin/
client-gen  controller-gen  deepcopy-gen  defaulter-gen  go-licenses  gotestsum  informer-gen  kntest  ko  kustomize  lister-gen  ocs-operator  yq
[jiffin@localhost eventing-ceph]$ sudo ./hack/release.sh 
++ readonly ORG_NAME=knative
++ ORG_NAME=knative
++ readonly REPO_UPSTREAM=https://github.com/knative/eventing-ceph
++ REPO_UPSTREAM=https://github.com/knative/eventing-ceph
++ readonly NIGHTLY_GCR=gcr.io/knative-nightly/github.com/knative/eventing-ceph
++ NIGHTLY_GCR=gcr.io/knative-nightly/github.com/knative/eventing-ceph
++ readonly RELEASE_GCR=gcr.io/knative-releases/github.com/knative/eventing-ceph
++ RELEASE_GCR=gcr.io/knative-releases/github.com/knative/eventing-ceph
++ GEO_REPLICATION=('us' 'eu' 'asia')
++ readonly GEO_REPLICATION
++ SKIP_TESTS=0
++ PRESUBMIT_TEST_FAIL_FAST=1
++ TAG_RELEASE=0
++ PUBLISH_RELEASE=0
++ PUBLISH_TO_GITHUB=0
++ TAG=
++ BUILD_COMMIT_HASH=
++ BUILD_YYYYMMDD=
++ BUILD_TIMESTAMP=
++ BUILD_TAG=
++ RELEASE_VERSION=
++ RELEASE_NOTES=
++ RELEASE_BRANCH=
++ RELEASE_GCS_BUCKET=knative-nightly/eventing-ceph
++ RELEASE_DIR=
++ KO_FLAGS='-P --platform=all'
++ VALIDATION_TESTS=./test/presubmit-tests.sh
++ ARTIFACTS_TO_PUBLISH=
++ FROM_NIGHTLY_RELEASE=
++ FROM_NIGHTLY_RELEASE_GCS=
++ export KO_DOCKER_REPO=gcr.io/knative-nightly
++ KO_DOCKER_REPO=gcr.io/knative-nightly
++ export 'GOFLAGS=-ldflags=-s -ldflags=-w'
++ GOFLAGS='-ldflags=-s -ldflags=-w'
++ export GITHUB_TOKEN=
++ GITHUB_TOKEN=
+ export GO111MODULE=on
+ GO111MODULE=on
+ declare -A COMPONENTS
+ COMPONENTS=(["ceph.yaml"]="config")
+ readonly COMPONENTS
+ main
+ parse_flags
+ local has_gcr_flag=0
+ local has_gcs_flag=0
+ local has_dir_flag=0
+ local is_dot_release=0
+ local is_auto_release=0
+ cd /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph
+ [[ 0 -ne 0 ]]
+ ((  has_gcs_flag  ))
+ [[ -n knative-nightly/eventing-ceph ]]
+ [[ -n '' ]]
+ ((  is_auto_release  ))
+ [[ -n '' ]]
+ ((  is_dot_release  ))
+ ((  ! PUBLISH_RELEASE  ))
+ ((  has_gcr_flag  ))
+ ((  has_gcs_flag  ))
+ KO_DOCKER_REPO=ko.local
+ RELEASE_GCS_BUCKET=
+ [[ -z '' ]]
+ RELEASE_DIR=/home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph
+ [[ -z '' ]]
+ [[ -z /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph ]]
+ [[ -n /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph ]]
+ mkdir -p /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph
++ git describe --always --dirty --match '^$'
+ BUILD_COMMIT_HASH=3ff287ee
+ [[ -n 3ff287ee ]]
++ date -u +%Y%m%d
+ BUILD_YYYYMMDD=20211028
++ date -u '+%Y-%m-%d %H:%M:%S'
+ BUILD_TIMESTAMP='2021-10-28 09:07:56'
+ BUILD_TAG=v20211028-3ff287ee
+ ((  TAG_RELEASE  ))
+ [[ -n '' ]]
+ [[ -n '' ]]
+ readonly BUILD_COMMIT_HASH
+ readonly BUILD_YYYYMMDD
+ readonly BUILD_TIMESTAMP
+ readonly BUILD_TAG
+ readonly SKIP_TESTS
+ readonly TAG_RELEASE
+ readonly PUBLISH_RELEASE
+ readonly PUBLISH_TO_GITHUB
+ readonly TAG
+ readonly RELEASE_VERSION
+ readonly RELEASE_NOTES
+ readonly RELEASE_BRANCH
+ readonly RELEASE_GCS_BUCKET
+ readonly RELEASE_DIR
+ readonly VALIDATION_TESTS
+ readonly FROM_NIGHTLY_RELEASE
+ local current_branch
++ git rev-parse --abbrev-ref HEAD
+ current_branch=main
+ [[ -n '' ]]
+ function_exists build_release
++ type -t build_release
+ [[ function == \f\u\n\c\t\i\o\n ]]
+ [[ -x ./test/presubmit-tests.sh ]]
+ banner 'Release configuration'
+ make_banner @ 'Release configuration'
+ local 'msg=@@@@ Release configuration @@@@'
+ local border=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo -e '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n@@@@ Release configuration @@@@\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@ Release configuration @@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
++ TZ=America/Los_Angeles
++ date
+ echo -e '@@@@ Thursday 28 October 2021 02:07:56 AM PDT\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@ Thursday 28 October 2021 02:07:56 AM PDT
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ which gcloud
+ echo '- Go path: /root/go'
- Go path: /root/go
+ echo '- Repository root: /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph'
- Repository root: /home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph
+ echo '- Destination GCR: ko.local'
- Destination GCR: ko.local
+ ((  SKIP_TESTS  ))
+ echo '- Tests will be run'
- Tests will be run
+ ((  TAG_RELEASE  ))
+ echo '- Artifacts WILL NOT be tagged'
- Artifacts WILL NOT be tagged
+ ((  PUBLISH_RELEASE  ))
+ echo '- Release will not be published'
- Release will not be published
+ ((  PUBLISH_TO_GITHUB  ))
+ [[ -n '' ]]
+ echo '- Release will be BUILT FROM SOURCE'
- Release will be BUILT FROM SOURCE
+ [[ -n '' ]]
+ [[ -n '' ]]
+ [[ -n '' ]]
+ set -e -o pipefail
+ build_from_source
+ run_validation_tests ./test/presubmit-tests.sh
+ ((  SKIP_TESTS  ))
+ banner 'Running release validation tests'
+ make_banner @ 'Running release validation tests'
+ local 'msg=@@@@ Running release validation tests @@@@'
+ local border=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo -e '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n@@@@ Running release validation tests @@@@\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@ Running release validation tests @@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
++ TZ=America/Los_Angeles
++ date
+ echo -e '@@@@ Thursday 28 October 2021 02:07:56 AM PDT\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@ Thursday 28 October 2021 02:07:56 AM PDT
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ local old_docker_repo=ko.local
+ unset KO_DOCKER_REPO
+ ./test/presubmit-tests.sh
=============================
==== RUNNING BUILD TESTS ====
=============================
==== Thursday 28 October 2021 02:07:56 AM PDT
=============================
---------------------------------------------------
---- Checking autogenerated code is up-to-date ----
---------------------------------------------------
---- Thursday 28 October 2021 02:07:56 AM PDT
---------------------------------------------------
=== Update Codegen for knative.dev/eventing-ceph
GOPATH=/tmp/tmp.dSfqMnIAb9
--- Kubernetes Codegen
go: downloading k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027
go: downloading github.com/spf13/pflag v1.0.5
go: downloading k8s.io/klog/v2 v2.8.0
go: downloading github.com/go-logr/logr v0.4.0
go: downloading golang.org/x/tools v0.1.0
go: downloading golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449
go: downloading golang.org/x/sys v0.0.0-20210426230700-d19ff857e887
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
Generating deepcopy funcs
Generating clientset for sources:v1alpha1 at knative.dev/eventing-ceph/pkg/client/clientset
Generating listers for sources:v1alpha1 at knative.dev/eventing-ceph/pkg/client/listers
Generating informers for sources:v1alpha1 at knative.dev/eventing-ceph/pkg/client/informers
--- Knative Codegen
Generating injection for sources:v1alpha1 at knative.dev/eventing-ceph/pkg/client/injection
--- Update deps post-codegen
=== Update Deps for Golang
--- Go mod tidy and vendor
go: downloading k8s.io/apimachinery v0.21.4
go: downloading knative.dev/pkg v0.0.0-20211015194524-a5bb75923981
go: downloading k8s.io/client-go v0.21.4
go: downloading knative.dev/eventing v0.26.1-0.20211014072442-a6a819dc71cf
go: downloading knative.dev/hack v0.0.0-20211015200324-86876688e735
go: downloading github.com/cloudevents/sdk-go/v2 v2.4.1
go: downloading go.uber.org/zap v1.19.1
go: downloading k8s.io/api v0.21.4
go: downloading github.com/kelseyhightower/envconfig v1.4.0
go: downloading github.com/google/go-cmp v0.5.6
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading github.com/google/gofuzz v1.2.0
go: downloading sigs.k8s.io/yaml v1.3.0
go: downloading go.uber.org/automaxprocs v1.4.0
go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
go: downloading github.com/google/uuid v1.3.0
go: downloading go.opencensus.io v0.23.0
go: downloading go.uber.org/atomic v1.9.0
go: downloading github.com/blendle/zapdriver v1.3.1
go: downloading k8s.io/klog v1.0.0
go: downloading github.com/gobuffalo/flect v0.2.3
go: downloading github.com/gomodules/jsonpatch/v2 v2.1.0
go: downloading k8s.io/apiextensions-apiserver v0.21.4
go: downloading contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d
go: downloading contrib.go.opencensus.io/exporter/prometheus v0.4.0
go: downloading google.golang.org/grpc v1.41.0
go: downloading github.com/census-instrumentation/opencensus-proto v0.3.0
go: downloading golang.org/x/net v0.0.0-20210928044308-7d9f5e0b762b
go: downloading google.golang.org/protobuf v1.27.1
go: downloading k8s.io/code-generator v0.21.4
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.1.2
go: downloading github.com/stretchr/testify v1.7.0
go: downloading go.uber.org/multierr v1.6.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading go.uber.org/goleak v1.1.11-0.20210813005559-691160354723
go: downloading github.com/evanphx/json-patch v4.9.0+incompatible
go: downloading golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
go: downloading k8s.io/utils v0.0.0-20201110183641-67b214c5f920
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/googleapis/gnostic v0.4.1
go: downloading github.com/evanphx/json-patch/v5 v5.5.0
go: downloading github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.4.1
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/json-iterator/go v1.1.10
go: downloading github.com/modern-go/reflect2 v1.0.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/blang/semver v3.5.1+incompatible
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading github.com/benbjohnson/clock v1.1.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading golang.org/x/tools v0.1.7
go: downloading github.com/prometheus/client_golang v0.9.2
go: downloading github.com/prometheus/statsd_exporter v0.21.0
go: downloading google.golang.org/api v0.58.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading k8s.io/gengo v0.0.0-20210203185629-de9496dff47b
go: downloading k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7
go: downloading golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
go: downloading golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/rogpeppe/fastuuid v1.2.0
go: downloading github.com/tsenart/vegeta/v12 v12.8.4
go: downloading github.com/hashicorp/go-retryablehttp v0.6.7
go: downloading github.com/rickb777/date v1.13.0
go: downloading contrib.go.opencensus.io/exporter/zipkin v0.1.2
go: downloading github.com/openzipkin/zipkin-go v0.2.5
go: downloading github.com/onsi/ginkgo v1.14.2
go: downloading github.com/lightstep/tracecontext.go v0.0.0-20181129014701-1757c391b1ac
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/common v0.31.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/procfs v0.2.0
go: downloading github.com/go-kit/log v0.1.0
go: downloading google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0
go: downloading github.com/valyala/bytebufferpool v1.0.0
go: downloading github.com/imdario/mergo v0.3.9
go: downloading golang.org/x/sys v0.0.0-20210917161153-d61c044b1678
go: downloading github.com/google/mako v0.0.0-20190821191249-122f8dcef9e3
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/hashicorp/go-hclog v0.9.2
go: downloading github.com/rickb777/plural v1.2.1
go: downloading github.com/onsi/gomega v1.10.4
go: downloading github.com/gorilla/mux v1.7.4
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading github.com/go-logfmt/logfmt v0.5.0
go: downloading github.com/go-stack/stack v1.8.0
go: downloading golang.org/x/text v0.3.6
go: downloading github.com/influxdata/tdigest v0.0.1
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b
go: downloading github.com/dgryski/go-gk v0.0.0-20200319235926-a69029f61654
go: downloading github.com/streadway/quantile v0.0.0-20150917103942-b0c588724d25
go: downloading pgregory.net/rapid v0.3.3
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading cloud.google.com/go v0.96.0
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/nxadm/tail v1.4.4
go: downloading golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
go: downloading gonum.org/v1/gonum v0.0.0-20181121035319-3f7ecaa7e8ca
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/go-openapi/spec v0.19.6
go: downloading github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
go: downloading cloud.google.com/go/storage v1.16.1
go: downloading golang.org/x/mod v0.4.2
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/go-openapi/jsonreference v0.19.5
go: downloading github.com/go-openapi/swag v0.19.15
go: downloading github.com/google/go-github/v27 v27.0.6
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/googleapis/gax-go/v2 v2.1.1
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/google/go-querystring v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/google/martian v2.1.0+incompatible
go: downloading github.com/google/martian/v3 v3.2.1
go: downloading gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6
go: downloading github.com/golang/snappy v0.0.3
--- Removing unwanted vendor files
--- Updating licenses
which: no go-licenses in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin)
go: downloading github.com/google/go-licenses v0.0.0-20211006200916-ceb292363ec8
go: downloading github.com/spf13/cobra v0.0.5
go: downloading github.com/otiai10/copy v1.6.0
go: downloading github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
go: downloading golang.org/x/tools v0.0.0-20191118222007-07fc4c7f2b98
go: downloading gopkg.in/src-d/go-git.v4 v4.13.1
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20191117063200-497ca9f6d64f
go: downloading gopkg.in/src-d/go-billy.v4 v4.3.2
go: downloading github.com/sergi/go-diff v1.2.0
go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
go: downloading github.com/emirpasic/gods v1.12.0
go: downloading github.com/src-d/gcfg v1.4.0
go: downloading github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/xanzy/ssh-agent v0.2.1
go: downloading golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading golang.org/x/sys v0.0.0-20191119060738-e882bf8e40c2
/home/jiffin/go/src/github.com/knative-sandbox/eventing-ceph/hack/../vendor/knative.dev/hack/library.sh: line 519: go-licenses: command not found
--- FAIL: go-licenses failed to update licenses
JUnit file /tmp/tmp.2tNINw4iXG/junit_RSg9rZql.xml is created for reporting the test result
--- FAIL: kntest not installed, please clone knative test-infra repo and run `go install ./kntest/cmd/kntest` to install it
--------------------------------------
---- Checking that go code builds ----
--------------------------------------
---- Thursday 28 October 2021 02:22:17 AM PDT
--------------------------------------
grep: ./.git/objects/pack/pack-9e9b2e79a89e231992b6103b500a68023d5bd171.pack: binary file matches
grep: ./.git/objects/pack/pack-9e9b2e79a89e231992b6103b500a68023d5bd171.pack: binary file matches
JUnit file /tmp/tmp.2tNINw4iXG/junit_RWNQModn.xml is created for reporting the test result
--- FAIL: kntest not installed, please clone knative test-infra repo and run `go install ./kntest/cmd/kntest` to install it
-----------------------------------------
---- Checking for forbidden licenses ----
-----------------------------------------
---- Thursday 28 October 2021 02:22:19 AM PDT
-----------------------------------------
which: no go-licenses in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin)
./test/../vendor/knative.dev/hack/library.sh: line 519: go-licenses: command not found
--- FAIL: go-licenses failed the license check
JUnit file /tmp/tmp.2tNINw4iXG/junit_RyaCT4Rv.xml is created for reporting the test result
--- FAIL: kntest not installed, please clone knative test-infra repo and run `go install ./kntest/cmd/kntest` to install it
Step failed: default_build_test_runner
============================
==== BUILD TESTS FAILED ====
============================
==== Thursday 28 October 2021 02:22:24 AM PDT
============================
Step failed: run_build_tests
============================
==== RUNNING UNIT TESTS ====
============================
==== Thursday 28 October 2021 02:22:24 AM PDT
============================
Running go test with args: -race -count 1 ./...
./test/../vendor/knative.dev/hack/library.sh: line 347: gotestsum: command not found
Finished run, return code is 127
XML report written to /tmp/tmp.2tNINw4iXG/junit_Zbm9tTgs.xml
JUnit file /tmp/tmp.2tNINw4iXG/junit_hE2zfAxM.xml is created for reporting the test result
--- FAIL: kntest not installed, please clone knative test-infra repo and run `go install ./kntest/cmd/kntest` to install it
Test log written to /tmp/tmp.2tNINw4iXG/go_test_Zbm9tTgs.log
Step failed: default_unit_test_runner
===========================
==== UNIT TESTS FAILED ====
===========================
==== Thursday 28 October 2021 02:22:29 AM PDT
===========================
Step failed: run_unit_tests
===================================
==== RUNNING INTEGRATION TESTS ====
===================================
==== Thursday 28 October 2021 02:22:29 AM PDT
===================================
find: warning: you have specified the global option -maxdepth after the argument !, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
==================================
==== INTEGRATION TESTS PASSED ====
==================================
==== Thursday 28 October 2021 02:22:29 AM PDT
==================================
+ banner 'Release validation tests failed, aborting'
+ make_banner @ 'Release validation tests failed, aborting'
+ local 'msg=@@@@ Release validation tests failed, aborting @@@@'
+ local border=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ echo -e '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n@@@@ Release validation tests failed, aborting @@@@\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@ Release validation tests failed, aborting @@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
++ TZ=America/Los_Angeles
++ date
+ echo -e '@@@@ Thursday 28 October 2021 02:22:29 AM PDT\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
@@@@ Thursday 28 October 2021 02:22:29 AM PDT
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ abort 'release validation tests failed'
+ echo 'error: release validation tests failed'
error: release validation tests failed
+ exit 1

release badge displays incorrect version.

Describe the bug
While doing the release, noticed that the badge (which should've been 0.22 or .23 was still showing 18.8)
https://github.com/knative-sandbox/eventing-ceph

Clicking on it takes to proper place and shows the latest release as 0.23
https://github.com/knative-sandbox/eventing-ceph/releases

Expected behavior
The badge to show the latest release

To Reproduce
Click on the main page, look at the badges and see that it's not showing the latest version.

Knative release version
0.23

Additional context
Add any other context about the problem here such as proposed priority

Use imagePullSecrets in receive_adapter deployment

Problem
If I use private docker registry - I can define imagePullSecrets secret in config/500-controller.yaml and config/500-webhook.yaml to pull images, it works perfectly.
However if cephsource deployment(pod) also needs to be downloaded from private registry - It would be good a way to add it as well.
something like

- name: CEPH_SOURCE_IMAGE_PULL_SECRET
  value: "regcred"

Additional context (optional)
Here is an example of the implementation private registry credentials
https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/

Thanks

Use Knative-eventing as the namespace for CephSource

Problem

Kafka-sources namespace is used

Exit Criteria

knative-eventing namespace used, like on other sources (e.g. kafka)

Time Estimate (optional):
1

Additional context (optional)
Add any other context about the feature request here.

Add KinD test verifying that the source deploys and becomes ready

Overview

We recently found that even though build and unit tests had been passing, the receive adapter panicked when it started when you actually deployed the ceph source. To address this, we should add a KinD test job that will:

  1. Install eventing and the ceph source
  2. Create a ceph source
  3. Verify that the source becomes ready

More info

These resources will likely be helpful while working on this:

prometheus metrics not visible on port 9090

Describe the bug
I wanted to see prometheus metrics for the cephsource like cephsource_event_count and cephsource_retry_event_count on the pod's IP and port 9090, but I cant see any metrics, not even go metrics.

Expected behavior
The two metrics I named above, I can see them in other sources like apiserversource and pingsource. I tried to go through the code of cephsource and found that its using the same method to send cloudevents that also reports these metrics, here: https://github.com/knative-sandbox/eventing-ceph/blob/main/pkg/adapter/adapter.go#L103
which goes to the same method that pingsource and apiserversource use: https://github.com/knative/eventing/blob/main/pkg/adapter/v2/cloudevents.go#L128

But still the metrics are not reported.
I can try to dig in more, any suggestions or fix will help a lot!

Knative release version
v0.25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.