You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(cpus.some((c) => {
console.log(c.speed, cpu.speed)
return c.model === cpu.model && c.speed === cpu.speed;
}))
at /usr/local/google/home/yangguo/node/test/common/report.js:111:5
at Array.forEach (<anonymous>)
at _validateContent (/usr/local/google/home/yangguo/node/test/common/report.js:103:15)
at validateContent (/usr/local/google/home/yangguo/node/test/common/report.js:40:5)
at Object.validate (/usr/local/google/home/yangguo/node/test/common/report.js:27:3)
at ChildProcess.<anonymous> (/usr/local/google/home/yangguo/node/test/report/test-report-fatal-error.js:36:12)
at ChildProcess.<anonymous> (/usr/local/google/home/yangguo/node/test/common/index.js:371:15)
at ChildProcess.emit (events.js:203:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
The reason is simple: when the CPU governor is enabled, the clock speed is variable. The expected speed comes from require('os').cpus(), which may have a different speed than when the report was collected.
The text was updated successfully, but these errors were encountered:
The reason is simple: when the CPU governor is enabled, the clock speed is variable. The expected speed comes from
require('os').cpus()
, which may have a different speed than when the report was collected.The text was updated successfully, but these errors were encountered: