Skip to content

github-bot broken? #3720

Closed

Description

@richardlau

I noticed that the bot reported starting a CI run in nodejs/node#52973 (comment) but no following comment linking to the Jenkins run nor statuses posted back to the PR. It looks like a Jenkins run was started: https://ci.nodejs.org/job/node-test-pull-request/59205/

Activity

  1. richardlau commented on May 14, 2024

    @richardlau
    MemberAuthor

    post-build-status-update at first glance looks green, but clicking on the jobs and looking at the "Pipeline steps", e.g. https://ci.nodejs.org/job/post-build-status-update/2261443/flowGraphTable/, shows that the "httpRequest" step failed.
    image

    The console output can't find the build log, e.g.

    java.io.FileNotFoundException: /var/lib/jenkins/jobs/post-build-status-update/builds/2261443/log (No such file or directory)
    	at java.base/java.io.RandomAccessFile.open0(Native Method)
    ...

    I'll see if I can find it on the Jenkins server (I think they get compressed there).

  2. richardlau commented on May 14, 2024

    @richardlau
    MemberAuthor

    On ci:

    root@infra-digitalocean-ubuntu14-x64-1:~# ls -al /var/lib/jenkins/jobs/post-build-status-update/builds/2261443
    total 976
    drwxr-xr-x   3 jenkins jenkins   4096 May 14 07:56 .
    drwxr-xr-x 102 jenkins jenkins 933888 May 14 08:37 ..
    -rw-r--r--   1 jenkins jenkins  35675 May 14 07:56 build.xml
    -rw-r--r--   1 jenkins jenkins      0 May 14 07:56 changelog1986113076434187246.xml
    -rw-r--r--   1 jenkins jenkins   6021 May 14 07:56 log.gz
    -rw-r--r--   1 jenkins jenkins    102 May 14 07:56 log-index
    drwxr-xr-x   2 jenkins jenkins   4096 May 14 07:56 workflow
    root@infra-digitalocean-ubuntu14-x64-1:~#

    From the uncompressed log:

    [2024-05-14T11:56:22.706Z] Fetching upstream changes from https://github.com/nodejs/build.git
    [2024-05-14T11:56:22.706Z]  > git --version # timeout=10
    [2024-05-14T11:56:22.711Z]  > git --version # 'git version 2.34.1'
    [2024-05-14T11:56:22.711Z]  > git fetch --tags --force --progress -- https://github.com/nodejs/build.git +refs/heads/*:refs/remotes/origin/* # timeout=10
    [2024-05-14T11:56:23.047Z]  > git rev-parse origin/main^{commit} # timeout=10
    [2024-05-14T11:56:23.258Z]  > git config core.sparsecheckout # timeout=10
    [2024-05-14T11:56:23.264Z]  > git read-tree -mu HEAD # timeout=10
    [2024-05-14T11:56:23.272Z]  > git checkout -f e2397a4d6638c7c644464be8ae219f8580ee6100 # timeout=10
    [2024-05-14T11:56:23.963Z] HttpMethod: POST
    [2024-05-14T11:56:23.963Z] URL: http://github-bot.nodejs.org:3333/node/jenkins/end
    [2024-05-14T11:56:23.964Z] Content-Type: application/json; charset=UTF-8
    [2024-05-14T11:56:23.995Z] Sending request to url: http://github-bot.nodejs.org:3333/node/jenkins/end
    [2024-05-14T11:56:24.193Z] Treating class org.apache.http.conn.HttpHostConnectException(Connect to github-bot.nodejs.org:3333 [github-bot.nodejs.org/23.253.100.79] failed: Connection refused) as 408 Request Timeout
    
  3. richardlau commented on May 14, 2024

    @richardlau
    MemberAuthor

    The bot isn't running -- on gh-bot:

    root@infra-rackspace-debian8-x64-1:~# systemctl status github-bot
    ● github-bot.service - github-bot
       Loaded: loaded (/lib/systemd/system/github-bot.service; enabled)
       Active: activating (auto-restart) (Result: exit-code) since Tue 2024-05-14 13:00:13 UTC; 8s ago
      Process: 29335 ExecStart=/usr/bin/node server.js (code=exited, status=1/FAILURE)
     Main PID: 29335 (code=exited, status=1/FAILURE)
    
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: code: 'MODULE_NOT_FOUND',
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: requireStack: [
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: '/home/iojs/github-bot/node_modules/path-scurry/dist/commonjs/index.js',
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: '/home/iojs/github-bot/node_modules/glob/dist/commonjs/glob.js',
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: '/home/iojs/github-bot/node_modules/glob/dist/commonjs/index.js',
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: '/home/iojs/github-bot/server.js'
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: ]
    May 14 13:00:13 infra-rackspace-debian8-x64-1 node[29335]: }
    May 14 13:00:13 infra-rackspace-debian8-x64-1 systemd[1]: github-bot.service: main process exited, code=exited, status=1/FAILURE
    May 14 13:00:13 infra-rackspace-debian8-x64-1 systemd[1]: Unit github-bot.service entered failed state.
    root@infra-rackspace-debian8-x64-1:~#
  4. richardlau commented on May 14, 2024

    @richardlau
    MemberAuthor

    From journalctl

    -- Logs begin at Tue 2024-05-14 10:38:04 UTC, end at Tue 2024-05-14 13:02:12 UTC. --
    May 14 10:38:04 infra-rackspace-debian8-x64-1 systemd[1]: Stopping github-bot...
    May 14 10:38:04 infra-rackspace-debian8-x64-1 systemd[1]: Starting github-bot...
    May 14 10:38:04 infra-rackspace-debian8-x64-1 systemd[1]: Started github-bot.
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: internal/modules/cjs/loader.js:883
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: throw err;
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: ^
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: Error: Cannot find module 'node:path'
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: Require stack:
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: - /home/iojs/github-bot/node_modules/path-scurry/dist/commonjs/index.js
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: - /home/iojs/github-bot/node_modules/glob/dist/commonjs/glob.js
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: - /home/iojs/github-bot/node_modules/glob/dist/commonjs/index.js
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: - /home/iojs/github-bot/server.js
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Function.Module._load (internal/modules/cjs/loader.js:725:27)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Module.require (internal/modules/cjs/loader.js:952:19)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at require (internal/modules/cjs/helpers.js:88:18)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Object.<anonymous> (/home/iojs/github-bot/node_modules/path-scurry/dist/commonjs/index.js:28:21)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Module._compile (internal/modules/cjs/loader.js:1063:30)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Module.load (internal/modules/cjs/loader.js:928:32)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: at Module.require (internal/modules/cjs/loader.js:952:19) {
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: code: 'MODULE_NOT_FOUND',
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: requireStack: [
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: '/home/iojs/github-bot/node_modules/path-scurry/dist/commonjs/index.js',
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: '/home/iojs/github-bot/node_modules/glob/dist/commonjs/glob.js',
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: '/home/iojs/github-bot/node_modules/glob/dist/commonjs/index.js',
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: '/home/iojs/github-bot/server.js'
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: ]
    May 14 10:38:05 infra-rackspace-debian8-x64-1 node[14484]: }
    May 14 10:38:05 infra-rackspace-debian8-x64-1 systemd[1]: github-bot.service: main process exited, code=exited, status=1/FAILURE
    May 14 10:38:05 infra-rackspace-debian8-x64-1 systemd[1]: Unit github-bot.service entered failed state.
    

    which is #3214 and the inability to update Node.js there until we update the OS all over again.

  5. targos commented on May 14, 2024

    @targos
    Member

    nodejs/github-bot@c5ba723

    Landed 18 hours ago.

  6. targos commented on May 14, 2024

    @targos
    Member

    Can't we update Node.js to 14.21.3 (the last 14.x version), or at least 14.18? isaacs/node-glob@57f5551

  7. Trott commented on May 14, 2024

    @Trott
    Member

    Oof, sorry I did this with that glob update. That sure seemed safe.... 🥴

  8. Trott commented on May 14, 2024

    @Trott
    Member

    If upgrading to Node.js 14.18 or later is trouble, and even if it's not, a quick fix would be to revert the glob update.

  9. Trott commented on May 14, 2024

    @Trott
    Member

    If upgrading to Node.js 14.18 or later is trouble, and even if it's not, a quick fix would be to revert the glob update.

    Oops, probably not because the bot will still install the latest glob and this was introduced in a patch release. I'll open a PR to pin glob instead, which isn't great, but will fix things if the Node.js upgrade isn't something that can happen quickly.

  10. added a commit that references this issue on May 14, 2024
  11. Trott commented on May 14, 2024

    @Trott
    Member

    nodejs/github-bot#511 for a temporary workaround

  12. richardlau commented on May 14, 2024

    @richardlau
    MemberAuthor

    FWIW apt update offers no update or newer verson of Node.js 14.

  13. added a commit that references this issue on May 14, 2024
  14. Trott commented on May 15, 2024

    @Trott
    Member

    Hmm, pinning glob doesn't seem to have fixed it. I'm not sure how to look at the log file to confirm that glob is still the problem, but I'll reopen this.

  15. reopened this on May 15, 2024
  16. targos commented on May 15, 2024

    @targos
    Member

    Is the machine still in sync with its playbook? If it's not, I suggest we remove the Node.js installed via apt and instead just download it from nodejs.org and extract it to /usr/local

  17. added a commit that references this issue on May 15, 2024
  18. richardlau commented on May 15, 2024

    @richardlau
    MemberAuthor

    hmm. bot is still failing to start.

    It seems like the deployment still has path-scurry 1.11.1 installed.

    # npm ls
    nodejs-github-bot@1.0.0-beta1 /home/iojs/github-bot
    ├─┬ @octokit/rest@19.0.13
    │ ├─┬ @octokit/core@4.2.1
    │ │ ├─┬ @octokit/auth-token@3.0.3
    │ │ │ └── @octokit/types@9.2.3 deduped
    │ │ ├─┬ @octokit/graphql@5.0.5
    │ │ │ ├── @octokit/request@6.2.3 deduped
    │ │ │ ├── @octokit/types@9.2.3 deduped
    │ │ │ └── universal-user-agent@6.0.0 deduped
    │ │ ├─┬ @octokit/request@6.2.3
    │ │ │ ├─┬ @octokit/endpoint@7.0.5
    │ │ │ │ ├── @octokit/types@9.2.3 deduped
    │ │ │ │ ├── is-plain-object@5.0.0 deduped
    │ │ │ │ └── universal-user-agent@6.0.0 deduped
    │ │ │ ├── @octokit/request-error@3.0.3 deduped
    │ │ │ ├── @octokit/types@9.2.3 deduped
    │ │ │ ├── is-plain-object@5.0.0
    │ │ │ ├─┬ node-fetch@2.6.9
    │ │ │ │ └─┬ whatwg-url@5.0.0
    │ │ │ │   ├── tr46@0.0.3
    │ │ │ │   └── webidl-conversions@3.0.1
    │ │ │ └── universal-user-agent@6.0.0 deduped
    │ │ ├─┬ @octokit/request-error@3.0.3
    │ │ │ ├── @octokit/types@9.2.3 deduped
    │ │ │ ├── deprecation@2.3.1 deduped
    │ │ │ └─┬ once@1.4.0
    │ │ │   └── wrappy@1.0.2
    │ │ ├─┬ @octokit/types@9.2.3
    │ │ │ └── @octokit/openapi-types@17.2.0
    │ │ ├── before-after-hook@2.2.2
    │ │ └── universal-user-agent@6.0.0
    │ ├─┬ @octokit/plugin-paginate-rest@6.1.2
    │ │ ├── @octokit/tsconfig@1.0.2
    │ │ └── @octokit/types@9.2.3 deduped
    │ ├── @octokit/plugin-request-log@1.0.4
    │ └─┬ @octokit/plugin-rest-endpoint-methods@7.1.2
    │   ├── @octokit/types@9.2.3 deduped
    │   └── deprecation@2.3.1
    ├─┬ aigle@1.14.1
    │ └── aigle-core@1.0.0
    ├─┬ basic-auth@2.0.1
    │ └── safe-buffer@5.1.2
    ├─┬ body-parser@1.20.2
    │ ├── bytes@3.1.2
    │ ├── content-type@1.0.5
    │ ├─┬ debug@2.6.9
    │ │ └── ms@2.0.0
    │ ├── depd@2.0.0
    │ ├── destroy@1.2.0
    │ ├─┬ http-errors@2.0.0
    │ │ ├── depd@2.0.0 deduped
    │ │ ├── inherits@2.0.4
    │ │ ├── setprototypeof@1.2.0 deduped
    │ │ ├── statuses@2.0.1 deduped
    │ │ └── toidentifier@1.0.1
    │ ├─┬ iconv-lite@0.4.24
    │ │ └── safer-buffer@2.1.2
    │ ├─┬ on-finished@2.4.1
    │ │ └── ee-first@1.1.1
    │ ├─┬ qs@6.11.0
    │ │ └─┬ side-channel@1.0.4
    │ │   ├─┬ call-bind@1.0.2
    │ │   │ ├── function-bind@1.1.1
    │ │   │ └── get-intrinsic@1.2.1 deduped
    │ │   ├─┬ get-intrinsic@1.2.1
    │ │   │ ├── function-bind@1.1.1 deduped
    │ │   │ ├─┬ has@1.0.3
    │ │   │ │ └── function-bind@1.1.1 deduped
    │ │   │ ├── has-proto@1.0.1
    │ │   │ └── has-symbols@1.0.3
    │ │   └── object-inspect@1.12.3
    │ ├─┬ raw-body@2.5.2
    │ │ ├── bytes@3.1.2 deduped
    │ │ ├── http-errors@2.0.0 deduped
    │ │ ├── iconv-lite@0.4.24 deduped
    │ │ └── unpipe@1.0.0 deduped
    │ ├─┬ type-is@1.6.18
    │ │ ├── media-typer@0.3.0
    │ │ └─┬ mime-types@2.1.35
    │ │   └── mime-db@1.52.0
    │ └── unpipe@1.0.0
    ├─┬ bunyan@1.8.15
    │ ├─┬ dtrace-provider@0.8.8
    │ │ └── nan@2.15.0
    │ ├── moment@2.29.4
    │ ├─┬ mv@2.1.1
    │ │ ├─┬ mkdirp@0.5.6
    │ │ │ └── minimist@1.2.6
    │ │ ├── ncp@2.0.0
    │ │ └─┬ rimraf@2.4.5
    │ │   └─┬ glob@6.0.4
    │ │     ├─┬ inflight@1.0.6
    │ │     │ ├── once@1.4.0 deduped
    │ │     │ └── wrappy@1.0.2 deduped
    │ │     ├── inherits@2.0.4 deduped
    │ │     ├─┬ minimatch@3.1.2
    │ │     │ └─┬ brace-expansion@1.1.11
    │ │     │   ├── balanced-match@1.0.2 deduped
    │ │     │   └── concat-map@0.0.1
    │ │     ├── once@1.4.0 deduped
    │ │     └── path-is-absolute@1.0.1
    │ └── safe-json-stringify@1.2.0
    ├─┬ bunyan-middleware@1.0.2
    │ ├─┬ @types/bunyan@1.8.8
    │ │ └── @types/node@17.0.23
    │ ├─┬ @types/express@4.17.13
    │ │ ├─┬ @types/body-parser@1.19.2
    │ │ │ ├─┬ @types/connect@3.4.35
    │ │ │ │ └── @types/node@17.0.23 deduped
    │ │ │ └── @types/node@17.0.23 deduped
    │ │ ├─┬ @types/express-serve-static-core@4.17.28
    │ │ │ ├── @types/node@17.0.23 deduped
    │ │ │ ├── @types/qs@6.9.7 deduped
    │ │ │ └── @types/range-parser@1.2.4
    │ │ ├── @types/qs@6.9.7
    │ │ └─┬ @types/serve-static@1.13.10
    │ │   ├── @types/mime@1.3.2
    │ │   └── @types/node@17.0.23 deduped
    │ └── uuid@8.3.2
    ├─┬ codeowners-utils@1.0.2
    │ ├─┬ cross-spawn@7.0.3
    │ │ ├── path-key@3.1.1
    │ │ ├─┬ shebang-command@2.0.0
    │ │ │ └── shebang-regex@3.0.0
    │ │ └─┬ which@2.0.2
    │ │   └── isexe@2.0.0
    │ ├─┬ find-up@4.1.0
    │ │ ├── locate-path@5.0.0 deduped
    │ │ └── path-exists@4.0.0
    │ ├── ignore@5.2.0
    │ └─┬ locate-path@5.0.0
    │   └─┬ p-locate@4.1.0
    │     └─┬ p-limit@2.3.0
    │       └── p-try@2.2.0
    ├─┬ debug@4.3.4
    │ └── ms@2.1.2
    ├── dotenv@16.4.5
    ├── events-async@1.2.1
    ├─┬ express@4.19.2
    │ ├─┬ accepts@1.3.8
    │ │ ├── mime-types@2.1.35 deduped
    │ │ └── negotiator@0.6.3
    │ ├── array-flatten@1.1.1
    │ ├── body-parser@1.20.2 deduped
    │ ├─┬ content-disposition@0.5.4
    │ │ └── safe-buffer@5.2.1 deduped
    │ ├── content-type@1.0.5 deduped
    │ ├── cookie@0.6.0
    │ ├── cookie-signature@1.0.6
    │ ├─┬ debug@2.6.9
    │ │ └── ms@2.0.0
    │ ├── depd@2.0.0 deduped
    │ ├── encodeurl@1.0.2
    │ ├── escape-html@1.0.3
    │ ├── etag@1.8.1
    │ ├─┬ finalhandler@1.2.0
    │ │ ├─┬ debug@2.6.9
    │ │ │ └── ms@2.0.0
    │ │ ├── encodeurl@1.0.2 deduped
    │ │ ├── escape-html@1.0.3 deduped
    │ │ ├── on-finished@2.4.1 deduped
    │ │ ├── parseurl@1.3.3 deduped
    │ │ ├── statuses@2.0.1 deduped
    │ │ └── unpipe@1.0.0 deduped
    │ ├── fresh@0.5.2
    │ ├── http-errors@2.0.0 deduped
    │ ├── merge-descriptors@1.0.1
    │ ├── methods@1.1.2
    │ ├── on-finished@2.4.1 deduped
    │ ├── parseurl@1.3.3
    │ ├── path-to-regexp@0.1.7
    │ ├─┬ proxy-addr@2.0.7
    │ │ ├── forwarded@0.2.0
    │ │ └── ipaddr.js@1.9.1
    │ ├── qs@6.11.0 deduped
    │ ├── range-parser@1.2.1
    │ ├── safe-buffer@5.2.1
    │ ├─┬ send@0.18.0
    │ │ ├─┬ debug@2.6.9
    │ │ │ └── ms@2.0.0
    │ │ ├── depd@2.0.0 deduped
    │ │ ├── destroy@1.2.0 deduped
    │ │ ├── encodeurl@1.0.2 deduped
    │ │ ├── escape-html@1.0.3 deduped
    │ │ ├── etag@1.8.1 deduped
    │ │ ├── fresh@0.5.2 deduped
    │ │ ├── http-errors@2.0.0 deduped
    │ │ ├── mime@1.6.0
    │ │ ├── ms@2.1.3
    │ │ ├── on-finished@2.4.1 deduped
    │ │ ├── range-parser@1.2.1 deduped
    │ │ └── statuses@2.0.1 deduped
    │ ├─┬ serve-static@1.15.0
    │ │ ├── encodeurl@1.0.2 deduped
    │ │ ├── escape-html@1.0.3 deduped
    │ │ ├── parseurl@1.3.3 deduped
    │ │ └── send@0.18.0 deduped
    │ ├── setprototypeof@1.2.0
    │ ├── statuses@2.0.1
    │ ├── type-is@1.6.18 deduped
    │ ├── utils-merge@1.0.1
    │ └── vary@1.1.2
    └─┬ glob@10.3.12
      ├─┬ foreground-child@3.1.1
      │ ├── cross-spawn@7.0.3 deduped
      │ └── signal-exit@4.0.1
      ├─┬ jackspeak@2.3.6
      │ ├─┬ @isaacs/cliui@8.0.2
      │ │ ├─┬ string-width@5.1.2
      │ │ │ ├── eastasianwidth@0.2.0
      │ │ │ ├── emoji-regex@9.2.2
      │ │ │ └── strip-ansi@7.1.0 deduped
      │ │ ├─┬ string-width-cjs@npm:string-width@4.2.3
      │ │ │ ├── emoji-regex@8.0.0
      │ │ │ ├── is-fullwidth-code-point@3.0.0
      │ │ │ └─┬ strip-ansi@6.0.1
      │ │ │   └── ansi-regex@5.0.1
      │ │ ├─┬ strip-ansi@7.1.0
      │ │ │ └── ansi-regex@6.0.1
      │ │ ├─┬ strip-ansi-cjs@npm:strip-ansi@6.0.1
      │ │ │ └── ansi-regex@5.0.1
      │ │ ├─┬ wrap-ansi@8.1.0
      │ │ │ ├── ansi-styles@6.2.1
      │ │ │ ├── string-width@5.1.2 deduped
      │ │ │ └── strip-ansi@7.1.0 deduped
      │ │ └─┬ wrap-ansi-cjs@npm:wrap-ansi@7.0.0
      │ │   ├─┬ ansi-styles@4.3.0
      │ │   │ └─┬ color-convert@2.0.1
      │ │   │   └── color-name@1.1.4
      │ │   ├─┬ string-width@4.2.3
      │ │   │ ├── emoji-regex@8.0.0
      │ │   │ ├── is-fullwidth-code-point@3.0.0 deduped
      │ │   │ └── strip-ansi@6.0.1 deduped
      │ │   └─┬ strip-ansi@6.0.1
      │ │     └── ansi-regex@5.0.1
      │ └── @pkgjs/parseargs@0.11.0
      ├─┬ minimatch@9.0.1
      │ └─┬ brace-expansion@2.0.1
      │   └── balanced-match@1.0.2
      ├── minipass@7.0.4
      └─┬ path-scurry@1.11.1
        ├── lru-cache@10.2.2
        └── minipass@7.1.1
    

    Maybe trying to get a manual Node.js 14 installed as a temporary solution would be worth pursuing.

  19. richardlau commented on May 15, 2024

    @richardlau
    MemberAuthor

    Is the machine still in sync with its playbook? If it's not, I suggest we remove the Node.js installed via apt and instead just download it from nodejs.org and extract it to /usr/local

    I've downloaded Node.js 14.21.3 onto the machine and extracted it to /usr/local. Had to edit /lib/systemd/system/github-bot.service so that it used /usr/local/bin/node instead of /usr/bin/node. It looks like the bot has now been able to start:

    root@infra-rackspace-debian8-x64-1:/home/iojs# systemctl status github-bot
    ● github-bot.service - github-bot
       Loaded: loaded (/lib/systemd/system/github-bot.service; enabled)
       Active: active (running) since Wed 2024-05-15 17:52:29 UTC; 1s ago
     Main PID: 19176 (node)
       CGroup: /system.slice/github-bot.service
               └─19176 /usr/local/bin/node server.js
    
    May 15 17:52:29 infra-rackspace-debian8-x64-1 systemd[1]: Started github-bot.
    May 15 17:52:29 infra-rackspace-debian8-x64-1 node[19176]: {"name":"bot","hostname":"infra-rackspace-debian8-x64-1","pid":19176,"level":30,"msg":"Loading: ./scripts/ping.js","time":"2024-05-15T1...591Z","v":0}
    May 15 17:52:29 infra-rackspace-debian8-x64-1 node[19176]: {"name":"bot","hostname":"infra-rackspace-debian8-x64-1","pid":19176,"level":30,"msg":"Loading: ./scripts/node-ping-owners.js","time":"...595Z","v":0}
    May 15 17:52:29 infra-rackspace-debian8-x64-1 node[19176]: {"name":"bot","hostname":"infra-rackspace-debian8-x64-1","pid":19176,"level":30,"msg":"Loading: ./scripts/jenkins-status.js","time":"20...687Z","v":0}
    May 15 17:52:29 infra-rackspace-debian8-x64-1 node[19176]: {"name":"bot","hostname":"infra-rackspace-debian8-x64-1","pid":19176,"level":30,"msg":"Loading: ./scripts/event-relay.js","time":"2024-...688Z","v":0}
    May 15 17:52:29 infra-rackspace-debian8-x64-1 node[19176]: {"name":"bot","hostname":"infra-rackspace-debian8-x64-1","pid":19176,"level":30,"msg":"Listening on port 3333","time":"2024-05-15T17:52...693Z","v":0}
    Hint: Some lines were ellipsized, use -l to show in full.
    root@infra-rackspace-debian8-x64-1:/home/iojs#
  20. richardlau commented on May 15, 2024

    @richardlau
    MemberAuthor

    httpRequest step in the pipeline (see #3720 (comment)) is passing now and I can see status checks being posted back to PRs.

  21. Trott commented on May 20, 2024

    @Trott
    Member

    @richardlau Should we land nodejs/github-bot#514 and keep an eye on things?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions