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

https://twitter.com/jenkins_release is many weeks behind #3085

Closed
daniel-beck opened this issue Aug 2, 2022 · 23 comments
Closed

https://twitter.com/jenkins_release is many weeks behind #3085

daniel-beck opened this issue Aug 2, 2022 · 23 comments

Comments

@daniel-beck
Copy link

Service(s)

Other

Summary

https://twitter.com/jenkins_release just announced the release of Artifactory Plugin 3.16.1.

That version

  • Was released July 4
  • Is already obsolete since 3.17.0's release on July 21.

https://www.jenkins.io/releases.rss looks reasonable at a glance, so something's wrong with whatever is processing the feed.

Reproduction steps

No response

@daniel-beck daniel-beck added the triage Incoming issues that need review label Aug 2, 2022
@dduportal dduportal added this to the infra-team-sync-next milestone Aug 8, 2022
@dduportal
Copy link
Contributor

Currently checking as we have no knowledge of this account and the associated (assuming there is one) bot.

Ping @oleg-nenashev @olblak @rtyler @halkeye do you happen to know how this account is managed?

@timja
Copy link
Member

timja commented Aug 9, 2022

Possibly @kohsuke ?

@halkeye
Copy link
Member

halkeye commented Aug 9, 2022

image

it says its managed by dlvr.it, so I would contact https://dlvrit.com/ and see if they can help you recover the account. This bot is super super super old.

@halkeye
Copy link
Member

halkeye commented Aug 9, 2022

https://groups.google.com/g/jenkinsci-dev/c/twpI9vfBfbI/m/YBibmOpaCwAJ pretty much says the same thing

@halkeye
Copy link
Member

halkeye commented Aug 9, 2022

https://groups.google.com/g/jenkinsci-dev/c/nlw7DHoWoWk/m/LesxKCHmAwAJ says rtyler set it up

@oleg-nenashev
Copy link

At some point I offered to introduce Twitter as code for that repo. But had no time to finally work on it

@dduportal
Copy link
Contributor

At some point I offered to introduce Twitter as code for that repo. But had no time to finally work on it

Does that mean you have access to the account, or that you don’t?

@oleg-nenashev
Copy link

At some point I offered to introduce Twitter as code for that repo. But had no time to finally work on it. The flow for this account is pretty much broken, and I don't think there is much value for users

@timja
Copy link
Member

timja commented Aug 10, 2022

Twitter as code was for the jenkins account wasn’t it? Not for the releases one? Which is just based off of the RSS feed

@dduportal
Copy link
Contributor

Sent an email to @rtyler and @kohsuke (with @MarkEWaite and @halkeye ) to check if they have access.

Without any feedback middle september, we'll contact dlvr.it to try to recover the account.

@dduportal dduportal added bot twitter rss and removed triage Incoming issues that need review labels Aug 19, 2022
@dduportal
Copy link
Contributor

Got the email/password of the Twitter from Kohsuke privately, many thanks!

Shared in the 1 password vault, but I still need a hand from KK to change the email to private jenkins infra email, because it asks for a validation when trying to log in.

@lemeurherve
Copy link
Member

lemeurherve commented Sep 1, 2022

The email has been changed to the private Jenkins infra one.

I tried login in dlvr.it with the Twitter account but it didn't worked:
image

Will contact their support to see what can be done.

Note: we can remove the dlvr.it authorization from Twitter so it won't tweet while we're resolving this if needed:

image

EDIT: looking at this screen I think it's the twitterfeed account we need to retrieve.

Nevermind, they've closed: image

@lemeurherve
Copy link
Member

Email sent to dlvr.it support in order to retrieve the corresponding account.

@dduportal dduportal added this to the infra-team-sync-2022-10-04 milestone Sep 14, 2022
@olblak
Copy link
Member

olblak commented Sep 22, 2022

It's probably better to send @kohsuke an email. He is usually pretty responsive because I gues he'll be busy next week with other things

@lemeurherve
Copy link
Member

I have already but no response yet. I should meet him next week at DevopsWorld I'll ask him again.

@lemeurherve
Copy link
Member

