CircleCI-Public / android-orb

An orb for working with Android on CircleCI
https://circleci.com/developer/orbs/orb/circleci/android
MIT License
41 stars 27 forks source link

cgroup changed for latest orb version? #83

Closed mpierucci closed 1 year ago

mpierucci commented 1 year ago

Orb version

android@2.3.0

What happened

When upgraded from 2.1.2 to 2.3.0, started seeing the following error:

cat: /sys/fs/cgroup/memory/memory.max_usage_in_bytes: No such file or directory

for my command


          name: Log memory usage
          command: cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes | awk -v var=" GB" '{printf $1/1000000000; printf var}'

Link

Expected behavior

Either keep working or documentation where cgroups changes is visibe?

ryanbourdais commented 1 year ago

Hi @mpierucci it seems that this error does not pertain to an orb command, did you change anything else when upgrading?

mpierucci commented 1 year ago

Hi @ryanbourdais

Yes, I also updated the ag from the android/android-machine executor from 2021.10.1 to 2023.07.1. Could it be related to that?

ryanbourdais commented 1 year ago

@mpierucci there have been alot of changes to the machine image in that time, I can't think of anything directly that would have changed this but you can create a support ticket for help with this issue.