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

Sync fix bookmarks object id duplication (uplift to 1.5.x) #4782

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

AlexeyBarabash
Copy link
Contributor

@AlexeyBarabash AlexeyBarabash commented Feb 27, 2020

Sync fix bookmarks object id duplication

Uplift of #4710, created manually because had conflicts.

Fixes brave/brave-browser#8325

Approved, please ensure that before merging:

  • You have checked CI and the builds, lint, and tests all pass or are not related to your PR.
  • You have tested your change on Nightly.
  • The PR milestones match the branch they are landing to.

After you merge:

  • The associated issue milestone is set to the smallest version that the changes is landed on.

@AlexeyBarabash
Copy link
Contributor Author

accidentally closed, opening

@kjozwiak
Copy link
Member

Looks like it never started the b-b job and timed out after ~6mins. Restarting.

@bsclifton bsclifton requested review from a team and removed request for kjozwiak, bsclifton, rebron and srirambv March 2, 2020 06:31
@bsclifton bsclifton changed the title Merge pull request #4710 from brave/sync_fix_obj_id_dup Sync fix bookmarks object id duplication (uplift to 1.5.x) Mar 2, 2020
@AlexeyBarabash AlexeyBarabash force-pushed the pr4710_sync_fix_obj_id_dup_1.5.x branch 2 times, most recently from 1f72855 to e3bc423 Compare March 2, 2020 18:23
@AlexeyBarabash
Copy link
Contributor Author

failed on iOS only,

ios_deployment_target=\"12.0\" ios_enable_code_signing=false cc_wrapper=\"/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/brave/script/redirect-cc.py\" "
20:30:46  ERROR at //build/timestamp.gni:31:19: Script returned non-zero exit code.
20:30:46  build_timestamp = exec_script(compute_build_timestamp,
20:30:46                    ^----------
20:30:46  Current dir: /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/out/ios_Release/
20:30:46  Command: python /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py official
20:30:46  Returned 1.
20:30:46  stderr:
20:30:46  
20:30:46  Traceback (most recent call last):
20:30:46    File "/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py", line 127, in <module>
20:30:46      sys.exit(main())
20:30:46    File "/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py", line 113, in main
20:30:46      last_commit_timestamp = int(open(lastchange_file).read())
20:30:46  IOError: [Errno 2] No such file or directory: '/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/util/LASTCHANGE.committime'
20:30:46  
20:30:46  See //base/BUILD.gn:34:1: whence it was imported.
20:30:46  import("//build/timestamp.gni")
20:30:46  ^-----------------------------
20:30:46  See //BUILD.gn:70:5: which caused the file to be included.
20:30:46      "//base:base_perftests",
20:30:46      ^----------------------
20:30:46  null
20:30:46  null

marking to skip all platforms except iOS and restarting CI

@AlexeyBarabash AlexeyBarabash added CI/skip-android Do not run CI builds for Android CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 labels Mar 2, 2020
@AlexeyBarabash
Copy link
Contributor Author

CI still fails for iOS

02:38:32  Widevine cdm host verification is disabled
02:38:32  /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src: gn gen /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/out/ios_Release --args="fieldtrial_testing_like_official_build=true brave_services_key=\"****\" root_extra_deps=[\"//brave\"] is_component_build=false target_cpu=\"x64\" is_official_build=true is_debug=false dcheck_always_on=false brave_channel=\"nightly\" google_api_key=\"****token\" brave_product_name=\"Brave\" brave_project_name=\"brave\" brave_version_major=\"1\" brave_version_minor=\"5\" brave_version_build=\"105\" chrome_version_string=\"80.0.3987.122\" chrome_version_major=\"80\" webcompat_report_api_endpoint=\"https://webcompat.brave.com/1/webcompat\" enable_cdm_host_verification=false skip_signing=true target_os=\"ios\" enable_dsyms=false enable_stripping=false use_xcode_clang=true use_clang_coverage=false ios_deployment_target=\"12.0\" ios_enable_code_signing=false cc_wrapper=\"/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/brave/script/redirect-cc.py\" "
02:38:32  ERROR at //build/timestamp.gni:31:19: Script returned non-zero exit code.
02:38:32  build_timestamp = exec_script(compute_build_timestamp,
02:38:32                    ^----------
02:38:32  Current dir: /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/out/ios_Release/
02:38:32  Command: python /Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py official
02:38:32  Returned 1.
02:38:32  stderr:
02:38:32  
02:38:32  Traceback (most recent call last):
02:38:32    File "/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py", line 127, in <module>
02:38:32      sys.exit(main())
02:38:32    File "/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/compute_build_timestamp.py", line 113, in main
02:38:32      last_commit_timestamp = int(open(lastchange_file).read())
02:38:32  IOError: [Errno 2] No such file or directory: '/Users/jenkins/jenkins/workspace/pr4710_sync_fix_obj_id_dup_1.5.x/src/build/util/LASTCHANGE.committime'
02:38:32  
02:38:32  See //base/BUILD.gn:34:1: whence it was imported.
02:38:32  import("//build/timestamp.gni")
02:38:32  ^-----------------------------
02:38:32  See //BUILD.gn:70:5: which caused the file to be included.
02:38:32      "//base:base_perftests",
02:38:32      ^----------------------
02:38:32  null

@AlexeyBarabash
Copy link
Contributor Author

removed b-b branch and restarted

@AlexeyBarabash
Copy link
Contributor Author

this time all CI steps are green, but status is ABORTED, restarting

@AlexeyBarabash
Copy link
Contributor Author

Now I have got version mismatch :(

Sync fix bookmarks object id duplication
@AlexeyBarabash AlexeyBarabash force-pushed the pr4710_sync_fix_obj_id_dup_1.5.x branch from e3bc423 to 1712048 Compare March 3, 2020 11:57
Copy link
Member

@kjozwiak kjozwiak left a comment

Choose a reason for hiding this comment

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

Uplift into 1.5.x approved after deliberating with @brave/uplift-approvers. Both CI/Jenkins and CI/Travis passed without any failures after several restarts. QA also went through the original PR on Nightly via #4710 (comment).

Please make sure that the correct labels are being used and the associated issue is moved into the correct milestone.

@kjozwiak kjozwiak merged commit 2a36cd6 into 1.5.x Mar 3, 2020
@kjozwiak kjozwiak deleted the pr4710_sync_fix_obj_id_dup_1.5.x branch March 3, 2020 21:44
@kjozwiak kjozwiak added this to the 1.5.x - Beta milestone Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-android Do not run CI builds for Android CI/skip-macos-x64 Do not run CI builds for macOS x64 feature/sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants