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

Hanging at hugo step sometimes #465

Closed
4 tasks done
guybowden opened this issue Nov 5, 2020 · 16 comments
Closed
4 tasks done

Hanging at hugo step sometimes #465

guybowden opened this issue Nov 5, 2020 · 16 comments
Assignees
Labels
resolved resolved issue support User support

Comments

@guybowden
Copy link

Note that an issue which does not follow the template will be closed silently.

Check list before opening this issue

  • I read the latest README of this repository.

For users of the GitHub Pages Action:

Describe your question

Sometimes the action hangs at the build step.

I've included the full build log below, but here's where it goes wrong - notice that I stopped it after 8 minutes.

2020-11-05T10:30:48.1106334Z Start building sites … 
2020-11-05T10:38:03.9154592Z ##[error]The operation was canceled.

This has happened on a few occasions. The most recent one was after a single commit to an unrelated file - lighthouserc.js (before the commit, it built, after the commit it didn't)

Whenever it's not been able to build, I've always been able to run hugo locally, and on netlify and the site builds quickly.

When i re-run the job, it sometimes passes, sometimes fails.

Link to your contents

  • Link to your public repository here (not public)

My workflow file

name: CI
on: [push]
jobs:
  lhci:
    name: Lighthouse
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true # Fetch Hugo themes (true OR recursive)
          fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

      - name: Use Node.js 12.x
        uses: actions/setup-node@v1
        with:
          node-version: 12.x

      - name: Install NPM Deps
        run: npm i

      - name: Setup Hugo
        uses: peaceiris/actions-hugo@v2
        with:
          hugo-version: "0.77.0"
          extended: true
      - name: PreBuild
        run: ls -l
      - name: Build
        run: hugo

      - name: run Lighthouse CI
        run: |
          npm install -g @lhci/cli@0.6.x
          lhci autorun
        env:
          LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}

Screenshots

If applicable, add screenshots to help explain your question.

Additional context

Full build log

