Group membership is re-read on login. `groups` seem to report the groups you are in according to `/etc/group` and does not reflect membership of groups in the current session.
Use the command `id -Gn` to show the groups that you are currently an active member of. Solution: relogin to apply the group changes.