infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Connolly (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-18219) Jenkins missing Github push events
Date Thu, 06 Jun 2019 12:14:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-18219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16857589#comment-16857589
] 

Stephen Connolly commented on INFRA-18219:
------------------------------------------

The Github Organisation *PLUGIN* was deprecated _because_ all its functionality was moved
to the GitHub branch source *plugin*. e.g. https://github.com/jenkinsci/github-branch-source-plugin/blob/master/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java
is what enables the organization folders for github.

The issue with the PRs not showing is believed to be a caching bug in OkHttp 2.x which is
the client library used to access the GitHub API.

Turning the cache off *should* fix the issue... depending on how the cache disablement was
applied, that "cache off" may be reset when the master is restarted (if it was only applied
through the groovy script console)... so you should see if that is still the case.

FYI I am no longer actively working on the Jenkins plugins because my $$$ work has me focused
on other stuff 

> Jenkins missing Github push events
> ----------------------------------
>
>                 Key: INFRA-18219
>                 URL: https://issues.apache.org/jira/browse/INFRA-18219
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Github, Jenkins
>            Reporter: Robert Munteanu
>            Assignee: Chris Lambertus
>            Priority: Major
>
> For the Jenkins org folder we've set up at https://builds.apache.org/job/Sling we seem
to be missing push events, especially for pull requests. I have not been able to narrow down
the exact condition, for I recently pushed a change:
> https://github.com/apache/sling-whiteboard/pull/25/commits/a57f994ed63aeedb0f5aa901f8255aab48dde081
 ( Apr 15 10:48 GMT )
> The commit is part of branch feature/SLING-8262 and included in PR 25 ( https://github.com/apache/sling-whiteboard/pull/25
).
> However, I do not find this change in the scan log for the Sling org folder at https://builds.apache.org/job/Sling/computation/events
. The events that I get at around that date are
> [Mon Apr 15 10:43:59 UTC 2019] Push event to branch jira/LUCENE-8738 in repository lucene-solr
UPDATED event from 192.30.252.39 → 127.0.0.1 ⇒ https://builds.apache.org/github-webhook/
with timestamp Mon Apr 15 10:43:52 UTC 2019 processed in 0.63 sec
> [Mon Apr 15 10:44:27 UTC 2019] Received Push event to branch master in repository flink
UPDATED event from 192.30.252.35 → 127.0.0.1 ⇒ https://builds.apache.org/github-webhook/
with timestamp Mon Apr 15 10:44:21 UTC 2019
> Connecting to https://api.github.com using rombert/****** (Personal access token for
Github repository access. Use with Apache Sling jobs only.)
> Looking up flink repository of organization apache
> Ignoring flink
> 10:44:27 0 repositories were processed
> [Mon Apr 15 10:44:27 UTC 2019] Push event to branch master in repository flink UPDATED
event from 192.30.252.35 → 127.0.0.1 ⇒ https://builds.apache.org/github-webhook/ with
timestamp Mon Apr 15 10:44:21 UTC 2019 processed in 0.26 sec
> [Mon Apr 15 10:47:11 UTC 2019] Received Push event to branch trunk in repository jackrabbit-oak
UPDATED event from 192.30.252.35 → 127.0.0.1 ⇒ https://builds.apache.org/github-webhook/
with timestamp Mon Apr 15 10:47:04 UTC 2019
> Connecting to https://api.github.com using rombert/****** (Personal access token for
Github repository access. Use with Apache Sling jobs only.)
> Looking up jackrabbit-oak repository of organization apache
> Ignoring jackrabbit-oak
> 10:47:12 0 repositories were processed
> [Mon Apr 15 10:47:12 UTC 2019] Push event to branch trunk in repository jackrabbit-oak
UPDATED event from 192.30.252.35 → 127.0.0.1 ⇒ https://builds.apache.org/github-webhook/
with timestamp Mon Apr 15 10:47:04 UTC 2019 processed in 0.81 sec
> It would be great to double-check that all events for all Sling repos are forwarded from
Github.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message