Skip to content

FIX 5712: make generate gives different results depending on OS - #6035

Merged
pmbrull merged 9 commits into
open-metadata:mainfrom
MilanBariya:ISSUE-5712
Jul 13, 2022
Merged

pmbrull merged 9 commits into
open-metadata:mainfrom
MilanBariya:ISSUE-5712

Conversation

@MilanBariya

Copy link
Copy Markdown
Contributor

Describe your changes :

I worked on fixing make generate gives different results depending on OS
Fix #5712

Type of change :

  • Bug fix
  • Improvement

Checklist:

  • I have read the CONTRIBUTING document.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 09:59 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 09:59 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

Schema Change Detected. Needs ingestion-core version bump

Please run make core_bump_version_dev in the project's root and commit the changes to _version.py in this PR. Please ignore if this has been handled already.

@MilanBariya
MilanBariya requested a review from a team July 12, 2022 10:00
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 10:36 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 10:36 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:08 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:08 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:14 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:14 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:25 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 11:25 Inactive
@cypress

cypress Bot commented Jul 12, 2022 •

Copy link
Copy Markdown



Test summary

47 • 0 • 3 • 0


Run details

Project openmetadata
Status Passed
Commit a7d99c5
Started Jul 13, 2022 9:10 AM
Ended Jul 13, 2022 9:21 AM
Duration 11:35 💡
OS Linux Ubuntu - 20.04
Browser Chrome 103

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@pmbrull
pmbrull requested a review from harshach July 12, 2022 13:03
@pmbrull

pmbrull commented Jul 12, 2022

Copy link
Copy Markdown
Member

Hi @MilanBariya the approach LGTM, there a few tests failures though on the server side:

2022-07-12T11:37:21.3351129Z [ERROR]   TableResourceTest.put_viewDefinition_200:1039->EntityResourceTest.createAndCheckEntity:1437->EntityResourceTest.createAndCheckEntity:1449->validateCreatedEntity:144->validateCreatedEntity:2169->assertColumns:1875->assertColumn:1860 expected: <[org.openmetadata.catalog.type.TagLabel@595adcc2[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@15016398[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@778e67cf[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@3ee48d4b[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@c42c85f[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@371a9d9[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3356639Z [ERROR]   FeedResourceTest.setup:142 expected: <[org.openmetadata.catalog.type.TagLabel@2964da9e[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@43cb2d82[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@7dca2674[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@21a6b3c7[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@2e993d47[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@34a4a22b[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3363809Z [ERROR]   MlModelResourceTest.setup:119->EntityResourceTest.createAndCheckEntity:1437->EntityResourceTest.createAndCheckEntity:1449 expected: <[org.openmetadata.catalog.type.TagLabel@7a0c7174[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@7a9b3764[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@69ca9b82[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@6aa970cb[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@73372b3b[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@50b4122e[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3366096Z [INFO] 
2022-07-12T11:37:21.3366343Z [ERROR] Tests run: 1000, Failures: 39, Errors: 0, Skipped: 0

If you could please take a look 🙏

@MilanBariya

Copy link
Copy Markdown
Contributor Author

Hi @MilanBariya the approach LGTM, there a few tests failures though on the server side:

2022-07-12T11:37:21.3351129Z [ERROR]   TableResourceTest.put_viewDefinition_200:1039->EntityResourceTest.createAndCheckEntity:1437->EntityResourceTest.createAndCheckEntity:1449->validateCreatedEntity:144->validateCreatedEntity:2169->assertColumns:1875->assertColumn:1860 expected: <[org.openmetadata.catalog.type.TagLabel@595adcc2[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@15016398[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@778e67cf[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@3ee48d4b[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@c42c85f[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@371a9d9[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3356639Z [ERROR]   FeedResourceTest.setup:142 expected: <[org.openmetadata.catalog.type.TagLabel@2964da9e[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@43cb2d82[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@7dca2674[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@21a6b3c7[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@2e993d47[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@34a4a22b[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3363809Z [ERROR]   MlModelResourceTest.setup:119->EntityResourceTest.createAndCheckEntity:1437->EntityResourceTest.createAndCheckEntity:1449 expected: <[org.openmetadata.catalog.type.TagLabel@7a0c7174[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@7a9b3764[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=<null>,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@69ca9b82[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]> but was: <[org.openmetadata.catalog.type.TagLabel@6aa970cb[tagFQN=PII.Sensitive,description=PII which if lost, compromised, or disclosed without authorization, could result in substantial harm, embarrassment, inconvenience, or unfairness to an individual.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@73372b3b[tagFQN=PersonalData.Personal,description=Data that can be used to directly or indirectly identify a person.,source=Tag,labelType=Derived,state=Confirmed,href=<null>], org.openmetadata.catalog.type.TagLabel@50b4122e[tagFQN=g1.g1t1,description=,source=Glossary,labelType=Manual,state=Confirmed,href=<null>]]>
2022-07-12T11:37:21.3366096Z [INFO] 
2022-07-12T11:37:21.3366343Z [ERROR] Tests run: 1000, Failures: 39, Errors: 0, Skipped: 0

If you could please take a look 🙏

Sure @pmbrull

@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 14:39 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 12, 2022 14:39 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 04:52 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 04:52 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 05:18 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 05:18 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 08:52 Inactive
@MilanBariya
MilanBariya temporarily deployed to cypress July 13, 2022 08:52 Inactive

@Sachin-chaurasiya Sachin-chaurasiya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI Changes LGTM!

@sonarqubecloud

Copy link
Copy Markdown

[open-metadata-ingestion] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@sonarqubecloud

Copy link
Copy Markdown

[open-metadata-ui] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

57.1% 57.1% Coverage
0.0% 0.0% Duplication

@sonarqubecloud

Copy link
Copy Markdown

[openmetadata-core] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug C 17 Bugs
Vulnerability D 2 Vulnerabilities
Security Hotspot E 15 Security Hotspots
Code Smell A 461 Code Smells

58.2% 58.2% Coverage
17.6% 17.6% Duplication

@pmbrull
pmbrull merged commit c2b15a4 into open-metadata:main Jul 13, 2022
ulixius9 pushed a commit that referenced this pull request Jul 13, 2022
FIX 5712: make generate gives different results depending on OS (#6035)

(cherry picked from commit c2b15a4)

This branch was previously deployed

1 inactive deployment
cypress — a7d99c50 Deployed Jul 13, 2022 by MilanBariya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make generate gives different results depending on OS

4 participants