You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/06 18:53:23 UTC
[GitHub] [airflow-on-k8s-operator] RohitR1 opened a new issue #12: E2E test
are failing
RohitR1 opened a new issue #12: E2E test are failing
URL: https://github.com/apache/airflow-on-k8s-operator/issues/12
make e2e-test is failing
```bash
make e2e-test
Your active configuration is: [rahul]
kubectl get namespace airflowop-system || kubectl create namespace airflowop-system
Error from server (NotFound): namespaces "airflowop-system" not found
namespace/airflowop-system created
go test -v -timeout 20m test/e2e/base/base_test.go --namespace airflowop-system
=== RUN Test
Running Suite: AirflowBase Suite
================================
Random Seed: 1583520410
Will run 2 of 2 specs
STEP: creating a new AirflowBase:
• Failure [0.289 seconds]
AirflowBase controller tests
/Users/rahul/airflow-on-k8s-operator/test/e2e/base/base_test.go:70
creating a AirflowBase with mysql [It]
/Users/rahul/airflow-on-k8s-operator/test/e2e/base/base_test.go:76
failed to create CR : AirflowBase.airflow.apache.org "" is invalid: metadata.name: Required value: name or generateName is required
Unexpected error:
<*errors.StatusError | 0xc00023e1e0>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "AirflowBase.airflow.apache.org \"\" is invalid: metadata.name: Required value: name or generateName is required",
Reason: "Invalid",
Details: {
Name: "",
Group: "airflow.apache.org",
Kind: "AirflowBase",
UID: "",
Causes: [
{
Type: "FieldValueRequired",
Message: "Required value: name or generateName is required",
Field: "metadata.name",
},
],
RetryAfterSeconds: 0,
},
Code: 422,
},
}
AirflowBase.airflow.apache.org "" is invalid: metadata.name: Required value: name or generateName is required
occurred
/Users/rahul/airflow-on-k8s-operator/vendor/sigs.k8s.io/controller-reconciler/pkg/test/framework.go:178
------------------------------
STEP: creating a new AirflowBase:
• Failure [0.094 seconds]
AirflowBase controller tests
/Users/rahul/airflow-on-k8s-operator/test/e2e/base/base_test.go:70
creating a AirflowBase with postgres [It]
/Users/rahul/airflow-on-k8s-operator/test/e2e/base/base_test.go:88
failed to create CR : AirflowBase.airflow.apache.org "" is invalid: metadata.name: Required value: name or generateName is required
Unexpected error:
<*errors.StatusError | 0xc00023ebe0>: {
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
ResourceVersion: "",
Continue: "",
RemainingItemCount: nil,
},
Status: "Failure",
Message: "AirflowBase.airflow.apache.org \"\" is invalid: metadata.name: Required value: name or generateName is required",
Reason: "Invalid",
Details: {
Name: "",
Group: "airflow.apache.org",
Kind: "AirflowBase",
UID: "",
Causes: [
{
Type: "FieldValueRequired",
Message: "Required value: name or generateName is required",
Field: "metadata.name",
},
],
RetryAfterSeconds: 0,
},
Code: 422,
},
}
AirflowBase.airflow.apache.org "" is invalid: metadata.name: Required value: name or generateName is required
occurred
/Users/rahul/airflow-on-k8s-operator/vendor/sigs.k8s.io/controller-reconciler/pkg/test/framework.go:178
------------------------------
Failure [0.000 seconds]
[AfterSuite] AfterSuite
/Users/rahul/airflow-on-k8s-operator/test/e2e/base/base_test.go:56
failed to delete CR : resource name may not be empty
Unexpected error:
<*errors.errorString | 0xc000261260>: {
s: "resource name may not be empty",
}
resource name may not be empty
occurred
/Users/rahul/airflow-on-k8s-operator/vendor/sigs.k8s.io/controller-reconciler/pkg/test/framework.go:132
------------------------------
Summarizing 2 Failures:
[Fail] AirflowBase controller tests [It] creating a AirflowBase with mysql
/Users/rahul/airflow-on-k8s-operator/vendor/sigs.k8s.io/controller-reconciler/pkg/test/framework.go:178
[Fail] AirflowBase controller tests [It] creating a AirflowBase with postgres
/Users/rahul/airflow-on-k8s-operator/vendor/sigs.k8s.io/controller-reconciler/pkg/test/framework.go:178
Ran 2 of 2 Specs in 4.759 seconds
FAIL! -- 0 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: Test (4.76s)
FAIL
FAIL command-line-arguments 5.610s
FAIL
make: *** [e2e-test] Error 1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [airflow-on-k8s-operator] turbaszek commented on issue #12: Test
and E2E test are failing
Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #12: Test and E2E test are failing
URL: https://github.com/apache/airflow-on-k8s-operator/issues/12#issuecomment-602256282
@RohitR1 I've fixed the docker image in #24 . Now I'm looking into e2e tests as I have the same error.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services