gifted-queen-61023
09/08/2021, 11:20 AM./gradlew build
) I keep getting stuck at 99% due to the installation of dependencies (with pip).
It seems to have difficulties with docutils
and dill
from metadata ingestioninstallDev.
Should the have more strict version intervals in metadata-ingestion/setup.py
or something of that sort? Am I doing something wrong?
Screenshot from my 4th attempthigh-hospital-85984
09/08/2021, 11:25 AMhigh-hospital-85984
09/08/2021, 11:26 AMgifted-queen-61023
09/08/2021, 11:46 AMgifted-queen-61023
09/08/2021, 1:20 PM* What went wrong:
Execution failed for task ':datahub-web-react:yarnTest'.
I'm using Java 8
and yarn 1.22.0
.
Do you have any idea of what it can be?high-hospital-85984
09/08/2021, 1:21 PMgifted-queen-61023
09/08/2021, 1:21 PMremoved
high-hospital-85984
09/08/2021, 1:23 PMgifted-queen-61023
09/08/2021, 1:26 PMFAIL src/app/entity/shared/containers/profile/__tests__/EntityProfile.test.tsx (52.08 s)
● EntityProfile › renders dataset page
thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
23 |
24 | describe('EntityProfile', () => {
> 25 | it('renders dataset page', async () => {
| ^
26 | const { getByText } = render(
27 | <MockedProvider mocks={mocks} addTypename={false}>
28 | <TestPageContainer initialEntries={['/dataset/urn:li:dataset:3']}>
at src/app/entity/shared/containers/profile/__tests__/EntityProfile.test.tsx:25:5
at Object.<anonymous> (src/app/entity/shared/containers/profile/__tests__/EntityProfile.test.tsx:24:1)
gifted-queen-61023
09/08/2021, 1:38 PMTask :metadata-io:test FAILED
com.linkedin.metadata.graph.ElasticSearchGraphServiceTest.setup FAILED
org.testcontainers.containers.ContainerLaunchException at ElasticSearchGraphServiceTest.java:43
Caused by: org.rnorth.ducttape.RetryCountExceededException at ElasticSearchGraphServiceTest.java:43
Caused by: org.testcontainers.containers.ContainerLaunchException at ElasticSearchGraphServiceTest.java:43
Caused by: org.testcontainers.containers.ContainerLaunchException at ElasticSearchGraphServiceTest.java:43
gifted-queen-61023
09/08/2021, 2:07 PM> Task :metadata-ingestion:lint FAILED
return client
def get_workunits(self) -> Iterable[MetadataWorkUnit]:
client = self._get_looker_client()
dashboards = client.all_dashboards(fields="id")
- deleted_dashboards = client.search_dashboards(fields="id", deleted="true") if self.source_config.include_deleted else []
+ deleted_dashboards = (
+ client.search_dashboards(fields="id", deleted="true")
+ if self.source_config.include_deleted
+ else []
+ )
dashboard_ids = [
dashboard_base.id
for dashboard_base in dashboards + deleted_dashboards
if dashboard_base.id is not None
]
@@ -410,11 +414,17 @@
self.reporter.report_dashboards_scanned()
if not self.source_config.dashboard_pattern.allowed(dashboard_id):
self.reporter.report_dashboards_dropped(dashboard_id)
continue
try:
- fields = ["id", "title", "dashboard_elements", "dashboard_filters", "deleted"]
+ fields = [
+ "id",
+ "title",
+ "dashboard_elements",
+ "dashboard_filters",
+ "deleted",
+ ]
dashboard_object = client.dashboard(
dashboard_id=dashboard_id, fields=",".join(fields)
)
except SDKError:
# A looker dashboard could be deleted in between the list and the get
would reformat src/datahub/ingestion/source/looker.py
Oh no! 💥 💔 💥
1 file would be reformatted, 215 files would be left unchanged.gifted-queen-61023
09/08/2021, 2:08 PMgreen-football-43791
09/08/2021, 2:20 PMgifted-queen-61023
09/08/2021, 2:24 PMgreen-football-43791
09/08/2021, 2:25 PMgreen-football-43791
09/08/2021, 2:25 PMyarn test
?gifted-queen-61023
09/08/2021, 2:27 PMa
and then starts throwing:
console.error
Could not fetch logged in user from cache. + No more mocked responses for the query: query getMe {
me {
corpUser {
urn
username
info {
active
displayName
title
firstName
lastName
fullName
email
__typename
}
editableInfo {
pictureLink
teams
skills
__typename
}
__typename
}
platformPrivileges {
viewAnalytics
managePolicies
__typename
}
__typename
}
}
, variables: {}
green-football-43791
09/08/2021, 2:27 PMgifted-queen-61023
09/08/2021, 2:27 PMconsole.error
Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>
gifted-queen-61023
09/08/2021, 2:27 PMTest Suites: 31 passed, 31 total
Tests: 81 passed, 81 total
Snapshots: 0 total
Time: 46.54 s, estimated 96 s
Ran all test suites.
green-football-43791
09/08/2021, 2:28 PMgreen-football-43791
09/08/2021, 2:29 PM:metadata-io:test
green-football-43791
09/08/2021, 2:29 PMgreen-football-43791
09/08/2021, 2:30 PM:metadata-ingestion:lint
looks real though... let me look into thatgifted-queen-61023
09/08/2021, 2:32 PMmacOS 11.5.2
Processor 2,2 GHz Quad-Core Intel Core i7
Memory 16 GB 1600 MHz DDR3
Docker setup
CPUs 4
Memory 10GB
Swap: 3GB
Disk Image Size 80Gbgifted-queen-61023
09/08/2021, 2:32 PMgreen-football-43791
09/08/2021, 2:33 PMgreen-football-43791
09/08/2021, 2:45 PMgreen-football-43791
09/08/2021, 2:45 PMgreen-football-43791
09/08/2021, 2:45 PMgifted-queen-61023
09/08/2021, 2:49 PMgreen-football-43791
09/08/2021, 3:03 PMgreen-football-43791
09/08/2021, 3:03 PMgifted-queen-61023
09/08/2021, 3:07 PMgifted-queen-61023
09/08/2021, 5:20 PMTest Suites: 1 failed, 30 passed, 31 total
Tests: 2 failed, 79 passed, 81 total
Snapshots: 0 total
Time: 161.628 s
Bad: The timeouts issues remain 🙃
Summary of all failing tests
FAIL src/app/search/__tests__/SearchPage.test.tsx (72.202 s)
● SearchPage › renders loading
thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
11 |
12 | describe('SearchPage', () => {
> 13 | it('renders loading', async () => {
| ^
14 | const promise = Promise.resolve();
15 | const { getByText } = render(
16 | <MockedProvider mocks={mocks} addTypename={false}>
at src/app/search/__tests__/SearchPage.test.tsx:13:5
at Object.<anonymous> (src/app/search/__tests__/SearchPage.test.tsx:12:1)
● SearchPage › renders multiple checked filters at once
thrown: "Exceeded timeout of 5000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
53 | });
54 |
> 55 | it('renders multiple checked filters at once', async () => {
| ^
56 | const promise = Promise.resolve();
57 | const { getByTestId, queryByTestId } = render(
58 | <MockedProvider mocks={mocks} addTypename={false}>
at src/app/search/__tests__/SearchPage.test.tsx:55:5
at Object.<anonymous> (src/app/search/__tests__/SearchPage.test.tsx:12:1)
Are you aware of something that can be done or should I only try to assess the possibility of developing in another machine?
Nevertheless, maybe the requirements information should be updated. What do you think?
Thank you again for your time and the quick fix. You rock!! 🚀green-football-43791
09/08/2021, 5:26 PMgreen-football-43791
09/08/2021, 5:26 PM./gradlew build -x yarnTest -x test
green-football-43791
09/08/2021, 5:26 PMgifted-queen-61023
09/08/2021, 5:33 PMgifted-queen-61023
09/08/2021, 5:33 PMgreen-football-43791
09/08/2021, 5:33 PMgreen-football-43791
09/08/2021, 5:33 PMgreen-football-43791
09/08/2021, 5:35 PMgifted-queen-61023
09/08/2021, 5:36 PM