Pupating beetle?

Pupating beetle?

Observation - Pupating beetle?. Description: Sooty black/dark brown, pale buff stripe on sides. 7mm. Attached to wallflower petal.

Sooty black/dark brown, pale buff stripe on sides. 7mm.
Attached to wallflower petal.