2020-11-05T10:30:10.5041761Z ##[section]Starting: Request a runner to run this job
2020-11-05T10:30:11.2556380Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-18.04'
2020-11-05T10:30:11.2556485Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-18.04'
2020-11-05T10:30:11.2556872Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-18.04'
2020-11-05T10:30:11.4753826Z ##[section]Finishing: Request a runner to run this job
2020-11-05T10:30:31.6112165Z Current runner version: '2.273.6'
2020-11-05T10:30:31.6144688Z ##[group]Operating System
2020-11-05T10:30:31.6145519Z Ubuntu
2020-11-05T10:30:31.6145861Z 18.04.5
2020-11-05T10:30:31.6146220Z LTS
2020-11-05T10:30:31.6146529Z ##[endgroup]
2020-11-05T10:30:31.6146964Z ##[group]Virtual Environment
2020-11-05T10:30:31.6147496Z Environment: ubuntu-18.04
2020-11-05T10:30:31.6147928Z Version: 20201026.1
2020-11-05T10:30:31.6148791Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201026.1/images/linux/Ubuntu1804-README.md
2020-11-05T10:30:31.6149862Z ##[endgroup]
2020-11-05T10:30:31.6151096Z Prepare workflow directory
2020-11-05T10:30:31.6336815Z Prepare all required actions
2020-11-05T10:30:31.6346573Z Getting action download info
2020-11-05T10:30:32.0360588Z Download action repository 'actions/checkout@v2'
2020-11-05T10:30:34.4105514Z Download action repository 'actions/setup-node@v1'
2020-11-05T10:30:34.8179552Z Download action repository 'peaceiris/actions-hugo@v2'
2020-11-05T10:30:35.1647169Z ##[group]Run actions/checkout@v2
2020-11-05T10:30:35.1647713Z with:
2020-11-05T10:30:35.1648076Z   submodules: true
2020-11-05T10:30:35.1648417Z   fetch-depth: 0
2020-11-05T10:30:35.1648809Z   repository: guybowden/journal
2020-11-05T10:30:35.1649664Z   token: ***
2020-11-05T10:30:35.1649950Z   ssh-strict: true
2020-11-05T10:30:35.1650335Z   persist-credentials: true
2020-11-05T10:30:35.1650694Z   clean: true
2020-11-05T10:30:35.1650954Z   lfs: false
2020-11-05T10:30:35.1651219Z ##[endgroup]
2020-11-05T10:30:36.6621086Z Syncing repository: guybowden/journal
2020-11-05T10:30:36.6750981Z ##[group]Getting Git version info
2020-11-05T10:30:36.6752172Z Working directory is '/home/runner/work/journal/journal'
2020-11-05T10:30:36.6806519Z [command]/usr/bin/git version
2020-11-05T10:30:36.8301605Z git version 2.29.0
2020-11-05T10:30:36.8341609Z ##[endgroup]
2020-11-05T10:30:36.8353679Z Deleting the contents of '/home/runner/work/journal/journal'
2020-11-05T10:30:36.8360936Z ##[group]Initializing the repository
2020-11-05T10:30:36.8368267Z [command]/usr/bin/git init /home/runner/work/journal/journal
2020-11-05T10:30:36.8680618Z Initialized empty Git repository in /home/runner/work/journal/journal/.git/
2020-11-05T10:30:36.8681533Z [command]/usr/bin/git remote add origin https://github.com/guybowden/journal
2020-11-05T10:30:36.8807941Z ##[endgroup]
2020-11-05T10:30:36.8808504Z ##[group]Disabling automatic garbage collection
2020-11-05T10:30:36.8818349Z [command]/usr/bin/git config --local gc.auto 0
2020-11-05T10:30:36.8915615Z ##[endgroup]
2020-11-05T10:30:36.8921123Z ##[group]Setting up auth
2020-11-05T10:30:36.8928489Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-11-05T10:30:36.8978278Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-11-05T10:30:37.1169184Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-11-05T10:30:37.1239429Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-11-05T10:30:37.1538991Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2020-11-05T10:30:37.1656427Z ##[endgroup]
2020-11-05T10:30:37.1659247Z ##[group]Fetching the repository
2020-11-05T10:30:37.1674529Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
2020-11-05T10:30:38.0252771Z remote: Enumerating objects: 35, done.        
2020-11-05T10:30:38.0255591Z remote: Counting objects:   2% (1/35)        
2020-11-05T10:30:38.0257821Z remote: Counting objects:   5% (2/35)        
2020-11-05T10:30:38.0266046Z remote: Counting objects:   8% (3/35)        
2020-11-05T10:30:38.0267203Z remote: Counting objects:  11% (4/35)        
2020-11-05T10:30:38.0268634Z remote: Counting objects:  14% (5/35)        
2020-11-05T10:30:38.0270575Z remote: Counting objects:  17% (6/35)        
2020-11-05T10:30:38.0271562Z remote: Counting objects:  20% (7/35)        
2020-11-05T10:30:38.0272665Z remote: Counting objects:  22% (8/35)        
2020-11-05T10:30:38.0273813Z remote: Counting objects:  25% (9/35)        
2020-11-05T10:30:38.0274685Z remote: Counting objects:  28% (10/35)        
2020-11-05T10:30:38.0275539Z remote: Counting objects:  31% (11/35)        
2020-11-05T10:30:38.0276394Z remote: Counting objects:  34% (12/35)        
2020-11-05T10:30:38.0277240Z remote: Counting objects:  37% (13/35)        
2020-11-05T10:30:38.0278089Z remote: Counting objects:  40% (14/35)        
2020-11-05T10:30:38.0278932Z remote: Counting objects:  42% (15/35)        
2020-11-05T10:30:38.0279784Z remote: Counting objects:  45% (16/35)        
2020-11-05T10:30:38.0281216Z remote: Counting objects:  48% (17/35)        
2020-11-05T10:30:38.0282089Z remote: Counting objects:  51% (18/35)        
2020-11-05T10:30:38.0282952Z remote: Counting objects:  54% (19/35)        
2020-11-05T10:30:38.0283903Z remote: Counting objects:  57% (20/35)        
2020-11-05T10:30:38.0284731Z remote: Counting objects:  60% (21/35)        
2020-11-05T10:30:38.0285500Z remote: Counting objects:  62% (22/35)        
2020-11-05T10:30:38.0286268Z remote: Counting objects:  65% (23/35)        
2020-11-05T10:30:38.0292650Z remote: Counting objects:  68% (24/35)        
2020-11-05T10:30:38.0294630Z remote: Counting objects:  71% (25/35)        
2020-11-05T10:30:38.0296156Z remote: Counting objects:  74% (26/35)        
2020-11-05T10:30:38.0297481Z remote: Counting objects:  77% (27/35)        
2020-11-05T10:30:38.0298803Z remote: Counting objects:  80% (28/35)        
2020-11-05T10:30:38.0300026Z remote: Counting objects:  82% (29/35)        
2020-11-05T10:30:38.0301213Z remote: Counting objects:  85% (30/35)        
2020-11-05T10:30:38.0302479Z remote: Counting objects:  88% (31/35)        
2020-11-05T10:30:38.0303666Z remote: Counting objects:  91% (32/35)        
2020-11-05T10:30:38.0306150Z remote: Counting objects:  94% (33/35)        
2020-11-05T10:30:38.0307219Z remote: Counting objects:  97% (34/35)        
2020-11-05T10:30:38.0308160Z remote: Counting objects: 100% (35/35)        
2020-11-05T10:30:38.0309368Z remote: Counting objects: 100% (35/35), done.        
2020-11-05T10:30:38.0310429Z remote: Compressing objects:   4% (1/23)        
2020-11-05T10:30:38.0311446Z remote: Compressing objects:   8% (2/23)        
2020-11-05T10:30:38.0312454Z remote: Compressing objects:  13% (3/23)        
2020-11-05T10:30:38.0438398Z remote: Compressing objects:  17% (4/23)        
2020-11-05T10:30:38.0439187Z remote: Compressing objects:  21% (5/23)        
2020-11-05T10:30:38.0439701Z remote: Compressing objects:  26% (6/23)        
2020-11-05T10:30:38.0440154Z remote: Compressing objects:  30% (7/23)        
2020-11-05T10:30:38.0440620Z remote: Compressing objects:  34% (8/23)        
2020-11-05T10:30:38.0441074Z remote: Compressing objects:  39% (9/23)        
2020-11-05T10:30:38.0441527Z remote: Compressing objects:  43% (10/23)        
2020-11-05T10:30:38.0441978Z remote: Compressing objects:  47% (11/23)        
2020-11-05T10:30:38.0442429Z remote: Compressing objects:  52% (12/23)        
2020-11-05T10:30:38.0442877Z remote: Compressing objects:  56% (13/23)        
2020-11-05T10:30:38.0443321Z remote: Compressing objects:  60% (14/23)        
2020-11-05T10:30:38.0443765Z remote: Compressing objects:  65% (15/23)        
2020-11-05T10:30:38.0444213Z remote: Compressing objects:  69% (16/23)        
2020-11-05T10:30:38.0444642Z remote: Compressing objects:  73% (17/23)        
2020-11-05T10:30:38.0445084Z remote: Compressing objects:  78% (18/23)        
2020-11-05T10:30:38.0445530Z remote: Compressing objects:  82% (19/23)        
2020-11-05T10:30:38.0446133Z remote: Compressing objects:  86% (20/23)        
2020-11-05T10:30:38.0446591Z remote: Compressing objects:  91% (21/23)        
2020-11-05T10:30:38.0447276Z remote: Compressing objects:  95% (22/23)        
2020-11-05T10:30:38.0447723Z remote: Compressing objects: 100% (23/23)        
2020-11-05T10:30:38.0448193Z remote: Compressing objects: 100% (23/23), done.        
2020-11-05T10:30:38.0625171Z Receiving objects:   0% (1/1252)
2020-11-05T10:30:38.0625653Z Receiving objects:   1% (13/1252)
2020-11-05T10:30:38.0630158Z Receiving objects:   2% (26/1252)
2020-11-05T10:30:38.0633130Z Receiving objects:   3% (38/1252)
2020-11-05T10:30:38.0635981Z Receiving objects:   4% (51/1252)
2020-11-05T10:30:38.0638522Z Receiving objects:   5% (63/1252)
2020-11-05T10:30:38.0641674Z Receiving objects:   6% (76/1252)
2020-11-05T10:30:38.0644145Z Receiving objects:   7% (88/1252)
2020-11-05T10:30:38.0646959Z Receiving objects:   8% (101/1252)
2020-11-05T10:30:38.0649480Z Receiving objects:   9% (113/1252)
2020-11-05T10:30:38.0700464Z Receiving objects:  10% (126/1252)
2020-11-05T10:30:38.0701142Z Receiving objects:  11% (138/1252)
2020-11-05T10:30:38.0701562Z Receiving objects:  12% (151/1252)
2020-11-05T10:30:38.0706497Z Receiving objects:  13% (163/1252)
2020-11-05T10:30:38.0706889Z Receiving objects:  14% (176/1252)
2020-11-05T10:30:38.0757440Z Receiving objects:  15% (188/1252)
2020-11-05T10:30:38.0761479Z Receiving objects:  16% (201/1252)
2020-11-05T10:30:38.0764533Z Receiving objects:  17% (213/1252)
2020-11-05T10:30:38.0768534Z Receiving objects:  18% (226/1252)
2020-11-05T10:30:38.2227842Z Receiving objects:  19% (238/1252)
2020-11-05T10:30:38.4456196Z Receiving objects:  20% (251/1252)
2020-11-05T10:30:38.4456668Z Receiving objects:  21% (263/1252)
2020-11-05T10:30:38.4457051Z Receiving objects:  22% (276/1252)
2020-11-05T10:30:38.4457424Z Receiving objects:  23% (288/1252)
2020-11-05T10:30:38.4457796Z Receiving objects:  24% (301/1252)
2020-11-05T10:30:38.4458168Z Receiving objects:  25% (313/1252)
2020-11-05T10:30:38.4458539Z Receiving objects:  26% (326/1252)
2020-11-05T10:30:38.4458935Z Receiving objects:  27% (339/1252)
2020-11-05T10:30:38.4459314Z Receiving objects:  28% (351/1252)
2020-11-05T10:30:38.4517311Z Receiving objects:  29% (364/1252)
2020-11-05T10:30:38.4517725Z Receiving objects:  30% (376/1252)
2020-11-05T10:30:38.4521108Z Receiving objects:  31% (389/1252)
2020-11-05T10:30:38.4525659Z Receiving objects:  32% (401/1252)
2020-11-05T10:30:38.4527184Z Receiving objects:  33% (414/1252)
2020-11-05T10:30:38.4529216Z Receiving objects:  34% (426/1252)
2020-11-05T10:30:38.4549621Z Receiving objects:  35% (439/1252)
2020-11-05T10:30:38.4550023Z Receiving objects:  36% (451/1252)
2020-11-05T10:30:38.4613291Z Receiving objects:  37% (464/1252)
2020-11-05T10:30:38.4675066Z Receiving objects:  38% (476/1252)
2020-11-05T10:30:38.4676049Z Receiving objects:  39% (489/1252)
2020-11-05T10:30:38.4676655Z Receiving objects:  40% (501/1252)
2020-11-05T10:30:38.4678539Z Receiving objects:  41% (514/1252)
2020-11-05T10:30:38.4679680Z Receiving objects:  42% (526/1252)
2020-11-05T10:30:38.4680296Z Receiving objects:  43% (539/1252)
2020-11-05T10:30:38.4813950Z Receiving objects:  44% (551/1252)
2020-11-05T10:30:38.4814856Z Receiving objects:  45% (564/1252)
2020-11-05T10:30:38.4815774Z Receiving objects:  46% (576/1252)
2020-11-05T10:30:38.4816352Z Receiving objects:  47% (589/1252)
2020-11-05T10:30:38.4816994Z Receiving objects:  48% (601/1252)
2020-11-05T10:30:38.4817562Z Receiving objects:  49% (614/1252)
2020-11-05T10:30:38.4818383Z Receiving objects:  50% (626/1252)
2020-11-05T10:30:38.4818977Z Receiving objects:  51% (639/1252)
2020-11-05T10:30:38.7657460Z Receiving objects:  52% (652/1252)
2020-11-05T10:30:39.0623173Z Receiving objects:  53% (664/1252), 23.31 MiB | 46.61 MiB/s
2020-11-05T10:30:39.0710018Z Receiving objects:  53% (668/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0711322Z Receiving objects:  54% (677/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0711995Z Receiving objects:  55% (689/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0712647Z Receiving objects:  56% (702/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0713827Z Receiving objects:  57% (714/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0714733Z Receiving objects:  58% (727/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0715315Z Receiving objects:  59% (739/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0715855Z Receiving objects:  60% (752/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0716506Z Receiving objects:  61% (764/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0717068Z Receiving objects:  62% (777/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0717605Z Receiving objects:  63% (789/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0720523Z Receiving objects:  64% (802/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0721869Z Receiving objects:  65% (814/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0723227Z Receiving objects:  66% (827/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0724027Z Receiving objects:  67% (839/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0724826Z Receiving objects:  68% (852/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0725406Z Receiving objects:  69% (864/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0726051Z Receiving objects:  70% (877/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0727718Z Receiving objects:  71% (889/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0728481Z Receiving objects:  72% (902/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0729254Z Receiving objects:  73% (914/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0730141Z Receiving objects:  74% (927/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0731215Z Receiving objects:  75% (939/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0732693Z Receiving objects:  76% (952/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0733582Z Receiving objects:  77% (965/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0735131Z Receiving objects:  78% (977/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0735709Z Receiving objects:  79% (990/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0736355Z Receiving objects:  80% (1002/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0737180Z Receiving objects:  81% (1015/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0738491Z Receiving objects:  82% (1027/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0739259Z Receiving objects:  83% (1040/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0739975Z Receiving objects:  84% (1052/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0740654Z Receiving objects:  85% (1065/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0741406Z Receiving objects:  86% (1077/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.0864387Z Receiving objects:  87% (1090/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.2718001Z Receiving objects:  88% (1102/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.2718918Z Receiving objects:  89% (1115/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.2784425Z Receiving objects:  90% (1127/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3040451Z Receiving objects:  91% (1140/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3042198Z remote: Total 1252 (delta 7), reused 27 (delta 5), pack-reused 1217        
2020-11-05T10:30:39.3058063Z Receiving objects:  92% (1152/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3058528Z Receiving objects:  93% (1165/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3058962Z Receiving objects:  94% (1177/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3059391Z Receiving objects:  95% (1190/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3059818Z Receiving objects:  96% (1202/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3062531Z Receiving objects:  97% (1215/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3065431Z Receiving objects:  98% (1227/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3068386Z Receiving objects:  99% (1240/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3068816Z Receiving objects: 100% (1252/1252), 53.72 MiB | 53.72 MiB/s
2020-11-05T10:30:39.3069627Z Receiving objects: 100% (1252/1252), 66.72 MiB | 53.62 MiB/s, done.
2020-11-05T10:30:39.3074698Z Resolving deltas:   0% (0/564)
2020-11-05T10:30:39.3076659Z Resolving deltas:   1% (6/564)
2020-11-05T10:30:39.3079028Z Resolving deltas:   2% (12/564)
2020-11-05T10:30:39.3079542Z Resolving deltas:   3% (17/564)
2020-11-05T10:30:39.3080903Z Resolving deltas:   4% (23/564)
2020-11-05T10:30:39.3081403Z Resolving deltas:   5% (29/564)
2020-11-05T10:30:39.3082687Z Resolving deltas:   6% (34/564)
2020-11-05T10:30:39.3083985Z Resolving deltas:   7% (40/564)
2020-11-05T10:30:39.3084480Z Resolving deltas:   8% (46/564)
2020-11-05T10:30:39.3085439Z Resolving deltas:   9% (51/564)
2020-11-05T10:30:39.3086834Z Resolving deltas:  10% (57/564)
2020-11-05T10:30:39.3087338Z Resolving deltas:  11% (63/564)
2020-11-05T10:30:39.3088356Z Resolving deltas:  12% (68/564)
2020-11-05T10:30:39.3089327Z Resolving deltas:  13% (74/564)
2020-11-05T10:30:39.3091309Z Resolving deltas:  14% (79/564)
2020-11-05T10:30:39.3092404Z Resolving deltas:  15% (85/564)
2020-11-05T10:30:39.3092894Z Resolving deltas:  16% (91/564)
2020-11-05T10:30:39.3093352Z Resolving deltas:  17% (96/564)
2020-11-05T10:30:39.3093820Z Resolving deltas:  18% (102/564)
2020-11-05T10:30:39.3094318Z Resolving deltas:  19% (108/564)
2020-11-05T10:30:39.3094784Z Resolving deltas:  20% (113/564)
2020-11-05T10:30:39.3095246Z Resolving deltas:  21% (119/564)
2020-11-05T10:30:39.3095706Z Resolving deltas:  22% (125/564)
2020-11-05T10:30:39.3096165Z Resolving deltas:  23% (130/564)
2020-11-05T10:30:39.3096627Z Resolving deltas:  24% (136/564)
2020-11-05T10:30:39.3097088Z Resolving deltas:  25% (141/564)
2020-11-05T10:30:39.3097547Z Resolving deltas:  26% (147/564)
2020-11-05T10:30:39.3151665Z Resolving deltas:  27% (153/564)
2020-11-05T10:30:39.3152854Z Resolving deltas:  28% (158/564)
2020-11-05T10:30:39.3153900Z Resolving deltas:  29% (164/564)
2020-11-05T10:30:39.3154398Z Resolving deltas:  30% (170/564)
2020-11-05T10:30:39.3155745Z Resolving deltas:  31% (175/564)
2020-11-05T10:30:39.3156716Z Resolving deltas:  32% (181/564)
2020-11-05T10:30:39.3158045Z Resolving deltas:  33% (187/564)
2020-11-05T10:30:39.3159056Z Resolving deltas:  34% (192/564)
2020-11-05T10:30:39.3160401Z Resolving deltas:  35% (198/564)
2020-11-05T10:30:39.3162088Z Resolving deltas:  36% (204/564)
2020-11-05T10:30:39.3164439Z Resolving deltas:  37% (209/564)
2020-11-05T10:30:39.3164934Z Resolving deltas:  38% (215/564)
2020-11-05T10:30:39.3166011Z Resolving deltas:  39% (220/564)
2020-11-05T10:30:39.3166374Z Resolving deltas:  40% (226/564)
2020-11-05T10:30:39.3166730Z Resolving deltas:  41% (232/564)
2020-11-05T10:30:39.3167084Z Resolving deltas:  42% (237/564)
2020-11-05T10:30:39.3167440Z Resolving deltas:  43% (243/564)
2020-11-05T10:30:39.3167795Z Resolving deltas:  44% (249/564)
2020-11-05T10:30:39.3168136Z Resolving deltas:  45% (254/564)
2020-11-05T10:30:39.3168492Z Resolving deltas:  46% (260/564)
2020-11-05T10:30:39.3168849Z Resolving deltas:  47% (266/564)
2020-11-05T10:30:39.3169213Z Resolving deltas:  48% (271/564)
2020-11-05T10:30:39.3169573Z Resolving deltas:  49% (277/564)
2020-11-05T10:30:39.3169926Z Resolving deltas:  50% (282/564)
2020-11-05T10:30:39.3170279Z Resolving deltas:  51% (288/564)
2020-11-05T10:30:39.3170631Z Resolving deltas:  52% (294/564)
2020-11-05T10:30:39.3170984Z Resolving deltas:  53% (299/564)
2020-11-05T10:30:39.3171335Z Resolving deltas:  54% (305/564)
2020-11-05T10:30:39.3181074Z Resolving deltas:  55% (311/564)
2020-11-05T10:30:39.3181450Z Resolving deltas:  56% (316/564)
2020-11-05T10:30:39.3181807Z Resolving deltas:  57% (322/564)
2020-11-05T10:30:39.3182160Z Resolving deltas:  58% (328/564)
2020-11-05T10:30:39.3182513Z Resolving deltas:  59% (333/564)
2020-11-05T10:30:39.3182866Z Resolving deltas:  60% (339/564)
2020-11-05T10:30:39.3183219Z Resolving deltas:  61% (345/564)
2020-11-05T10:30:39.3183557Z Resolving deltas:  62% (350/564)
2020-11-05T10:30:39.3183911Z Resolving deltas:  63% (356/564)
2020-11-05T10:30:39.3184268Z Resolving deltas:  64% (361/564)
2020-11-05T10:30:39.3184636Z Resolving deltas:  65% (367/564)
2020-11-05T10:30:39.3185133Z Resolving deltas:  66% (373/564)
2020-11-05T10:30:39.3185489Z Resolving deltas:  67% (378/564)
2020-11-05T10:30:39.3185843Z Resolving deltas:  68% (384/564)
2020-11-05T10:30:39.3186197Z Resolving deltas:  69% (390/564)
2020-11-05T10:30:39.3186549Z Resolving deltas:  70% (395/564)
2020-11-05T10:30:39.3186900Z Resolving deltas:  71% (401/564)
2020-11-05T10:30:39.3187254Z Resolving deltas:  72% (407/564)
2020-11-05T10:30:39.3187608Z Resolving deltas:  73% (412/564)
2020-11-05T10:30:39.3187958Z Resolving deltas:  74% (418/564)
2020-11-05T10:30:39.3188309Z Resolving deltas:  75% (423/564)
2020-11-05T10:30:39.3188648Z Resolving deltas:  76% (429/564)
2020-11-05T10:30:39.3189233Z Resolving deltas:  77% (435/564)
2020-11-05T10:30:39.3189594Z Resolving deltas:  78% (440/564)
2020-11-05T10:30:39.3189951Z Resolving deltas:  79% (446/564)
2020-11-05T10:30:39.3190305Z Resolving deltas:  80% (452/564)
2020-11-05T10:30:39.3190741Z Resolving deltas:  81% (457/564)
2020-11-05T10:30:39.3191103Z Resolving deltas:  82% (463/564)
2020-11-05T10:30:39.3191456Z Resolving deltas:  83% (469/564)
2020-11-05T10:30:39.3191808Z Resolving deltas:  84% (474/564)
2020-11-05T10:30:39.3192161Z Resolving deltas:  85% (480/564)
2020-11-05T10:30:39.3192515Z Resolving deltas:  86% (486/564)
2020-11-05T10:30:39.3192865Z Resolving deltas:  87% (491/564)
2020-11-05T10:30:39.3193219Z Resolving deltas:  88% (497/564)
2020-11-05T10:30:39.3193571Z Resolving deltas:  89% (502/564)
2020-11-05T10:30:39.3197187Z Resolving deltas:  90% (508/564)
2020-11-05T10:30:39.3199575Z Resolving deltas:  91% (514/564)
2020-11-05T10:30:39.3201798Z Resolving deltas:  92% (519/564)
2020-11-05T10:30:39.3203999Z Resolving deltas:  93% (525/564)
2020-11-05T10:30:39.3206257Z Resolving deltas:  94% (531/564)
2020-11-05T10:30:39.3409539Z Resolving deltas:  95% (536/564)
2020-11-05T10:30:39.3550165Z Resolving deltas:  96% (542/564)
2020-11-05T10:30:39.3827717Z Resolving deltas:  97% (548/564)
2020-11-05T10:30:39.3831286Z Resolving deltas:  98% (553/564)
2020-11-05T10:30:39.4167610Z Resolving deltas:  99% (559/564)
2020-11-05T10:30:39.4168369Z Resolving deltas: 100% (564/564)
2020-11-05T10:30:39.4169037Z Resolving deltas: 100% (564/564), done.
2020-11-05T10:30:40.3670831Z From https://github.com/guybowden/journal
2020-11-05T10:30:40.3672263Z  * [new branch]      master     -> origin/master
2020-11-05T10:30:40.3696559Z [command]/usr/bin/git branch --list --remote origin/master
2020-11-05T10:30:40.3739097Z   origin/master
2020-11-05T10:30:40.3747984Z [command]/usr/bin/git rev-parse refs/remotes/origin/master
2020-11-05T10:30:40.3785644Z cad05b110c4942e82ebf27c83850c86ff2eb8875
2020-11-05T10:30:40.3789423Z ##[endgroup]
2020-11-05T10:30:40.3799395Z ##[group]Determining the checkout info
2020-11-05T10:30:40.3800137Z ##[endgroup]
2020-11-05T10:30:40.3800783Z ##[group]Checking out the ref
2020-11-05T10:30:40.3801886Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2020-11-05T10:30:40.4806250Z Reset branch 'master'
2020-11-05T10:30:40.4808236Z Branch 'master' set up to track remote branch 'master' from 'origin'.
2020-11-05T10:30:40.4823358Z ##[endgroup]
2020-11-05T10:30:40.4823970Z ##[group]Setting up auth for fetching submodules
2020-11-05T10:30:40.4841900Z Temporarily overriding HOME='/home/runner/work/_temp/0ba8f79c-a4dc-4099-ad98-479013f6b51c' before making global git config changes
2020-11-05T10:30:40.4846513Z [command]/usr/bin/git config --global http.https://github.com/.extraheader AUTHORIZATION: basic ***
2020-11-05T10:30:40.4905802Z [command]/usr/bin/git config --global --unset-all url.https://github.com/.insteadOf
2020-11-05T10:30:40.4950386Z [command]/usr/bin/git config --global url.https://github.com/.insteadOf git@github.com:
2020-11-05T10:30:40.4987267Z ##[endgroup]
2020-11-05T10:30:40.4988008Z ##[group]Fetching submodules
2020-11-05T10:30:40.4991786Z [command]/usr/bin/git submodule sync
2020-11-05T10:30:40.5319551Z [command]/usr/bin/git -c protocol.version=2 submodule update --init --force
2020-11-05T10:30:40.5614050Z [command]/usr/bin/git submodule foreach git config --local gc.auto 0
2020-11-05T10:30:40.6221775Z ##[endgroup]
2020-11-05T10:30:40.6222763Z ##[group]Persisting credentials for submodules
2020-11-05T10:30:40.6224756Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'url\.https\:\/\/github\.com\/\.insteadOf' && git config --local --unset-all 'url.https://github.com/.insteadOf' || :
2020-11-05T10:30:40.6539287Z [command]/usr/bin/git submodule foreach git config --local 'http.https://github.com/.extraheader' 'AUTHORIZATION: basic ***' && git config --local --show-origin --name-only --get-regexp remote.origin.url
2020-11-05T10:30:40.6827096Z [command]/usr/bin/git submodule foreach git config --local 'url.https://github.com/.insteadOf' 'git@github.com:'
2020-11-05T10:30:40.7122147Z ##[endgroup]
2020-11-05T10:30:40.7286872Z [command]/usr/bin/git log -1 --format='%H'
2020-11-05T10:30:40.7322895Z 'cad05b110c4942e82ebf27c83850c86ff2eb8875'
2020-11-05T10:30:40.7462147Z ##[group]Run actions/setup-node@v1
2020-11-05T10:30:40.7462482Z with:
2020-11-05T10:30:40.7462746Z   node-version: 12.x
2020-11-05T10:30:40.7463067Z   always-auth: false
2020-11-05T10:30:40.7463456Z ##[endgroup]
2020-11-05T10:30:40.8480811Z [command]/opt/hostedtoolcache/node/12.19.0/x64/bin/node --version
2020-11-05T10:30:41.5266170Z v12.19.0
2020-11-05T10:30:41.5287980Z [command]/opt/hostedtoolcache/node/12.19.0/x64/bin/npm --version
2020-11-05T10:30:43.3027296Z 6.14.8
2020-11-05T10:30:43.3191676Z ##[group]Run npm i
2020-11-05T10:30:43.3191941Z �[36;1mnpm i�[0m
2020-11-05T10:30:43.3227948Z shell: /bin/bash -e {0}
2020-11-05T10:30:43.3228215Z ##[endgroup]
2020-11-05T10:30:45.9527911Z npm WARN journal@1.0.0 No description
2020-11-05T10:30:45.9528896Z 
2020-11-05T10:30:45.9538607Z added 10 packages from 6 contributors and audited 10 packages in 0.594s
2020-11-05T10:30:45.9596838Z found 0 vulnerabilities
2020-11-05T10:30:45.9597395Z 
2020-11-05T10:30:45.9770592Z ##[group]Run peaceiris/actions-hugo@v2
2020-11-05T10:30:45.9770989Z with:
2020-11-05T10:30:45.9771294Z   hugo-version: 0.77.0
2020-11-05T10:30:45.9771607Z   extended: true
2020-11-05T10:30:45.9771908Z ##[endgroup]
2020-11-05T10:30:46.0262194Z Hugo version: 0.77.0
2020-11-05T10:30:47.6304742Z [command]/bin/tar xz --warning=no-unknown-keyword -C /home/runner/actions_hugo/_temp -f /home/runner/work/_temp/df096157-d546-41ac-a0ec-558699ed75f3
2020-11-05T10:30:48.0095382Z [command]/home/runner/actions_hugo/bin/hugo version
2020-11-05T10:30:48.0373958Z Hugo Static Site Generator v0.77.0-EF290125/extended linux/amd64 BuildDate: 2020-10-30T10:21:36Z
2020-11-05T10:30:48.0473771Z ##[group]Run ls -l
2020-11-05T10:30:48.0474129Z �[36;1mls -l�[0m
2020-11-05T10:30:48.0513211Z shell: /bin/bash -e {0}
2020-11-05T10:30:48.0513530Z ##[endgroup]
2020-11-05T10:30:48.0600497Z total 56
2020-11-05T10:30:48.0601605Z -rw-r--r--  1 runner docker 1067 Nov  5 10:30 LICENSE
2020-11-05T10:30:48.0602409Z drwxr-xr-x  2 runner docker 4096 Nov  5 10:30 archetypes
2020-11-05T10:30:48.0603064Z drwxr-xr-x  3 runner docker 4096 Nov  5 10:30 assets
2020-11-05T10:30:48.0603659Z drwxr-xr-x  2 runner docker 4096 Nov  5 10:30 bin
2020-11-05T10:30:48.0604278Z -rw-r--r--  1 runner docker  332 Nov  5 10:30 config.toml
2020-11-05T10:30:48.0604903Z drwxr-xr-x  7 runner docker 4096 Nov  5 10:30 content
2020-11-05T10:30:48.0605614Z drwxr-xr-x  5 runner docker 4096 Nov  5 10:30 layouts
2020-11-05T10:30:48.0606191Z -rw-r--r--  1 runner docker  407 Nov  5 10:30 lighthouserc.js
2020-11-05T10:30:48.0606774Z -rw-r--r--  1 runner docker  144 Nov  5 10:30 netlify.toml
2020-11-05T10:30:48.0607535Z drwxr-xr-x 13 runner docker 4096 Nov  5 10:30 node_modules
2020-11-05T10:30:48.0608234Z -rw-r--r--  1 runner docker 2744 Nov  5 10:30 package-lock.json
2020-11-05T10:30:48.0608915Z -rw-r--r--  1 runner docker  503 Nov  5 10:30 package.json
2020-11-05T10:30:48.0609539Z drwxr-xr-x  3 runner docker 4096 Nov  5 10:30 static
2020-11-05T10:30:48.0610147Z drwxr-xr-x  3 runner docker 4096 Nov  5 10:30 themes
2020-11-05T10:30:48.0641164Z ##[group]Run hugo
2020-11-05T10:30:48.0641440Z �[36;1mhugo�[0m
2020-11-05T10:30:48.0673341Z shell: /bin/bash -e {0}
2020-11-05T10:30:48.0673622Z ##[endgroup]
2020-11-05T10:30:48.1106334Z Start building sites … 
2020-11-05T10:38:03.9154592Z ##[error]The operation was canceled.
2020-11-05T10:38:03.9239513Z Post job cleanup.
2020-11-05T10:38:04.0414758Z [command]/usr/bin/git version
2020-11-05T10:38:04.0501892Z git version 2.29.0
2020-11-05T10:38:04.0535345Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-11-05T10:38:04.0578942Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-11-05T10:38:04.0856631Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-11-05T10:38:04.0901089Z http.https://github.com/.extraheader
2020-11-05T10:38:04.0910020Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-11-05T10:38:04.0958195Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-11-05T10:38:04.1301564Z Cleaning up orphan processes
2020-11-05T10:38:04.1486648Z Terminate orphan process: pid (2973) (hugo)
@guybowden guybowden added the support User support label Nov 5, 2020
@peaceiris
Copy link
Owner

I have no idea with the log only. Can you show me your Hugo project or create a small set of repository for reproducing?

@guybowden
Copy link
Author

Sure, it's just a personal blog site - have invited you as a collaborator

@peaceiris
Copy link
Owner

peaceiris commented Nov 5, 2020

I tried to build it locally with Hugo v0.77.0 and v0.78.1 on macOS. Yes, It looks working well. That's odd. I do not still know why the workflow sometimes hang-ups on the GitHub Actions runner only.

@Gesrua
Copy link

Gesrua commented Feb 4, 2021

I have the same issue. In repo https://github.com/amaki-aria/amaki-aria.github.io
Actions:
https://github.com/amaki-aria/amaki-aria.github.io/actions/runs/537193486 , https://github.com/amaki-aria/amaki-aria.github.io/actions/runs/537281604
I triggered the workflow 5 times, and I have the issue for 3 times(I re-run the first action, so it's green now).
I switched Hugo from 0.79.1 to 0.80.0, it still occurred.

Log:

2021-02-04T13:06:29.4000397Z Hugo version: 0.79.1
2021-02-04T13:06:30.4056817Z [command]/bin/tar xz --warning=no-unknown-keyword -C /home/runner/actions_hugo/_temp -f /home/runner/work/_temp/cb24b46e-9690-47ec-a326-3732db3aa6f7
2021-02-04T13:06:30.8278988Z [command]/home/runner/actions_hugo/bin/hugo version
2021-02-04T13:06:30.8610240Z Hugo Static Site Generator v0.79.1-EDB9248D linux/amd64 BuildDate: 2020-12-19T15:42:17Z
2021-02-04T13:06:30.8786513Z ##[group]Run hugo --minify
2021-02-04T13:06:30.8787043Z �[36;1mhugo --minify�[0m
2021-02-04T13:06:30.8831273Z shell: /bin/bash -e {0}
2021-02-04T13:06:30.8831711Z ##[endgroup]
2021-02-04T13:06:30.9288177Z Start building sites … 
2021-02-04T13:40:44.6778738Z ##[error]The operation was canceled.
2021-02-04T13:40:44.6899359Z Post job cleanup.

peaceiris added a commit to peaceiris/investigate-hugo-hanging that referenced this issue Feb 5, 2021
peaceiris added a commit to peaceiris/investigate-hugo-hanging that referenced this issue Feb 5, 2021
@peaceiris
Copy link
Owner

peaceiris commented Feb 5, 2021

@Gesrua I tested some times with your project and found that runs-on: macos-latest works well. I still cannot figure out the reason for the Hugo hanging on Ubuntu.

- runs-on: ubuntu-18.04
+ runs-on: macos-latest

Log on Ubuntu 18.04

hugo --minify --debug --path-warnings --verboseLog
INFO 2021/02/05 07:27:46 Using config file: 
Start building sites … 
INFO 2021/02/05 07:27:46 syncing static files to /home/runner/work/investigate-hugo-hanging/investigate-hugo-hanging/public/
Error: The operation was canceled.

@Gesrua
Copy link

Gesrua commented Feb 5, 2021

Thanks!

@peaceiris
Copy link
Owner

peaceiris commented Feb 9, 2021

@peaceiris
Copy link
Owner

I tested container.image: 'ubuntu:18.04'. It was also hanged up.

jobs:
  deploy:
    runs-on: ubuntu-18.04
    container:
      image: 'ubuntu:18.04'
    steps:

@peaceiris
Copy link
Owner

@Gesrua I removed images, CSS, JavaScript, and HTML files from your content directory, then built it some times with a small set. It works well. This problem is related to user content, I think.

@peaceiris peaceiris pinned this issue Apr 16, 2021
@SMUsamaShah
Copy link

SMUsamaShah commented Apr 17, 2021

https://github.com/AbdulRafayZaidi/AbdulRafayZaidi.github.io/runs/2337541258?check_suite_focus=true

For me it happens randomly. I added --debug to investigate but it worked. And after that it failed. Did a rerun and it worked again. It's pretty random.

On my windows machine I can run the serve locally just fine.

@peaceiris
Copy link
Owner

Today, we cannot identify the cause yet. To save the free minutes on a private repository, we can add timeout-minutes: 2 to a job.

@SMUsamaShah
Copy link

@peaceiris This is a weird behaviour on Hugo's part. See gohugoio/hugo#8166 (comment)

@huabin
Copy link

huabin commented Jul 27, 2021

I meet the same issue, actions-hugo is not working properly suddenly, my .yml code

# This is a basic workflow to help you get started with Actions

name: GitHub Pages

# Controls when the action will run. 
on:
  # Triggers the workflow on push or pull request events but only for the master branch
  push:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "deploy"
  deploy:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it

      - name: Checkout
        uses: actions/checkout@v2.3.4

      - name: Hugo setup
        uses: peaceiris/actions-hugo@v2.5.0

      - name: Build
        run: hugo --minify

the error I got

Run hugo --minify
  hugo --minify
  shell: /usr/bin/bash -e {0}
Start building sites … 
hugo v0.86.0-41C6C52E linux/amd64 BuildDate=2021-07-21T09:53:14Z VendorInfo=gohugoio
Error: The operation was canceled.

any ideas?

@peaceiris
Copy link
Owner

News: gohugoio/hugo#8166 (comment)

@peaceiris
Copy link
Owner

Closed by Release v0.91.2 · gohugoio/hugo

@peaceiris peaceiris added the resolved resolved issue label Dec 24, 2021
@github-actions
Copy link

This issue has been LOCKED because of it being resolved!

The issue has been fixed and is therefore considered resolved.
If you still encounter this or it has changed, open a new issue instead of responding to solved ones.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolved resolved issue support User support
Projects
None yet
Development

No branches or pull requests

5 participants