As we couldn't met last week, I'll look into automating ourselves the publication of these releases.

@lemeurherve
Copy link
Member

lemeurherve commented Oct 5, 2022

As we couldn't met last week, I'll look into automating ourselves the publication of these releases.

https://github.com/umputun/rss2twitter seems a good candidate. Gave a look at its code, short and fine, should be easy to deploy, currently testing the app locally.

@halkeye
Copy link
Member

halkeye commented Oct 5, 2022

https://github.com/umputun/rss2twitter seems a good candidate. Gave a look at its code, short and fine, should be easy to deploy, currently testing the app locally.

when i looked into it, the issue is its history is inmemory, so if the process restarts, it re-posts (I think).

I was going to try to submit a PR to make it look at the body of the last few posts ($rss.length) and see if the post body matches. If so skip.

That way if a service gets restarted, we don't get it spamming people

@lemeurherve
Copy link
Member

Thanks for the feedback!

if the process restarts, it re-posts (I think).

Started in dry mode, it seems to take only the current day content in account, not totally sure still testing.

I was going to try to submit a PR to make it look at the body of the last few posts ($rss.length) and see if the post body matches. If so skip.

Interesting, worth another look.

@lemeurherve
Copy link
Member

lemeurherve commented Oct 6, 2022

I don't think restarts are an issue, cf my local test logs from yesterday and the restart today:

image

Complete log after 3 days and 2 manual restarts:
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 2/2
 ⠿ Network rss2twitter_default  Created                          0.0s
 ⠿ Container rss2twitter        Creat...                         0.1s
Attaching to rss2twitter
rss2twitter  | rss2twitter - master-f7d5c2a-
rss2twitter  | 2022/10/05 16:17:14 INFO  dry mode
rss2twitter  | 2022/10/05 16:17:14 INFO  message template - "{{.Title}} - {{.Link}} #mytag"
rss2twitter  | 2022/10/05 16:17:14 INFO  start notifier for https://www.jenkins.io/releases.rss, every 1m0s
rss2twitter  | 2022/10/05 16:17:14 INFO  ignore first event urn:63067410335c11e0bc8e0800200c9a66:org.jenkins-ci.plugins:dtkit-api:3.0.2 - DTKit 2 API 3.0.2
rss2twitter  | 2022/10/05 21:35:39 INFO  new event urn:63067410335c11e0bc8e0800200c9a66:org.jenkins-ci.plugins.pipeline-stage-view:pipeline-rest-api:2.25 - Pipeline: REST API 2.25
rss2twitter  | 2022/10/05 21:35:39 INFO  event - Pipeline: REST API 2.25 - https://plugins.jenkins.io/pipeline-rest-api #mytag
rss2twitter  | 2022/10/06 03:37:29 INFO  new event urn:63067410335c11e0bc8e0800200c9a66:org.jenkins-ci.plugins:durable-task:501.ve5d4fc08b0be - Durable Task 501.ve5d4fc08b0be
rss2twitter  | 2022/10/06 03:37:29 INFO  event - Durable Task 501.ve5d4fc08b0be - https://plugins.jenkins.io/durable-task #mytag
^CGracefully stopping... (press Ctrl+C again to force)
[+] Running 1/1
 ⠿ Container rss2twitter  Stopped                                                                               0.2s
canceled
➜  rss2twitter git:(master) ✗ docker compose up
[+] Running 1/0
 ⠿ Container rss2twitter  Created                                                                               0.0s
Attaching to rss2twitter
rss2twitter  | rss2twitter - master-f7d5c2a-
rss2twitter  | 2022/10/06 04:19:15 INFO  dry mode
rss2twitter  | 2022/10/06 04:19:15 INFO  message template - "{{.Title}} - {{.Link}} #mytag"
rss2twitter  | 2022/10/06 04:19:15 INFO  start notifier for https://www.jenkins.io/releases.rss, every 1m0s
rss2twitter  | 2022/10/06 04:19:15 INFO  ignore first event urn:63067410335c11e0bc8e0800200c9a66:org.jenkins-ci.plugins:durable-task:501.ve5d4fc08b0be - Durable Task 501.ve5d4fc08b0be
rss2twitter  | 2022/10/06 08:47:57 WARN  failed to fetch/parse url from https://www.jenkins.io/releases.rss, Get "https://www.jenkins.io/releases.rss": unexpected EOF
rss2twitter  | 2022/10/06 10:16:41 INFO  new event urn:63067410335c11e0bc8e0800200c9a66:org.jenkins-ci.plugins:cloudbees-jenkins-advisor:326.v1821e6a_85e3f - Health Advisor by CloudBees 326.v1821e6a_85e3f
rss2twitter  | 2022/10/06 10:16:41 INFO  event - Health Advisor by CloudBees 326.v1821e6a_85e3f - https://plugins.jenkins.io/cloudbees-jenkins-advisor #mytag
rss2twitter  | 2022/10/06 13:30:55 INFO  new event urn:63067410335c11e0bc8e0800200c9a66:io.jenkins.plugins:cavisson-ns-nd-integration:4.8.0.142 - NS-ND Integration Performance Publisher 4.8.0.142
rss2twitter  | 2022/10/06 13:30:55 INFO  event - NS-ND Integration Performance Publisher 4.8.0.142 - https://plugins.jenkins.io/cavisson-ns-nd-integration #mytag
rss2twitter  | 2022/10/06 16:42:37 WARN  failed to fetch/parse url from https://www.jenkins.io/releases.rss, Get "https://www.jenkins.io/releases.rss": dial tcp: lookup www.jenkins.io on 127.0.0.11:53: no such host
rss2twitter  | 2022/10/07 03:40:13 INFO  new event urn:63067410335c11e0bc8e0800200c9a66:com.qualys.plugins:qualys-vm:1.2.1 - Qualys Host Scanning Connector 1.2.1
rss2twitter  | 2022/10/07 03:40:13 INFO  event - Qualys Host Scanning Connector 1.2.1 - https://plugins.jenkins.io/qualys-vm #mytag
^CGracefully stopping... (press Ctrl+C again to force)
[+] Running 1/1
 ⠿ Container rss2twitter  Stopped                                                                                                              0.4s
canceled
➜  rss2twitter git:(master) ✗ docker compose up
[+] Running 1/0
 ⠿ Container rss2twitter  Created                                                                                                              0.0s
Attaching to rss2twitter
rss2twitter  | rss2twitter - master-f7d5c2a-
rss2twitter  | 2022/10/07 05:58:09 INFO  dry mode
rss2twitter  | 2022/10/07 05:58:09 INFO  message template - "{{.Title}} - {{.Link}} #mytag"
rss2twitter  | 2022/10/07 05:58:09 INFO  start notifier for https://www.jenkins.io/releases.rss, every 1m0s
rss2twitter  | 2022/10/07 05:58:09 INFO  ignore first event urn:63067410335c11e0bc8e0800200c9a66:com.qualys.plugins:qualys-vm:1.2.1 - Qualys Host Scanning Connector 1.2.1

Preparing a chart to deploy it on prodpublick8s.

lemeurherve pushed a commit to lemeurherve/helm-charts that referenced this issue Oct 11, 2022
lemeurherve pushed a commit to lemeurherve/helm-charts that referenced this issue Oct 25, 2022
lemeurherve pushed a commit to lemeurherve/kubernetes-management that referenced this issue Oct 25, 2022
dduportal added a commit to jenkins-infra/kubernetes-management that referenced this issue Oct 26, 2022
* feat: deploy `rss2twitter` service on `prodpublick8s`

Configured in dry mode for now.

Ref: jenkins-infra/helpdesk#3085"

* feat: deploy `rss2twitter` service on `prodpublick8s`

Configured in dry mode for now.

Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
@lemeurherve
Copy link
Member

lemeurherve commented Oct 29, 2022

Gotta fix the formatting but here is the first tweet from the rss2twitter service: https://twitter.com/jenkins_release/status/1586462810107744257

@lemeurherve
Copy link
Member

The last tweet looks good, closing this issue 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants