Closed MatrixAI-Bot closed 2 years ago
Pipeline Attempt on 592699755 for 534b2c2a1c5ab77c5af30af95626124b08a4f41d
https://gitlab.com/MatrixAI/open-source/js-logger/-/pipelines/592699755
Currently there's a failure on windows: https://gitlab.com/MatrixAI/open-source/js-logger/-/jobs/2748280466.
[Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\GITLAB~1\AppData\Local\Temp\logger_handlers-GtJEbz'] {
errno: -4051,
code: 'ENOTEMPTY',
syscall: 'rmdir',
path: 'C:\\Users\\GITLAB~1\\AppData\\Local\\Temp\\logger_handlers-GtJEbz'
}
It's possible that fs.rm
with recursive doesn't work on windows.
Pipeline Attempt on 593021978 for e2985dd6d851b1d83d8c8c98cbdf260b7abc8ac5
https://gitlab.com/MatrixAI/open-source/js-logger/-/pipelines/593021978
Pipeline Attempt on 593035381 for 42829046c9ab2a4a8933a7d0a2868ca135627608
https://gitlab.com/MatrixAI/open-source/js-logger/-/pipelines/593035381
Pipeline Attempt on 593035969 for 8a1713a052c240d9277d6f881406587e4578a4b5
https://gitlab.com/MatrixAI/open-source/js-logger/-/pipelines/593035969
Pipeline Succeeded on 593035969 for 8a1713a052c240d9277d6f881406587e4578a4b5
https://gitlab.com/MatrixAI/open-source/js-logger/-/pipelines/593035969
The windows problem is strange, but it fixed after I both forced the deletion and also ensured that I closed the standard stream. Windows does require standard streams to be closed prior to deleting the directory, but on matrix-win-1
, it was a EPERM
error not ENOTEMPTY
. At any case it's passing now...
This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.