We investigate a one-dimensional open Bose-Einstein condensate with attractive interaction,by considering the effect of feeding from nonequilibrium thermal cloud and applying the time-periodic inverted-harmonic potential.Using the direct perturbation method and the exact shock wave solution of the stationary Gross-Pitaevskii equation,we obtain the chaotic perturbed solution and the Melnikov chaotic regions.Based on the analytical and the numerical methods,the influence of the feeding strength on the chaotic motion is revealed.It is shown that the chaotic regions could be enlarged by reducing the feeding strength and the increase of feeding strength plays a role in suppressing chaos.In the case of "nonpropagated" shock wave with fixed boundary,the number of condensed atoms increases faster as the feeding strength increases.However,for the free boundary the metastable shock wave with fixed front density oscillates its front position and atomic number aperiodically,and their amplitudes decay with the increase of the feeding strength.