Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

sfdx sfpowerscripts:orchestrator:prepare shows errors in GitHub-Action #955

Closed
Schuchie opened this issue Apr 27, 2022 · 3 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@Schuchie
Copy link
Contributor

Describe the bug
We used your GitHub-Action template and updated to the newest version of the CI (April-Update). I just noticed that the sfdx sfpowerscripts:orchestrator:prepare command throws errors for the logging.

To Reproduce
Steps to reproduce the behavior:

  • Setup the GitHub Dx@Scale-Template and run the Prepare-Pool-Action
  • The following command should show errors in the log: sfdx sfpowerscripts:orchestrator:prepare

Expected behavior
No errors appear

Screenshots

Installing Package Dependencies of this repo in SO4
Installing Package Dependencies of this repo in SO3
Installing Package Dependencies of this repo in SO1
Installing Package Dependencies of this repo in SO5
Installing Package Dependencies of this repo in SO2
Successfully completed Installing Package Dependencies of this repo in SO5
Deploying all packages in the repo to  SO5
Successfully completed Installing Package Dependencies of this repo in SO3
Deploying all packages in the repo to  SO3
Successfully completed Installing Package Dependencies of this repo in SO1
Deploying all packages in the repo to  SO1
Successfully completed Installing Package Dependencies of this repo in SO4
Deploying all packages in the repo to  SO4
Successfully completed Installing Package Dependencies of this repo in SO2
Deploying all packages in the repo to  SO2
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
[Error: ENOENT: no such file or directory, rename '/github/home/.sfdx/sfdx.log' -> '/github/home/.sfdx/sfdx.log.0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'rename',
  path: '/github/home/.sfdx/sfdx.log',
  dest: '/github/home/.sfdx/sfdx.log.0'
}
-----------------------------------------------------------------------------------------------------------
Provisioned {5}  scratchorgs out of 5 requested with 0 failed in 01:00:01 
----------------------------------------------------------------------------------------------------------

Platform Details (please complete the following information):

  • OS: GitHub-Action -> ghcr.io/dxatscale/sfpowerscripts
  • Version: sfpowerscripts -- The DX@Scale CI/CD Orchestrator -Version:13.0.14 -Release:April 22
  • Salesforce CLI(sfdx cli) Version: 7.145.0
  • CI Platform: GitHub-Action

Additional context
Azlam Salam in Slack: "yeah have seen it , looks like a log rotation in the core libs.. seems they have a patch coming up"

@github-actions github-actions bot added the analysis To be decided on how to solution/fix label Apr 27, 2022
@azlam-abdulsalam
Copy link
Contributor

@Schuchie Is there any impacts to the functionality?

@Schuchie
Copy link
Contributor Author

@azlam-abdulsalam the jobs still runs and the scratch org still gets created. So I would assume it does not have any impact on the functionality itself

@azlam-abdulsalam azlam-abdulsalam added bug Something isn't working and removed analysis To be decided on how to solution/fix labels May 5, 2022
@azlam-abdulsalam azlam-abdulsalam added this to the Release - May 2022 milestone May 5, 2022
@azlam-abdulsalam azlam-abdulsalam self-assigned this May 5, 2022
@azlam-abdulsalam
Copy link
Contributor

Update to latest version of @salesforce/core (2.36.3) which has fixed this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants