[SERVER-83283] Modify copybara script to send slack message on failure Created: 15/Nov/23  Updated: 24/Jan/24  Resolved: 21/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 4.4.27, 7.0.5, 6.0.13, 5.0.24

Type: Bug Priority: Major - P3
Reporter: Juan Gu Assignee: Juan Gu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Modify copybara scripts to send a slack message to #sdp-triageron failure



 Comments   
Comment by Githook User [ 03/Dec/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

(cherry picked from commit 95cb69586f2d7f5930c8f22ea8ec6b6617a94080)

GitOrigin-RevId: 733526e6efec8fad87f717de32a691acbf6d98e0
Branch: master
https://github.com/mongodb/mongo/commit/febb8ae464dd13ba6a809f32f75aac6c747657ed

Comment by Githook User [ 02/Dec/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

(cherry picked from commit 95cb69586f2d7f5930c8f22ea8ec6b6617a94080)

GitOrigin-RevId: a194c3673083e8f1f3b68974cb86501f7682db65
Branch: v7.0
https://github.com/mongodb/mongo/commit/257b7782770a571b3232c92f12ea0d6fa1ce8b08

Comment by Githook User [ 02/Dec/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

(cherry picked from commit 95cb69586f2d7f5930c8f22ea8ec6b6617a94080)

GitOrigin-RevId: 4d8aa9d82a688cc4f6fca8a14b4080ee6b1deb2c
Branch: v6.0
https://github.com/mongodb/mongo/commit/a5169d16fe5ca0ee3c221c16f76d0f63645d9dfe

Comment by Githook User [ 30/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

(cherry picked from commit 95cb69586f2d7f5930c8f22ea8ec6b6617a94080)

GitOrigin-RevId: 1f8079b42982ae597e14a2f659b943c53d9c73d2
Branch: v5.0
https://github.com/mongodb/mongo/commit/f2b383b18a7aac1ca79d9b8a49bd347a4614ba13

Comment by Githook User [ 22/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

GitOrigin-RevId: 95cb69586f2d7f5930c8f22ea8ec6b6617a94080
Branch: v4.4-copybaratest
https://github.com/mongodb/mongo/commit/74caacf46c93775802f52c35cb0694640c28fa6d

Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

GitOrigin-RevId: 95cb69586f2d7f5930c8f22ea8ec6b6617a94080
Branch: v4.4-copybaratest
https://github.com/mongodb/mongo/commit/a5b4c7acdc9ba03f2b98c9689746d4f7205f5fe6

Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

GitOrigin-RevId: 95cb69586f2d7f5930c8f22ea8ec6b6617a94080
Branch: v4.4
https://github.com/mongodb/mongo/commit/5b670b22550b2f1e02c535ba16e48e55e6abc921

Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

GitOrigin-RevId: 95cb69586f2d7f5930c8f22ea8ec6b6617a94080
Branch: v4.4-test
https://github.com/mongodb/mongo/commit/8e07c8f0a8f66edcc65a09e8b194bce04c6ad6f9

Comment by Githook User [ 18/Nov/23 ]

Author:

{'name': 'Juan Gu', 'email': '111318390+juangugit@users.noreply.github.com', 'username': 'juangugit'}

Message: SERVER-83283 Modify copybara script to send slack message on failure (#17021)

GitOrigin-RevId: 95cb69586f2d7f5930c8f22ea8ec6b6617a94080
Branch: v4.4
https://github.com/mongodb/mongo/commit/26e3abace9f710f7df771e1924059079e08ab161

Comment by Juan Gu [ 16/Nov/23 ]

Updates for this ticket:

1: Sending Slack messages when Copybara synchronization fails: I have successfully sent messages to the Slack channel. However, I have not yet observed any failures. To ensure that the send_slack_message function is working, I send a dummy message to the Slack channel each time Copybara runs.
2: I have confirmed that the Copybara task runs when I push a new commit to the repository, with 'activate: true'.
3: I have verified that setting 'priority: 50' successfully elevates the position of the Copybara task in the queue.

Generated at Thu Feb 08 06:51:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.