Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core CI start failing in apiTranslation suite #39931

Closed
amrita-shrestha opened this issue Mar 29, 2022 · 12 comments · Fixed by #39937 or #39939
Closed

Core CI start failing in apiTranslation suite #39931

amrita-shrestha opened this issue Mar 29, 2022 · 12 comments · Fixed by #39937 or #39939
Assignees

Comments

@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Mar 29, 2022

Core CI start failing in apTranslation suite (translation.feature file)

  • features/apiTranslation/translation.feature:24
  • features/apiTranslation/translation.feature:28

https://drone.owncloud.com/owncloud/core/35125/82/13

        Failed asserting that two strings are equal.
        --- Expected
        +++ Actual
        @@ @@
        -'Mauvais ID de partage, le partage n'existe pas'
        +'Wrong share ID, share doesn't exist'

From git bisect it found that 848088e is the first bad commit

@saw-jan
Copy link
Member

saw-jan commented Mar 30, 2022

Test failed for fr_FR language.

      | new         | fr-FR    |
        Unexpected OCS status message :"Wrong share ID, share doesn't exist" in response
        Failed asserting that two strings are equal.
        --- Expected
        +++ Actual
        @@ @@
        -'Mauvais ID de partage, le partage n'existe pas'
        +'Wrong share ID, share doesn't exist'

@saw-jan
Copy link
Member

saw-jan commented Mar 30, 2022

Fixed by new transifex commit?

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Mar 30, 2022

acceptance tests only run for PRs and tags.

"trigger": {
    "ref": [
        "refs/pull/**",
        "refs/tags/**",
    ],
},

running ci for commits like [tx] updated from transifex will not restrict the merge but still, we can know about the failure on the ci run for that same commit. maybe we should start running acceptance tests for such commits too?

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Mar 30, 2022

Fixed by new transifex commit?

still the same case #39933 (comment) :(

@phil-davis
Copy link
Contributor

See my comment #39934 (comment)

It needs to be sorted out on Transifex.

@kiranparajuli589
Copy link
Contributor

Related tests are now skipped for oCV10 in #39934

kiranparajuli589 added a commit that referenced this issue Apr 1, 2022
disable `fr` related api acceptance tests because of #39931
@kulmann
Copy link
Member

kulmann commented Apr 1, 2022

fr_FR just recently appeared in transifex and has far less translation percentage than fr, see screenshot:

Screenshot 2022-04-01 at 09 03 57

We could define a minimum percentage for languages to be fetched from transifex at all. Config happens in https://github.com/owncloud/core/blob/master/l10n/.tx/config
That would also mean that translations are not available for certain apps anymore that have a good translation coverage. So probably not a good option. Deleting the language in transifex would have an even worse effect and (as @DeepDiver1975 pointed out in chat) would probably be recreated by transifex automatically.

@DeepDiver1975 DeepDiver1975 self-assigned this Apr 1, 2022
@DeepDiver1975
Copy link
Member

Following options do exist:

  • explicit remove fr_FR after pulling from transifex
  • got with a minimum-perc of 50% - this will filter out quite a lot of half-hearted translations (but also some languages will miss parts - e.g. fedsharing, files-external and files-sharing on Ukrainian)
  • compile (and maintain) a list of languages we want to pull it - full control - but effort

@kulmann
Copy link
Member

kulmann commented Apr 1, 2022

  • compile (and maintain) a list of languages we want to pull it - full control - but effort

For reference, this option is what was done in oC Web, see https://github.com/owncloud/web/blob/320e06920cbee501f868a91dcff28b67abf72cd5/packages/web-runtime/l10n/Makefile#L23

@DeepDiver1975
Copy link
Member

  • compile (and maintain) a list of languages we want to pull it - full control - but effort

For reference, this option is what was done in oC Web, see https://github.com/owncloud/web/blob/320e06920cbee501f868a91dcff28b67abf72cd5/packages/web-runtime/l10n/Makefile#L23

yep - we learned from past misstakes when moving on .... ;-)

@phil-davis phil-davis changed the title Core CI start failing in apiTranslaton suite Core CI start failing in apiTranslation suite Apr 2, 2022
@phil-davis phil-davis reopened this Apr 2, 2022
@phil-davis
Copy link
Contributor

phil-davis commented Apr 2, 2022

I will make a PR to cleanup the fr_FR files. See #39939

@jnweiger
Copy link
Contributor

jnweiger commented May 6, 2022

Confirmed fixed in 10.10.0 RC1

/lib/l10n/fr_FR* not present.

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 a pull request may close this issue.

7 participants